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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 119 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 221.2 kB / 23.01 MB, free: 5.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.406/1.406, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9336/0.9336, allocations: 150 MB / 463.2 MB, free: 10.44 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 69.56 kB / 0.6413 GB, free: 10.33 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1716, allocations: 89.17 MB / 0.7284 GB, free: 1.211 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003418/0.175, allocations: 2.075 MB / 0.7304 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.1761, allocations: 0.6584 MB / 0.731 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.551e-05/0.1762, allocations: 4 kB / 0.731 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.1763, allocations: 27.66 kB / 0.7311 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.033e-05/0.1764, allocations: 35.62 kB / 0.7311 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.1767, allocations: 103.8 kB / 0.7312 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002876/0.177, allocations: 236 kB / 0.7314 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002035/0.1772, allocations: 82.02 kB / 0.7315 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001995/0.1774, allocations: 99.64 kB / 0.7316 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.1776, allocations: 103.5 kB / 0.7317 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.706e-05/0.1776, allocations: 24 kB / 0.7317 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.926e-05/0.1777, allocations: 40 kB / 0.7318 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.807e-05/0.1778, allocations: 55.78 kB / 0.7318 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.1779, allocations: 111.4 kB / 0.7319 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003471/0.1782, allocations: 287 kB / 0.7322 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1782, allocations: 0 / 0.7322 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1782, allocations: 0 / 0.7322 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.1782, allocations: 4 kB / 0.7322 GB, free: 13.27 MB / 0.5606 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.0007395/0.179, allocations: 461.2 kB / 0.7326 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.179, allocations: 12.03 kB / 0.7326 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.001e-05/0.1791, allocations: 54.73 kB / 0.7327 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002652/0.1793, allocations: 44.73 kB / 0.7327 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.1797, allocations: 203.2 kB / 0.7329 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.1797, allocations: 20.11 kB / 0.7329 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.1797, allocations: 20 kB / 0.733 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003877/0.1801, allocations: 224.7 kB / 0.7332 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1801, allocations: 0 / 0.7332 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.1801, allocations: 8 kB / 0.7332 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1802, allocations: 4 kB / 0.7332 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.1805, allocations: 143.7 kB / 0.7333 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009199/0.1814, allocations: 0.5535 MB / 0.7339 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000334/0.1817, allocations: 114.7 kB / 0.734 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.1818, allocations: 52.78 kB / 0.734 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.1818, allocations: 0 / 0.734 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.1819, allocations: 42.62 kB / 0.7341 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.1819, allocations: 0 / 0.7341 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0004242/0.1823, allocations: 169.5 kB / 0.7342 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.566e-05/0.1824, allocations: 128.5 kB / 0.7344 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.1826, allocations: 219.1 kB / 0.7346 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.1826, allocations: 29.7 kB / 0.7346 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.1827, allocations: 152.3 kB / 0.7347 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.1828, allocations: 35.73 kB / 0.7348 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.163e-05/0.1828, allocations: 33.7 kB / 0.7348 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.183, allocations: 330.8 kB / 0.7351 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.1831, allocations: 43.98 kB / 0.7352 GB, free: 10 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.1832, allocations: 88.27 kB / 0.7352 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.1834, allocations: 85.62 kB / 0.7353 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1834, allocations: 0 / 0.7353 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002927/0.1837, allocations: 149.6 kB / 0.7355 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.1837, allocations: 11.92 kB / 0.7355 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1837, allocations: 0 / 0.7355 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1837, allocations: 4 kB / 0.7355 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.1838, allocations: 23.92 kB / 0.7355 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.1839, allocations: 0 / 0.7355 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.184, allocations: 27.94 kB / 0.7355 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.184, allocations: 0 / 0.7355 GB, free: 9.594 MB / 0.5606 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 (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.0001365/0.1841, allocations: 153.8 kB / 0.7357 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/0.1842, allocations: 27.73 kB / 0.7357 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.292e-05/0.1842, allocations: 17.41 kB / 0.7357 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1842, allocations: 0 / 0.7357 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1842, allocations: 7.922 kB / 0.7357 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1842, allocations: 0 / 0.7357 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/0.1845, allocations: 248.6 kB / 0.736 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.1845, allocations: 0 / 0.736 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.377e-05/0.1846, allocations: 12.36 kB / 0.736 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.1846, allocations: 11.94 kB / 0.736 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.1846, allocations: 48 / 0.736 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1846, allocations: 0 / 0.736 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1846, allocations: 7.922 kB / 0.736 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.1849, allocations: 223.3 kB / 0.7362 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.152e-05/0.185, allocations: 23.8 kB / 0.7362 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.185, allocations: 12 kB / 0.7362 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.1851, allocations: 19.97 kB / 0.7363 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.948e-05/0.1852, allocations: 23.95 kB / 0.7363 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.1852, allocations: 4 kB / 0.7363 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00013/0.1853, allocations: 152.7 kB / 0.7364 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1853, allocations: 4 kB / 0.7364 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002506/0.1856, allocations: 35.89 kB / 0.7365 GB, free: 8.566 MB / 0.5606 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 (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.0006039/0.1862, allocations: 0.767 MB / 0.7372 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002856/0.1865, allocations: 103.9 kB / 0.7373 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1865, allocations: 3.938 kB / 0.7373 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.1866, allocations: 48.05 kB / 0.7374 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.1869, allocations: 30.47 kB / 0.7374 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/0.1892, allocations: 2.007 MB / 0.7394 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.1896, allocations: 0.7281 MB / 0.7401 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.776e-05/0.1896, allocations: 25.41 kB / 0.7401 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.1898, allocations: 63.41 kB / 0.7402 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.1898, allocations: 0 / 0.7402 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03127/0.221, allocations: 4.135 MB / 0.7442 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.01, allocations: 0.9375 kB / 0.7442 GB, free: 0.7148 MB / 0.5606 GB " [Timeout remaining time 649] (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 --stepSize=0.002 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.6475607289467] Failed to read output from testmodel.py, exit status != 0: 11.112744544865564 11.14052151 10.957512661 Calling exit ...