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.001252/0.001252, allocations: 105 kB / 20.48 MB, free: 1.488 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.001347/0.001347, allocations: 215.5 kB / 23.79 MB, free: 4.703 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.402/1.402, allocations: 230.6 MB / 257.6 MB, free: 8.008 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.941/0.941, allocations: 150 MB / 464 MB, free: 10.53 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="cs",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.001952/0.001952, allocations: 71.66 kB / 0.642 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1711, allocations: 89.16 MB / 0.7291 GB, free: 1.305 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003588/0.1747, allocations: 2.078 MB / 0.7311 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.176, allocations: 0.6584 MB / 0.7318 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.226e-05/0.1761, allocations: 3.938 kB / 0.7318 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.1762, allocations: 23.73 kB / 0.7318 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.477e-05/0.1763, allocations: 39.59 kB / 0.7319 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.1766, allocations: 95.83 kB / 0.7319 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002552/0.1768, allocations: 228 kB / 0.7322 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001948/0.177, allocations: 92.31 kB / 0.7322 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.1772, allocations: 99.58 kB / 0.7323 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.1774, allocations: 103.5 kB / 0.7324 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.516e-05/0.1774, allocations: 24 kB / 0.7325 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.826e-05/0.1775, allocations: 43.92 kB / 0.7325 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.924e-05/0.1775, allocations: 59.77 kB / 0.7326 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.554e-05/0.1776, allocations: 103.5 kB / 0.7327 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000353/0.178, allocations: 290.8 kB / 0.7329 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.178, allocations: 0 / 0.7329 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.178, allocations: 0 / 0.7329 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.178, allocations: 4 kB / 0.7329 GB, free: 13.36 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.0007974/0.1788, allocations: 457.2 kB / 0.7334 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.1788, allocations: 11.97 kB / 0.7334 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.771e-05/0.1789, allocations: 4.188 kB / 0.7334 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.803e-05/0.1789, allocations: 54.73 kB / 0.7334 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002919/0.1792, allocations: 52.72 kB / 0.7335 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/0.1796, allocations: 211.1 kB / 0.7337 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.1796, allocations: 19.94 kB / 0.7337 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.1797, allocations: 16 kB / 0.7337 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004207/0.1801, allocations: 220.8 kB / 0.7339 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1801, allocations: 0 / 0.7339 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.1801, allocations: 8 kB / 0.734 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1801, allocations: 4 kB / 0.734 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003147/0.1804, allocations: 147.6 kB / 0.7341 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009265/0.1814, allocations: 0.5535 MB / 0.7346 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003509/0.1817, allocations: 110.7 kB / 0.7347 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.1818, allocations: 52.83 kB / 0.7348 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.1819, allocations: 11.98 kB / 0.7348 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.1819, allocations: 34.5 kB / 0.7348 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.1819, allocations: 0 / 0.7348 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0004504/0.1823, allocations: 165.7 kB / 0.735 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.495e-05/0.1824, allocations: 128.5 kB / 0.7351 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.1827, allocations: 223.1 kB / 0.7353 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.1827, allocations: 29.7 kB / 0.7354 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.1828, allocations: 152.3 kB / 0.7355 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.1828, allocations: 35.72 kB / 0.7355 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.991e-05/0.1829, allocations: 37.7 kB / 0.7356 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1831, allocations: 326.8 kB / 0.7359 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.1832, allocations: 47.97 kB / 0.7359 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.1833, allocations: 84.27 kB / 0.736 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.1835, allocations: 89.25 kB / 0.7361 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1835, allocations: 384 / 0.7361 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003162/0.1839, allocations: 157.4 kB / 0.7362 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.1839, allocations: 10.66 kB / 0.7363 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1839, allocations: 4.031 kB / 0.7363 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1839, allocations: 3.938 kB / 0.7363 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.184, allocations: 15.98 kB / 0.7363 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.184, allocations: 4 kB / 0.7363 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.1841, allocations: 27.86 kB / 0.7363 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.1842, allocations: 8 kB / 0.7363 GB, free: 9.66 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.0001312/0.1843, allocations: 141.8 kB / 0.7365 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.871e-05/0.1843, allocations: 23.8 kB / 0.7365 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.628e-05/0.1844, allocations: 25.33 kB / 0.7365 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1844, allocations: 4 kB / 0.7365 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1844, allocations: 0 / 0.7365 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1844, allocations: 0 / 0.7365 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.1847, allocations: 240.6 kB / 0.7367 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1847, allocations: 0 / 0.7367 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.759e-05/0.1848, allocations: 19.92 kB / 0.7368 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1848, allocations: 0 / 0.7368 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.1848, allocations: 3.984 kB / 0.7368 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1848, allocations: 4 kB / 0.7368 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1848, allocations: 0 / 0.7368 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.1851, allocations: 227.4 kB / 0.737 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.329e-05/0.1852, allocations: 23.78 kB / 0.737 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.1852, allocations: 4 kB / 0.737 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.1853, allocations: 19.98 kB / 0.737 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.676e-05/0.1854, allocations: 23.95 kB / 0.737 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.1854, allocations: 11.98 kB / 0.7371 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001306/0.1856, allocations: 152.6 kB / 0.7372 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1856, allocations: 0 / 0.7372 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000258/0.1858, allocations: 39.89 kB / 0.7372 GB, free: 8.652 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.0006463/0.1865, allocations: 0.767 MB / 0.738 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000312/0.1868, allocations: 103.9 kB / 0.7381 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1868, allocations: 0 / 0.7381 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.1869, allocations: 55.91 kB / 0.7381 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.1872, allocations: 28.72 kB / 0.7382 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.1896, allocations: 1.999 MB / 0.7401 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.19, allocations: 0.7398 MB / 0.7408 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.533e-05/0.1901, allocations: 21.45 kB / 0.7409 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.1902, allocations: 67.41 kB / 0.7409 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of SimCode: time 4.9e-07/0.1902, allocations: 0 / 0.7409 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.2134, allocations: 4.154 MB / 0.745 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.22, allocations: 8.25 kB / 0.745 GB, free: 0.7812 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 os._exit(0), Time elapsed: 14.889005384000484] Failed to read output from testmodel.py, exit status != 0: 11.385091287025716 11.413433362 11.229998145 Calling exit ...