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.001156/0.001156, allocations: 103.9 kB / 16.4 MB, free: 6.492 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.001181/0.001181, allocations: 193.2 kB / 17.34 MB, free: 5.766 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.266/1.266, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7023/0.7023, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 67.98 kB / 0.5572 GB, free: 32.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1504, allocations: 76.18 MB / 0.6316 GB, free: 4.945 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003468/0.1539, allocations: 2.021 MB / 0.6336 GB, free: 2.902 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.1551, allocations: 0.5727 MB / 0.6341 GB, free: 2.324 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001649/0.1553, allocations: 4 kB / 0.6341 GB, free: 2.32 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.1554, allocations: 27.66 kB / 0.6342 GB, free: 2.293 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.416e-05/0.1555, allocations: 27.69 kB / 0.6342 GB, free: 2.266 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.1559, allocations: 83.83 kB / 0.6343 GB, free: 2.184 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.1561, allocations: 228 kB / 0.6345 GB, free: 1.961 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002524/0.1564, allocations: 107.6 kB / 0.6346 GB, free: 1.848 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.1565, allocations: 95.69 kB / 0.6347 GB, free: 1.754 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.1567, allocations: 103.5 kB / 0.6348 GB, free: 1.652 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.614e-05/0.1567, allocations: 24 kB / 0.6348 GB, free: 1.629 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.699e-05/0.1568, allocations: 28 kB / 0.6348 GB, free: 1.602 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.08e-05/0.1569, allocations: 59.77 kB / 0.6349 GB, free: 1.543 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.157, allocations: 103.5 kB / 0.635 GB, free: 1.441 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002967/0.1573, allocations: 281.8 kB / 0.6352 GB, free: 1.168 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1573, allocations: 0 / 0.6352 GB, free: 1.168 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1573, allocations: 0 / 0.6352 GB, free: 1.168 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.1573, allocations: 0 / 0.6352 GB, free: 1.168 MB / 478.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.0007308/0.158, allocations: 0.5228 MB / 0.6358 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1581, allocations: 8.031 kB / 0.6358 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.633e-05/0.1582, allocations: 54.67 kB / 0.6358 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.959e-05/0.1582, allocations: 24.66 kB / 0.6358 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.1585, allocations: 252.7 kB / 0.6361 GB, free: 220 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.1585, allocations: 12.38 kB / 0.6361 GB, free: 208 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.1586, allocations: 20.38 kB / 0.6361 GB, free: 188 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003635/0.1589, allocations: 232.6 kB / 0.6363 GB, free: 15.94 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1589, allocations: 0 / 0.6363 GB, free: 15.94 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.159, allocations: 11.98 kB / 0.6363 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.159, allocations: 4 kB / 0.6364 GB, free: 15.92 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002792/0.1593, allocations: 147.9 kB / 0.6365 GB, free: 15.78 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008242/0.1601, allocations: 0.5854 MB / 0.6371 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003333/0.1604, allocations: 122.7 kB / 0.6372 GB, free: 15.01 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.1606, allocations: 44.84 kB / 0.6372 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.529e-05/0.1606, allocations: 8 kB / 0.6372 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.1606, allocations: 30.56 kB / 0.6373 GB, free: 14.92 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.1606, allocations: 0 / 0.6373 GB, free: 14.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004234/0.1611, allocations: 177.5 kB / 0.6374 GB, free: 14.74 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.739e-05/0.1611, allocations: 132.5 kB / 0.6376 GB, free: 14.58 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.1613, allocations: 214.9 kB / 0.6378 GB, free: 14.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.1613, allocations: 29.69 kB / 0.6378 GB, free: 14.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.087e-05/0.1614, allocations: 144.2 kB / 0.6379 GB, free: 14.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.1615, allocations: 31.58 kB / 0.638 GB, free: 14.15 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.043e-05/0.1615, allocations: 37.61 kB / 0.638 GB, free: 14.11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1617, allocations: 334.8 kB / 0.6383 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.1618, allocations: 43.98 kB / 0.6384 GB, free: 13.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.1619, allocations: 88.2 kB / 0.6384 GB, free: 13.62 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.1621, allocations: 96.06 kB / 0.6385 GB, free: 13.53 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1621, allocations: 0 / 0.6385 GB, free: 13.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002715/0.1624, allocations: 157.4 kB / 0.6387 GB, free: 13.37 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.1624, allocations: 4 kB / 0.6387 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.1624, allocations: 4 kB / 0.6387 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1625, allocations: 7.938 kB / 0.6387 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.1626, allocations: 15.98 kB / 0.6387 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.1626, allocations: 0 / 0.6387 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.1627, allocations: 36.22 kB / 0.6387 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.1627, allocations: 8 kB / 0.6388 GB, free: 13.29 MB / 494.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 (temPro.hysdTConEva.y,$PRE.temPro.hysdTConEva.y,temPro.on.y,temPro.hysLow.y,$PRE.temPro.hysLow.y,temPro.hysHig.y,$PRE.temPro.hysHig.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.1629, allocations: 134.4 kB / 0.6389 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.1629, allocations: 15.81 kB / 0.6389 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000313/0.1632, allocations: 150.9 kB / 0.639 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.1632, allocations: 3.938 kB / 0.639 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1633, allocations: 4 kB / 0.639 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.1633, allocations: 4 kB / 0.6391 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.1635, allocations: 265.5 kB / 0.6393 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1635, allocations: 0 / 0.6393 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.142e-05/0.1636, allocations: 15.98 kB / 0.6393 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1636, allocations: 0 / 0.6393 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.1637, allocations: 4 kB / 0.6393 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.1637, allocations: 3.938 kB / 0.6393 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1637, allocations: 0 / 0.6393 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.164, allocations: 231.2 kB / 0.6395 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.842e-05/0.164, allocations: 92.92 kB / 0.6396 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.1641, allocations: 7.984 kB / 0.6396 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.1642, allocations: 23.92 kB / 0.6397 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.25e-05/0.1643, allocations: 23.95 kB / 0.6397 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.1643, allocations: 7.938 kB / 0.6397 GB, free: 12.22 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001237/0.1644, allocations: 156.5 kB / 0.6398 GB, free: 12.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1644, allocations: 0 / 0.6398 GB, free: 12.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.1647, allocations: 39.84 kB / 0.6399 GB, free: 12.03 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006625/0.1654, allocations: 0.7749 MB / 0.6406 GB, free: 11.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002942/0.1657, allocations: 107.9 kB / 0.6407 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1657, allocations: 0 / 0.6407 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.1658, allocations: 55.92 kB / 0.6408 GB, free: 11.07 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.1662, allocations: 26.17 kB / 0.6408 GB, free: 11.04 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.1683, allocations: 1.984 MB / 0.6428 GB, free: 8.988 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.1686, allocations: 0.7398 MB / 0.6435 GB, free: 8.223 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.07e-05/0.1687, allocations: 21.41 kB / 0.6435 GB, free: 8.203 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.1688, allocations: 67.41 kB / 0.6436 GB, free: 8.137 MB / 494.1 MB Notification: Performance of SimCode: time 4e-07/0.1688, allocations: 0 / 0.6436 GB, free: 8.137 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0209/0.1897, allocations: 4.067 MB / 0.6475 GB, free: 4.234 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.617/7.806, allocations: 15.78 kB / 0.6476 GB, free: 4.219 MB / 494.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/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)