Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 181.5 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4942/0.4942, allocations: 91.98 MB / 108.5 MB, free: 13.09 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 223.2 MB / 354.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 100.2 kB / 427.4 MB, free: 3.895 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.000327, allocations: 8 kB / 0.4983 GB, free: 42.13 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1585, allocations: 72.31 MB / 0.5689 GB, free: 1.766 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.497/0.6555, allocations: 104.5 MB / 0.671 GB, free: 15.8 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003313/0.6559, allocations: 95.81 kB / 0.6711 GB, free: 15.71 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01247/0.6684, allocations: 3.371 MB / 0.6744 GB, free: 12.34 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.806e-06/0.6685, allocations: 0 / 0.6744 GB, free: 12.34 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.726e-05/0.6685, allocations: 4 kB / 0.6744 GB, free: 12.34 MB / 474.7 MB 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.001105/0.6696, allocations: 0.4926 MB / 0.6749 GB, free: 11.8 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.6697, allocations: 11.97 kB / 0.6749 GB, free: 11.79 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001305/0.6698, allocations: 54.55 kB / 0.6749 GB, free: 11.72 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.6699, allocations: 27.72 kB / 0.675 GB, free: 11.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004199/0.6704, allocations: 239.4 kB / 0.6752 GB, free: 11.42 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.6704, allocations: 15.78 kB / 0.6752 GB, free: 11.4 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.915e-05/0.6705, allocations: 20 kB / 0.6752 GB, free: 11.38 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005902/0.6711, allocations: 220.8 kB / 0.6754 GB, free: 11.15 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.6711, allocations: 7.938 kB / 0.6754 GB, free: 11.14 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.173e-05/0.6712, allocations: 7.953 kB / 0.6755 GB, free: 11.13 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.6712, allocations: 7.984 kB / 0.6755 GB, free: 11.12 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004733/0.6717, allocations: 151.6 kB / 0.6756 GB, free: 10.98 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.673, allocations: 0.6014 MB / 0.6762 GB, free: 10.32 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004844/0.6736, allocations: 134.7 kB / 0.6763 GB, free: 10.18 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.373e-05/0.6736, allocations: 4 kB / 0.6763 GB, free: 10.18 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/0.6737, allocations: 30.56 kB / 0.6764 GB, free: 10.14 MB / 474.7 MB Notification: Performance of pre-optimization done (n=10): time 2.184e-06/0.6737, allocations: 4 kB / 0.6764 GB, free: 10.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006749/0.6744, allocations: 185.6 kB / 0.6765 GB, free: 9.949 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.6745, allocations: 132.5 kB / 0.6767 GB, free: 9.789 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/0.6748, allocations: 187.4 kB / 0.6768 GB, free: 9.602 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.335e-05/0.6749, allocations: 33.7 kB / 0.6769 GB, free: 9.562 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.675, allocations: 144.2 kB / 0.677 GB, free: 9.414 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.18e-05/0.6751, allocations: 31.64 kB / 0.677 GB, free: 9.383 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.049e-05/0.6751, allocations: 3.938 kB / 0.677 GB, free: 9.379 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.6753, allocations: 326.8 kB / 0.6774 GB, free: 9.051 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.6755, allocations: 55.97 kB / 0.6774 GB, free: 8.996 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.6757, allocations: 83.41 kB / 0.6775 GB, free: 8.902 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.6759, allocations: 47.94 kB / 0.6775 GB, free: 8.855 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.6759, allocations: 4 kB / 0.6775 GB, free: 8.852 MB / 474.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004557/0.6763, allocations: 153.5 kB / 0.6777 GB, free: 8.695 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.6764, allocations: 4 kB / 0.6777 GB, free: 8.691 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.6764, allocations: 384 / 0.6777 GB, free: 8.691 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.6764, allocations: 0 / 0.6777 GB, free: 8.691 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.6766, allocations: 23.92 kB / 0.6777 GB, free: 8.668 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/0.6766, allocations: 0 / 0.6777 GB, free: 8.668 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.6768, allocations: 51.75 kB / 0.6778 GB, free: 8.617 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/0.6769, allocations: 4 kB / 0.6778 GB, free: 8.613 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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.0001858/0.6771, allocations: 133.8 kB / 0.6779 GB, free: 8.473 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.751e-05/0.6772, allocations: 15.81 kB / 0.6779 GB, free: 8.457 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004709/0.6777, allocations: 163 kB / 0.6781 GB, free: 8.293 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.6777, allocations: 0 / 0.6781 GB, free: 8.293 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.6777, allocations: 0 / 0.6781 GB, free: 8.293 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.6777, allocations: 0 / 0.6781 GB, free: 8.293 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004085/0.6781, allocations: 277.5 kB / 0.6783 GB, free: 7.973 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.6781, allocations: 3.953 kB / 0.6783 GB, free: 7.969 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.6783, allocations: 23.92 kB / 0.6784 GB, free: 7.945 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.6783, allocations: 3.938 kB / 0.6784 GB, free: 7.941 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.6783, allocations: 4 kB / 0.6784 GB, free: 7.938 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.6783, allocations: 0 / 0.6784 GB, free: 7.938 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6783, allocations: 0 / 0.6784 GB, free: 7.938 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004691/0.6788, allocations: 243.2 kB / 0.6786 GB, free: 7.684 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.272e-05/0.6789, allocations: 96.88 kB / 0.6787 GB, free: 7.57 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.962e-05/0.679, allocations: 8 kB / 0.6787 GB, free: 7.562 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.6792, allocations: 31.97 kB / 0.6787 GB, free: 7.531 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.6794, allocations: 27.95 kB / 0.6787 GB, free: 7.504 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.6794, allocations: 4.031 kB / 0.6788 GB, free: 7.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002141/0.6796, allocations: 159.5 kB / 0.6789 GB, free: 7.344 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.6796, allocations: 0 / 0.6789 GB, free: 7.344 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004428/0.6801, allocations: 32 kB / 0.6789 GB, free: 7.312 MB / 474.7 MB 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.0009777/0.6811, allocations: 0.7943 MB / 0.6797 GB, free: 6.492 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004018/0.6815, allocations: 119.9 kB / 0.6798 GB, free: 6.375 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6815, allocations: 0 / 0.6798 GB, free: 6.375 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.6817, allocations: 59.92 kB / 0.6799 GB, free: 6.316 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.682, allocations: 20.42 kB / 0.6799 GB, free: 6.297 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.6841, allocations: 1.067 MB / 0.6809 GB, free: 5.18 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.6844, allocations: 0.7477 MB / 0.6817 GB, free: 4.406 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 8.879e-05/0.6845, allocations: 17.42 kB / 0.6817 GB, free: 4.391 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.6847, allocations: 59.41 kB / 0.6817 GB, free: 4.332 MB / 474.7 MB Notification: Performance of SimCode: time 4.21e-07/0.6847, allocations: 3.938 kB / 0.6818 GB, free: 4.328 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0172/0.7019, allocations: 3.757 MB / 0.6854 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/0.7021, allocations: 217.1 kB / 0.6856 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.824/2.526, allocations: 0 / 0.6856 GB, free: 0.5273 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)