Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.00126/0.00126, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001375/0.001375, allocations: 208.7 kB / 23.04 MB, free: 5.074 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.397/1.397, allocations: 230.6 MB / 256.8 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002399/0.002399, allocations: 286.8 kB / 313.5 MB, free: 2.84 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.15/1.15, allocations: 180.6 MB / 0.5377 GB, free: 12.91 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002704/0.002704, allocations: 102.4 kB / 0.7403 GB, free: 28.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1587, allocations: 95.38 MB / 0.8335 GB, free: 8.68 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.00263/0.1614, allocations: 1.284 MB / 0.8347 GB, free: 7.383 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.003988/0.1653, allocations: 3.019 MB / 0.8377 GB, free: 4.344 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.985e-05/0.1654, allocations: 0 / 0.8377 GB, free: 4.344 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 1.444e-05/0.1654, allocations: 0 / 0.8377 GB, free: 4.344 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 4.594e-05/0.1654, allocations: 7.938 kB / 0.8377 GB, free: 4.336 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004739/0.1659, allocations: 103.5 kB / 0.8378 GB, free: 4.234 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 7.795e-05/0.166, allocations: 35.91 kB / 0.8378 GB, free: 4.199 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.034e-05/0.166, allocations: 7.984 kB / 0.8378 GB, free: 4.191 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005176/0.1665, allocations: 191.6 kB / 0.838 GB, free: 4.004 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 4.403e-05/0.1666, allocations: 19.97 kB / 0.838 GB, free: 3.984 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 8.876e-06/0.1666, allocations: 0 / 0.838 GB, free: 3.984 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.1668, allocations: 67.88 kB / 0.8381 GB, free: 3.918 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.1668, allocations: 7.922 kB / 0.8381 GB, free: 3.91 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 4.033e-05/0.1668, allocations: 19.92 kB / 0.8381 GB, free: 3.891 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.167, allocations: 59.81 kB / 0.8382 GB, free: 3.832 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.167, allocations: 0 / 0.8382 GB, free: 3.832 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.142e-06/0.167, allocations: 0 / 0.8382 GB, free: 3.832 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.167, allocations: 0 / 0.8382 GB, free: 3.832 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003567/0.1673, allocations: 282.3 kB / 0.8384 GB, free: 3.527 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.1674, allocations: 9.344 kB / 0.8384 GB, free: 3.52 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.221e-05/0.1674, allocations: 192 / 0.8384 GB, free: 3.52 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.281e-05/0.1674, allocations: 38.69 kB / 0.8385 GB, free: 3.473 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.1674, allocations: 4.891 kB / 0.8385 GB, free: 3.469 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.539e-05/0.1675, allocations: 114.5 kB / 0.8386 GB, free: 3.332 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.1675, allocations: 8.375 kB / 0.8386 GB, free: 3.324 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.1676, allocations: 8.125 kB / 0.8386 GB, free: 3.316 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.1677, allocations: 57.67 kB / 0.8387 GB, free: 3.254 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.1677, allocations: 0 / 0.8387 GB, free: 3.254 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1677, allocations: 4 kB / 0.8387 GB, free: 3.25 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.1677, allocations: 0 / 0.8387 GB, free: 3.25 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.291e-05/0.1677, allocations: 19.92 kB / 0.8387 GB, free: 3.23 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.1679, allocations: 132.7 kB / 0.8388 GB, free: 3.059 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 8.989e-05/0.168, allocations: 50.55 kB / 0.8389 GB, free: 3 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.979e-05/0.168, allocations: 20.8 kB / 0.8389 GB, free: 2.977 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005086/0.1685, allocations: 246.1 kB / 0.8391 GB, free: 2.715 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.1686, allocations: 42.5 kB / 0.8392 GB, free: 2.664 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1686, allocations: 0 / 0.8392 GB, free: 2.664 MB / 0.5763 GB Notification: Performance of matching and sorting (n=7): time 0.0005135/0.1691, allocations: 221.1 kB / 0.8394 GB, free: 2.414 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.1691, allocations: 59.41 kB / 0.8394 GB, free: 2.344 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.578e-05/0.1692, allocations: 105.8 kB / 0.8395 GB, free: 2.23 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.1692, allocations: 25.7 kB / 0.8396 GB, free: 2.199 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 4.636e-05/0.1693, allocations: 88.09 kB / 0.8396 GB, free: 2.109 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.1693, allocations: 31.73 kB / 0.8397 GB, free: 2.078 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.1693, allocations: 21.72 kB / 0.8397 GB, free: 2.051 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1694, allocations: 322.8 kB / 0.84 GB, free: 1.727 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.108e-05/0.1695, allocations: 16 kB / 0.84 GB, free: 1.711 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.888e-05/0.1695, allocations: 53.08 kB / 0.8401 GB, free: 1.641 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.837e-05/0.1696, allocations: 85.19 kB / 0.8401 GB, free: 1.539 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1696, allocations: 0 / 0.8401 GB, free: 1.539 MB / 0.5763 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001366/0.1698, allocations: 97.5 kB / 0.8402 GB, free: 1.438 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.1698, allocations: 6.188 kB / 0.8402 GB, free: 1.434 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1698, allocations: 4 kB / 0.8402 GB, free: 1.43 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1698, allocations: 0 / 0.8402 GB, free: 1.43 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.168e-05/0.1699, allocations: 16 kB / 0.8403 GB, free: 1.414 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1699, allocations: 7.938 kB / 0.8403 GB, free: 1.406 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.473e-05/0.1699, allocations: 128 / 0.8403 GB, free: 1.406 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1699, allocations: 8 kB / 0.8403 GB, free: 1.398 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 8.608e-05/0.17, allocations: 122.4 kB / 0.8404 GB, free: 1.27 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.17, allocations: 4 kB / 0.8404 GB, free: 1.266 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.24e-05/0.1701, allocations: 8.062 kB / 0.8404 GB, free: 1.262 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.1701, allocations: 0 / 0.8404 GB, free: 1.262 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1701, allocations: 4.375 kB / 0.8404 GB, free: 1.258 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1701, allocations: 4 kB / 0.8404 GB, free: 1.254 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.1703, allocations: 148.8 kB / 0.8406 GB, free: 1.066 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.1703, allocations: 4 kB / 0.8406 GB, free: 1.062 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.479e-05/0.1704, allocations: 19.98 kB / 0.8406 GB, free: 1.043 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1704, allocations: 0 / 0.8406 GB, free: 1.043 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.1704, allocations: 0 / 0.8406 GB, free: 1.043 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1704, allocations: 4 kB / 0.8406 GB, free: 1.039 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1704, allocations: 3.938 kB / 0.8406 GB, free: 1.035 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.1706, allocations: 171.5 kB / 0.8408 GB, free: 0.8516 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 2.383e-05/0.1706, allocations: 8 kB / 0.8408 GB, free: 0.8438 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.1706, allocations: 0 / 0.8408 GB, free: 0.8438 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.1707, allocations: 8 kB / 0.8408 GB, free: 0.8359 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.46e-05/0.1707, allocations: 15.8 kB / 0.8408 GB, free: 0.8203 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.1707, allocations: 4 kB / 0.8408 GB, free: 0.8164 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 3.663e-05/0.1708, allocations: 79.28 kB / 0.8409 GB, free: 0.7383 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/0.1708, allocations: 0 / 0.8409 GB, free: 0.7383 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002372/0.171, allocations: 12 kB / 0.8409 GB, free: 0.7266 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0004621/0.1715, allocations: 0.7168 MB / 0.8416 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001055/0.1716, allocations: 43.95 kB / 0.8416 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1716, allocations: 0 / 0.8416 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.337e-05/0.1716, allocations: 12 kB / 0.8416 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.1719, allocations: 7.938 kB / 0.8416 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.1733, allocations: 1.528 MB / 0.8431 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.1736, allocations: 0.6885 MB / 0.8438 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.367e-05/0.1736, allocations: 7.781 kB / 0.8438 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.241e-05/0.1736, allocations: 11.44 kB / 0.8438 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.1736, allocations: 0 / 0.8438 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02189/0.1955, allocations: 1.866 MB / 0.8456 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.71, allocations: 5.562 kB / 0.8456 GB, free: 11.82 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.66311379801482] Failed to read output from testmodel.py, exit status != 0: 10.861927321006078 10.878745563 10.7086728 Calling exit ...