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.001453/0.001453, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001607/0.001607, allocations: 164.4 kB / 22.46 MB, free: 5.359 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.485/1.485, allocations: 177.1 MB / 202.8 MB, free: 9.164 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.002544/0.002544, allocations: 241.4 kB / 259.4 MB, free: 468 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.08/1.08, allocations: 138.4 MB / 454.3 MB, free: 1.977 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.252e-06/1.252e-06, allocations: 0 / 0.6467 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.851e-05, allocations: 2.281 kB / 0.6467 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002199/0.002227, allocations: 1.29 MB / 0.648 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003939/0.006166, allocations: 2.768 MB / 0.6507 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.157e-05/0.006188, allocations: 0 / 0.6507 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.366e-05/0.006201, allocations: 0 / 0.6507 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.032e-05/0.006252, allocations: 11.81 kB / 0.6507 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005189/0.006771, allocations: 107.5 kB / 0.6508 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.466e-05/0.006855, allocations: 35.86 kB / 0.6508 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.052e-05/0.006896, allocations: 11.98 kB / 0.6509 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005825/0.007478, allocations: 183.4 kB / 0.651 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.135e-05/0.00752, allocations: 15.97 kB / 0.651 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.007534, allocations: 0 / 0.651 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.007681, allocations: 59.77 kB / 0.6511 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.944e-05/0.007701, allocations: 15.92 kB / 0.6511 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.00773, allocations: 11.98 kB / 0.6511 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.007923, allocations: 59.86 kB / 0.6512 GB, free: 484 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.007931, allocations: 4 kB / 0.6512 GB, free: 480 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.112e-06/0.007932, allocations: 0 / 0.6512 GB, free: 480 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.007936, allocations: 0 / 0.6512 GB, free: 480 kB / 0.5606 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.0004385/0.008374, allocations: 266.3 kB / 0.6514 GB, free: 184 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.008411, allocations: 9.938 kB / 0.6515 GB, free: 176 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.008451, allocations: 12.83 kB / 0.6515 GB, free: 164 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.632e-05/0.008547, allocations: 109.7 kB / 0.6516 GB, free: 28 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.00856, allocations: 4.375 kB / 0.6516 GB, free: 24 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.008591, allocations: 8.375 kB / 0.6516 GB, free: 16 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.26/0.2686, allocations: 127.3 kB / 0.6517 GB, free: 57.39 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.2686, allocations: 192 / 0.6517 GB, free: 57.39 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.2686, allocations: 6.438 kB / 0.6517 GB, free: 57.39 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.2686, allocations: 1.312 kB / 0.6517 GB, free: 57.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.872e-05/0.2687, allocations: 19.88 kB / 0.6517 GB, free: 57.39 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.2689, allocations: 110.1 kB / 0.6518 GB, free: 57.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.269, allocations: 46.22 kB / 0.6519 GB, free: 57.24 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.126e-05/0.269, allocations: 15.06 kB / 0.6519 GB, free: 57.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005714/0.2696, allocations: 244.2 kB / 0.6521 GB, free: 57.06 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.2696, allocations: 35.91 kB / 0.6522 GB, free: 57.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.2696, allocations: 3.812 kB / 0.6522 GB, free: 57.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0005666/0.2702, allocations: 222.6 kB / 0.6524 GB, free: 56.87 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.2702, allocations: 52.06 kB / 0.6524 GB, free: 56.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.942e-05/0.2703, allocations: 106.2 kB / 0.6525 GB, free: 56.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.2703, allocations: 31.27 kB / 0.6526 GB, free: 56.67 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.63e-05/0.2703, allocations: 85.59 kB / 0.6526 GB, free: 56.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.2703, allocations: 30.59 kB / 0.6527 GB, free: 56.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.2704, allocations: 25.81 kB / 0.6527 GB, free: 56.55 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.16e-05/0.2704, allocations: 317.9 kB / 0.653 GB, free: 56.24 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.812e-05/0.2704, allocations: 12.84 kB / 0.653 GB, free: 56.24 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.414e-05/0.2705, allocations: 54.77 kB / 0.6531 GB, free: 56.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.479e-05/0.2706, allocations: 80.78 kB / 0.6531 GB, free: 56.15 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.2706, allocations: 0 / 0.6531 GB, free: 56.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001158/0.2707, allocations: 93.11 kB / 0.6532 GB, free: 56.11 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2707, allocations: 8.859 kB / 0.6532 GB, free: 56.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2707, allocations: 2.766 kB / 0.6532 GB, free: 56.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.2707, allocations: 3.656 kB / 0.6532 GB, free: 56.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.259e-05/0.2708, allocations: 18.81 kB / 0.6533 GB, free: 56.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.2708, allocations: 8.906 kB / 0.6533 GB, free: 56.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.886e-05/0.2708, allocations: 8.656 kB / 0.6533 GB, free: 56.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.2708, allocations: 6.875 kB / 0.6533 GB, free: 56.11 MB / 0.5606 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 5.337e-05/0.2709, allocations: 116.3 kB / 0.6534 GB, free: 55.99 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.2709, allocations: 5.062 kB / 0.6534 GB, free: 55.99 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.963e-05/0.271, allocations: 8.188 kB / 0.6534 GB, free: 55.99 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.271, allocations: 3.656 kB / 0.6534 GB, free: 55.99 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.271, allocations: 1.188 kB / 0.6534 GB, free: 55.99 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.271, allocations: 3.938 kB / 0.6534 GB, free: 55.99 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.2711, allocations: 125.4 kB / 0.6535 GB, free: 55.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2711, allocations: 0 / 0.6535 GB, free: 55.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.387e-05/0.2712, allocations: 21.19 kB / 0.6536 GB, free: 55.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2712, allocations: 0.5312 kB / 0.6536 GB, free: 55.86 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.2712, allocations: 0.6875 kB / 0.6536 GB, free: 55.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2712, allocations: 2.188 kB / 0.6536 GB, free: 55.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2712, allocations: 0 / 0.6536 GB, free: 55.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.2714, allocations: 176.3 kB / 0.6537 GB, free: 55.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.245e-05/0.2714, allocations: 6.047 kB / 0.6537 GB, free: 55.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.2714, allocations: 2.891 kB / 0.6537 GB, free: 55.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.2715, allocations: 7.953 kB / 0.6537 GB, free: 55.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.581e-05/0.2715, allocations: 0.5 kB / 0.6537 GB, free: 55.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.2715, allocations: 5.219 kB / 0.6537 GB, free: 55.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.103e-05/0.2716, allocations: 85.91 kB / 0.6538 GB, free: 55.65 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2716, allocations: 1.062 kB / 0.6538 GB, free: 55.65 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002361/0.2718, allocations: 17.34 kB / 0.6538 GB, free: 55.65 MB / 0.5606 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.0001402/0.2719, allocations: 106.3 kB / 0.654 GB, free: 55.56 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001021/0.272, allocations: 45.53 kB / 0.654 GB, free: 55.55 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.272, allocations: 0 / 0.654 GB, free: 55.55 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.891e-05/0.2721, allocations: 12.5 kB / 0.654 GB, free: 55.55 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.2724, allocations: 6.875 kB / 0.654 GB, free: 55.55 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004302/0.2728, allocations: 257.9 kB / 0.6543 GB, free: 55.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.807e-05/0.2728, allocations: 65.86 kB / 0.6543 GB, free: 55.33 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.325e-05/0.2729, allocations: 12.81 kB / 0.6543 GB, free: 55.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.489e-05/0.2729, allocations: 12.22 kB / 0.6543 GB, free: 55.32 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.2729, allocations: 0 / 0.6543 GB, free: 55.32 MB / 0.5606 GB Notification: Performance of Templates: time 0.003277/0.2762, allocations: 0.6371 MB / 0.655 GB, free: 55.27 MB / 0.5606 GB " [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.992997471243143] Failed to read output from testmodel.py, exit status != 0: 0.283864289522171 0.294268703 0.283777425 Calling exit ...