Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008097/0.0008097, allocations: 91.77 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008871/0.0008871, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9753/0.9753, allocations: 143.4 MB / 434.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003138/0.0003138, allocations: 8 kB / 0.5161 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1725, allocations: 83.42 MB / 0.5976 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00238/0.1749, allocations: 1.676 MB / 0.5992 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.176, allocations: 0.5263 MB / 0.5997 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.1761, allocations: 0 / 0.5997 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.1763, allocations: 15.86 kB / 0.5997 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.1764, allocations: 31.72 kB / 0.5998 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.1767, allocations: 55.94 kB / 0.5998 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.177, allocations: 200 kB / 0.6 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.1772, allocations: 86.11 kB / 0.6001 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.1773, allocations: 59.66 kB / 0.6001 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.1774, allocations: 75.61 kB / 0.6002 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.1775, allocations: 8 kB / 0.6002 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.091e-05/0.1775, allocations: 11.98 kB / 0.6002 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.397e-05/0.1776, allocations: 31.8 kB / 0.6003 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.834e-05/0.1776, allocations: 53.64 kB / 0.6003 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.1779, allocations: 203.7 kB / 0.6005 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1779, allocations: 8 kB / 0.6005 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1779, allocations: 0 / 0.6005 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.1779, allocations: 0 / 0.6005 GB, free: 4.602 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007232/0.1786, allocations: 494.5 kB / 0.601 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.1787, allocations: 11.97 kB / 0.601 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001355/0.1788, allocations: 54.55 kB / 0.601 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.94e-05/0.1789, allocations: 31.61 kB / 0.6011 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.1792, allocations: 260 kB / 0.6013 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.1793, allocations: 12 kB / 0.6013 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.1793, allocations: 16 kB / 0.6013 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004218/0.1797, allocations: 221.5 kB / 0.6016 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1797, allocations: 0 / 0.6016 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.1798, allocations: 11.94 kB / 0.6016 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.1798, allocations: 8 kB / 0.6016 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003154/0.1801, allocations: 147.7 kB / 0.6017 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009459/0.1811, allocations: 0.6013 MB / 0.6023 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003469/0.1814, allocations: 134.7 kB / 0.6024 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.1816, allocations: 52.78 kB / 0.6025 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.291e-05/0.1816, allocations: 4 kB / 0.6025 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.1816, allocations: 34.56 kB / 0.6025 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.1816, allocations: 0 / 0.6025 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004677/0.1821, allocations: 181.6 kB / 0.6027 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.1822, allocations: 132.5 kB / 0.6028 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.1824, allocations: 211.2 kB / 0.603 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.1824, allocations: 33.7 kB / 0.6031 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.1825, allocations: 144.2 kB / 0.6032 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.1826, allocations: 31.55 kB / 0.6032 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.227e-06/0.1826, allocations: 8 kB / 0.6032 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1827, allocations: 326.8 kB / 0.6035 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.1829, allocations: 55.91 kB / 0.6036 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.183, allocations: 88.27 kB / 0.6037 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.1831, allocations: 39.98 kB / 0.6037 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1831, allocations: 0 / 0.6037 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003175/0.1835, allocations: 165.4 kB / 0.6039 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.1835, allocations: 8 kB / 0.6039 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1835, allocations: 0 / 0.6039 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1835, allocations: 0 / 0.6039 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.1836, allocations: 19.98 kB / 0.6039 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.1836, allocations: 3.984 kB / 0.6039 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.1838, allocations: 35.92 kB / 0.6039 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.1838, allocations: 4 kB / 0.6039 GB, free: 0.8047 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.temPro.hysHig.y,temPro.hysHig.y,$PRE.temPro.hysLow.y,temPro.hysLow.y,temPro.on.y,$PRE.temPro.hysdTConEva.y,temPro.hysdTConEva.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000142/0.184, allocations: 145.1 kB / 0.6041 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.306e-05/0.184, allocations: 23.77 kB / 0.6041 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000332/0.1844, allocations: 151 kB / 0.6042 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1844, allocations: 4.516 kB / 0.6043 GB, free: 488 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1844, allocations: 3.984 kB / 0.6043 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1844, allocations: 0 / 0.6043 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000274/0.1847, allocations: 277.4 kB / 0.6045 GB, free: 156 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1847, allocations: 3.984 kB / 0.6045 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.675e-05/0.1848, allocations: 27.94 kB / 0.6046 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.1848, allocations: 3.953 kB / 0.6046 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.1848, allocations: 3.984 kB / 0.6046 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.1848, allocations: 4 kB / 0.6046 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1848, allocations: 0 / 0.6046 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2932/0.478, allocations: 227.1 kB / 0.6048 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-05/0.4781, allocations: 94.05 kB / 0.6049 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.4781, allocations: 7.578 kB / 0.6049 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.4783, allocations: 29.77 kB / 0.6049 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.977e-05/0.4784, allocations: 25.95 kB / 0.6049 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.4785, allocations: 4.438 kB / 0.6049 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001219/0.4786, allocations: 149.5 kB / 0.6051 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4786, allocations: 0 / 0.6051 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000374/0.479, allocations: 40.7 kB / 0.6051 GB, free: 40.62 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (temPro.hysHig.y,temPro.hysLow.y,temPro.on.y,temPro.hysdTConEva.y) * Number of discrete states: 3 (temPro.hysdTConEva.y,temPro.hysLow.y,temPro.hysHig.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005085/0.4795, allocations: 0.7819 MB / 0.6059 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002849/0.4798, allocations: 116.7 kB / 0.606 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.4798, allocations: 2.594 kB / 0.606 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.4799, allocations: 55.83 kB / 0.606 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.4803, allocations: 29.5 kB / 0.6061 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.4818, allocations: 1.078 MB / 0.6071 GB, free: 39.49 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.482, allocations: 0.7292 MB / 0.6078 GB, free: 38.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.315e-05/0.482, allocations: 17.84 kB / 0.6079 GB, free: 38.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.4821, allocations: 64.03 kB / 0.6079 GB, free: 38.79 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.4822, allocations: 0 / 0.6079 GB, free: 38.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01379/0.4959, allocations: 3.735 MB / 0.6116 GB, free: 38.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001595/0.4962, allocations: 227.7 kB / 0.6118 GB, free: 38.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/2.3, allocations: 2.297 kB / 0.6118 GB, free: 38.39 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) Environment - environmentSimulation: