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.001332/0.001332, allocations: 85.41 kB / 19.43 MB, free: 1.973 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.001442/0.001442, allocations: 167.2 kB / 22.74 MB, free: 4.77 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.428/1.428, allocations: 177.1 MB / 203.1 MB, free: 9.051 MB / 190.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.00238/0.00238, allocations: 226.8 kB / 259.8 MB, free: 312 kB / 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.055/1.055, allocations: 138.4 MB / 454.7 MB, free: 1.941 MB / 366.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: translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.5543 GB, free: 4.234 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.517e-05, allocations: 4.562 kB / 0.5543 GB, free: 4.23 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002186/0.002212, allocations: 1.267 MB / 0.5555 GB, free: 2.945 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003743/0.005955, allocations: 2.753 MB / 0.5582 GB, free: 188 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.846e-05/0.005973, allocations: 0 / 0.5582 GB, free: 188 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.353e-05/0.005997, allocations: 3.984 kB / 0.5582 GB, free: 184 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.739e-05/0.006044, allocations: 11.92 kB / 0.5582 GB, free: 172 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004931/0.006537, allocations: 103.4 kB / 0.5583 GB, free: 68 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.57e-05/0.006623, allocations: 43.84 kB / 0.5583 GB, free: 24 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.228e-05/0.006655, allocations: 8 kB / 0.5583 GB, free: 16 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005725/0.007228, allocations: 191.3 kB / 0.5585 GB, free: 15.83 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.83e-05/0.007266, allocations: 11.98 kB / 0.5585 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.007282, allocations: 4 kB / 0.5585 GB, free: 15.81 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.007435, allocations: 63.69 kB / 0.5586 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.933e-05/0.007454, allocations: 12 kB / 0.5586 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.645e-05/0.007481, allocations: 7.984 kB / 0.5586 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.007659, allocations: 67.8 kB / 0.5587 GB, free: 15.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.007662, allocations: 0 / 0.5587 GB, free: 15.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.007663, allocations: 0 / 0.5587 GB, free: 15.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.007673, allocations: 0 / 0.5587 GB, free: 15.66 MB / 494.1 MB 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.000403/0.008076, allocations: 262.3 kB / 0.5589 GB, free: 15.38 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.008115, allocations: 13.94 kB / 0.559 GB, free: 15.37 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.441e-05/0.008169, allocations: 8.891 kB / 0.559 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.911e-05/0.008269, allocations: 113.7 kB / 0.5591 GB, free: 15.22 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.008281, allocations: 8.375 kB / 0.5591 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.008304, allocations: 8.375 kB / 0.5591 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.00849, allocations: 139.3 kB / 0.5592 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.008498, allocations: 4.188 kB / 0.5592 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.008511, allocations: 4.125 kB / 0.5592 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.008515, allocations: 0 / 0.5592 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.306e-05/0.008568, allocations: 11.98 kB / 0.5592 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.008717, allocations: 113.3 kB / 0.5593 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.008824, allocations: 50.5 kB / 0.5594 GB, free: 14.83 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.382e-05/0.008858, allocations: 20.83 kB / 0.5594 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005605/0.009418, allocations: 246.1 kB / 0.5596 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.009454, allocations: 30.56 kB / 0.5597 GB, free: 14.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.009455, allocations: 0 / 0.5597 GB, free: 14.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005793/0.01003, allocations: 233.2 kB / 0.5599 GB, free: 14.24 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.01007, allocations: 55.34 kB / 0.56 GB, free: 14.18 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.457e-05/0.01016, allocations: 101.8 kB / 0.5601 GB, free: 14.07 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.01018, allocations: 29.7 kB / 0.5601 GB, free: 14.03 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.882e-05/0.01023, allocations: 84.09 kB / 0.5602 GB, free: 13.95 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.01025, allocations: 27.75 kB / 0.5602 GB, free: 13.92 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.0103, allocations: 33.7 kB / 0.5602 GB, free: 13.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.01042, allocations: 310.8 kB / 0.5605 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.161e-05/0.01046, allocations: 15.98 kB / 0.5605 GB, free: 13.55 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.191e-05/0.01052, allocations: 57.14 kB / 0.5606 GB, free: 13.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.64e-05/0.01061, allocations: 72.97 kB / 0.5607 GB, free: 13.39 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.01062, allocations: 0 / 0.5607 GB, free: 13.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001549/0.01077, allocations: 105.5 kB / 0.5608 GB, free: 13.28 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.01079, allocations: 8 kB / 0.5608 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.01079, allocations: 0 / 0.5608 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.01081, allocations: 4 kB / 0.5608 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.984e-05/0.01089, allocations: 19.98 kB / 0.5608 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.01089, allocations: 0 / 0.5608 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.946e-05/0.01093, allocations: 4 kB / 0.5608 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.01094, allocations: 4 kB / 0.5608 GB, free: 13.24 MB / 494.1 MB 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 9.523e-05/0.01104, allocations: 121.7 kB / 0.5609 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.01107, allocations: 8.125 kB / 0.5609 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.169e-05/0.0111, allocations: 12.39 kB / 0.5609 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.0111, allocations: 0 / 0.5609 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.01111, allocations: 4.422 kB / 0.5609 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.01111, allocations: 0 / 0.5609 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.01134, allocations: 125.2 kB / 0.5611 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.01134, allocations: 4 kB / 0.5611 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.217e-05/0.01143, allocations: 19.98 kB / 0.5611 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.01144, allocations: 0 / 0.5611 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.01144, allocations: 3.938 kB / 0.5611 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01144, allocations: 0 / 0.5611 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.01145, allocations: 4 kB / 0.5611 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.01164, allocations: 179.4 kB / 0.5613 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.958e-05/0.01167, allocations: 11.98 kB / 0.5613 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.01169, allocations: 4 kB / 0.5613 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.0118, allocations: 4 kB / 0.5613 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.599e-05/0.01182, allocations: 3.984 kB / 0.5613 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.01182, allocations: 4 kB / 0.5613 GB, free: 12.69 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.933e-05/0.01186, allocations: 75.28 kB / 0.5614 GB, free: 12.61 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01186, allocations: 4 kB / 0.5614 GB, free: 12.61 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.01211, allocations: 12 kB / 0.5614 GB, free: 12.6 MB / 494.1 MB 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.0001453/0.01226, allocations: 114.1 kB / 0.5615 GB, free: 12.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001167/0.01237, allocations: 39.86 kB / 0.5615 GB, free: 12.44 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.01238, allocations: 0 / 0.5615 GB, free: 12.44 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.734e-05/0.0124, allocations: 12 kB / 0.5615 GB, free: 12.43 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.0127, allocations: 10.12 kB / 0.5615 GB, free: 12.42 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005335/0.01323, allocations: 260.9 kB / 0.5618 GB, free: 12.14 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.775e-05/0.0133, allocations: 75.33 kB / 0.5619 GB, free: 12.04 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.429e-05/0.01334, allocations: 7.781 kB / 0.5619 GB, free: 12.04 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.612e-05/0.01337, allocations: 12.5 kB / 0.5619 GB, free: 12.02 MB / 494.1 MB Notification: Performance of SimCode: time 4.01e-07/0.01337, allocations: 0 / 0.5619 GB, free: 12.02 MB / 494.1 MB Notification: Performance of Templates: time 0.003354/0.01672, allocations: 0.6584 MB / 0.5625 GB, free: 11.4 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.270352352410555] Failed to read output from testmodel.py, exit status != 0: 0.02445061132311821 0.038917646 0.028206616 Calling exit ...