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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007114/0.0007113, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007529/0.0007529, allocations: 177.2 kB / 16.58 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.175/1.175, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6052/0.6052, allocations: 113.7 MB / 405.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002694/0.0002698, allocations: 11.98 kB / 493.2 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1198, allocations: 77.11 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.001876/0.1217, allocations: 1.67 MB / 0.5585 GB, free: 9.984 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008057/0.1225, allocations: 0.5185 MB / 0.559 GB, free: 9.461 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.675e-05/0.1226, allocations: 4 kB / 0.5591 GB, free: 9.457 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.061e-05/0.1227, allocations: 15.84 kB / 0.5591 GB, free: 9.441 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.025e-05/0.1228, allocations: 23.8 kB / 0.5591 GB, free: 9.418 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.123, allocations: 55.86 kB / 0.5591 GB, free: 9.363 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.1232, allocations: 200 kB / 0.5593 GB, free: 9.168 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.1234, allocations: 90.09 kB / 0.5594 GB, free: 9.082 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.996e-05/0.1235, allocations: 63.66 kB / 0.5595 GB, free: 9.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.1236, allocations: 71.61 kB / 0.5595 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.1236, allocations: 4 kB / 0.5596 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.647e-05/0.1237, allocations: 20 kB / 0.5596 GB, free: 8.926 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.008e-05/0.1237, allocations: 31.84 kB / 0.5596 GB, free: 8.895 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.1238, allocations: 53.58 kB / 0.5597 GB, free: 8.836 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.124, allocations: 195.8 kB / 0.5598 GB, free: 8.645 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.124, allocations: 0 / 0.5598 GB, free: 8.645 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.124, allocations: 0 / 0.5598 GB, free: 8.645 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.124, allocations: 4 kB / 0.5598 GB, free: 8.641 MB / 430.1 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.0006384/0.1247, allocations: 0.4907 MB / 0.5603 GB, free: 8.102 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.1247, allocations: 8.031 kB / 0.5603 GB, free: 8.094 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.847e-05/0.1248, allocations: 50.55 kB / 0.5604 GB, free: 8.035 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.32e-05/0.1248, allocations: 23.72 kB / 0.5604 GB, free: 8.012 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.1251, allocations: 263.2 kB / 0.5607 GB, free: 7.711 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.1251, allocations: 12 kB / 0.5607 GB, free: 7.699 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.1252, allocations: 19.95 kB / 0.5607 GB, free: 7.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003597/0.1255, allocations: 225.5 kB / 0.5609 GB, free: 7.441 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.1255, allocations: 0 / 0.5609 GB, free: 7.441 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.1256, allocations: 11.94 kB / 0.5609 GB, free: 7.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1256, allocations: 4 kB / 0.5609 GB, free: 7.426 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002819/0.1259, allocations: 155.6 kB / 0.5611 GB, free: 7.273 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008177/0.1267, allocations: 0.6013 MB / 0.5616 GB, free: 6.621 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00031/0.127, allocations: 122.7 kB / 0.5618 GB, free: 6.492 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.1271, allocations: 56.91 kB / 0.5618 GB, free: 6.434 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.1272, allocations: 4 kB / 0.5618 GB, free: 6.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.1272, allocations: 34.55 kB / 0.5619 GB, free: 6.387 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.1272, allocations: 0 / 0.5619 GB, free: 6.387 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004108/0.1276, allocations: 181.6 kB / 0.562 GB, free: 6.203 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.1277, allocations: 128.5 kB / 0.5622 GB, free: 6.047 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.1279, allocations: 218.9 kB / 0.5624 GB, free: 5.824 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.1279, allocations: 29.69 kB / 0.5624 GB, free: 5.789 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.279e-05/0.128, allocations: 148.2 kB / 0.5625 GB, free: 5.641 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.401e-05/0.128, allocations: 27.56 kB / 0.5626 GB, free: 5.613 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-06/0.128, allocations: 4 kB / 0.5626 GB, free: 5.609 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1282, allocations: 330.8 kB / 0.5629 GB, free: 5.277 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.1283, allocations: 51.98 kB / 0.5629 GB, free: 5.227 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.1284, allocations: 96.2 kB / 0.563 GB, free: 5.117 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.1285, allocations: 43.98 kB / 0.5631 GB, free: 5.074 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1285, allocations: 0 / 0.5631 GB, free: 5.074 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002818/0.1288, allocations: 165.4 kB / 0.5632 GB, free: 4.906 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.1288, allocations: 7.938 kB / 0.5632 GB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.1288, allocations: 4 kB / 0.5632 GB, free: 4.895 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.1289, allocations: 0 / 0.5632 GB, free: 4.895 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.846e-05/0.129, allocations: 19.98 kB / 0.5632 GB, free: 4.875 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.129, allocations: 0 / 0.5632 GB, free: 4.875 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.1291, allocations: 35.88 kB / 0.5633 GB, free: 4.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.1291, allocations: 12.03 kB / 0.5633 GB, free: 4.828 MB / 430.1 MB 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.0001114/0.1293, allocations: 140.2 kB / 0.5634 GB, free: 4.684 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/0.1293, allocations: 15.81 kB / 0.5634 GB, free: 4.668 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003035/0.1296, allocations: 163 kB / 0.5636 GB, free: 4.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1296, allocations: 0 / 0.5636 GB, free: 4.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1296, allocations: 4 kB / 0.5636 GB, free: 4.496 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1296, allocations: 3.938 kB / 0.5636 GB, free: 4.492 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.1299, allocations: 273.4 kB / 0.5639 GB, free: 4.176 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1299, allocations: 4 kB / 0.5639 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.012e-05/0.13, allocations: 15.98 kB / 0.5639 GB, free: 4.156 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.13, allocations: 0 / 0.5639 GB, free: 4.156 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.13, allocations: 4 kB / 0.5639 GB, free: 4.152 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.13, allocations: 0 / 0.5639 GB, free: 4.152 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.13, allocations: 4 kB / 0.5639 GB, free: 4.148 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.1303, allocations: 239.2 kB / 0.5641 GB, free: 3.898 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.449e-05/0.1304, allocations: 96.83 kB / 0.5642 GB, free: 3.785 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.1304, allocations: 4 kB / 0.5642 GB, free: 3.781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.1306, allocations: 31.97 kB / 0.5642 GB, free: 3.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.398e-05/0.1306, allocations: 23.95 kB / 0.5643 GB, free: 3.727 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.1307, allocations: 3.984 kB / 0.5643 GB, free: 3.723 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001151/0.1308, allocations: 152.7 kB / 0.5644 GB, free: 3.574 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1308, allocations: 8 kB / 0.5644 GB, free: 3.566 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.131, allocations: 35.94 kB / 0.5645 GB, free: 3.531 MB / 430.1 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.0005721/0.1316, allocations: 0.7864 MB / 0.5652 GB, free: 2.715 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002614/0.1319, allocations: 115.9 kB / 0.5653 GB, free: 2.602 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.1319, allocations: 0 / 0.5653 GB, free: 2.602 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.132, allocations: 67.91 kB / 0.5654 GB, free: 2.535 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.1323, allocations: 16 kB / 0.5654 GB, free: 2.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.1339, allocations: 1.086 MB / 0.5665 GB, free: 1.387 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.1341, allocations: 0.7283 MB / 0.5672 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.051e-05/0.1342, allocations: 17.42 kB / 0.5672 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.1343, allocations: 67.41 kB / 0.5673 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1343, allocations: 0 / 0.5673 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01296/0.1473, allocations: 3.71 MB / 0.5709 GB, free: 13.06 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/0.1475, allocations: 218.2 kB / 0.5711 GB, free: 12.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.527/1.675, allocations: 4.062 kB / 0.5711 GB, free: 12.82 MB / 446.1 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) Environment - environmentSimulation: