Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.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.0006727/0.0006727, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007313/0.0007313, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.86/0.86, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.001815/0.001815, allocations: 234.3 kB / 260.2 MB, free: 13.01 MB / 250.7 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 0.6925/0.6925, allocations: 138.4 MB / 455.1 MB, free: 30.07 MB / 410.7 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.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.6475 GB, free: 1.426 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.674e-05/2.83e-05, allocations: 6.219 kB / 0.6475 GB, free: 1.418 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001802/0.00183, allocations: 1.384 MB / 0.6489 GB, free: 20 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2491/0.251, allocations: 2.745 MB / 0.6515 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.864e-05/0.251, allocations: 1.438 kB / 0.6515 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 8.279e-05/0.2511, allocations: 12.05 kB / 0.6516 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.2512, allocations: 43.58 kB / 0.6516 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000522/0.2517, allocations: 193.5 kB / 0.6518 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.2519, allocations: 245.2 kB / 0.652 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.83e-05/0.252, allocations: 9.625 kB / 0.652 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 9.279e-05/0.252, allocations: 115.6 kB / 0.6521 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.2521, allocations: 121.7 kB / 0.6522 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.2522, allocations: 13.62 kB / 0.6523 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003092/0.2525, allocations: 147.4 kB / 0.6524 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.78e-05/0.2526, allocations: 97.16 kB / 0.6525 GB, free: 55.13 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.121e-05/0.2526, allocations: 67.27 kB / 0.6526 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002989/0.2529, allocations: 298.1 kB / 0.6528 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2529, allocations: 4.5 kB / 0.6528 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2529, allocations: 1.438 kB / 0.6528 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2529, allocations: 1.906 kB / 0.6529 GB, free: 55.02 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005063/0.2534, allocations: 463.5 kB / 0.6533 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.2535, allocations: 11.47 kB / 0.6533 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.078e-05/0.2536, allocations: 19.41 kB / 0.6533 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.2537, allocations: 186 kB / 0.6535 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.55e-05/0.2538, allocations: 27.8 kB / 0.6535 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.2538, allocations: 14.84 kB / 0.6535 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003836/0.2542, allocations: 285.1 kB / 0.6538 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.2542, allocations: 1.781 kB / 0.6538 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.2542, allocations: 16.03 kB / 0.6538 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.2542, allocations: 3.625 kB / 0.6538 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008859/0.2551, allocations: 0.7247 MB / 0.6545 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002376/0.2553, allocations: 228.2 kB / 0.6548 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009786/0.2563, allocations: 0.6374 MB / 0.6554 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002909/0.2566, allocations: 217.7 kB / 0.6556 GB, free: 54 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002179/0.2568, allocations: 84.05 kB / 0.6557 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.2568, allocations: 33.86 kB / 0.6557 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=37): time 1.674e-06/0.2568, allocations: 0 / 0.6557 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of matching and sorting (n=37): time 0.0009934/0.2578, allocations: 0.6568 MB / 0.6563 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.2578, allocations: 59.41 kB / 0.6564 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.679e-05/0.2579, allocations: 124.7 kB / 0.6565 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.2579, allocations: 37.36 kB / 0.6566 GB, free: 53.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.237e-05/0.258, allocations: 88.17 kB / 0.6566 GB, free: 53.51 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.102e-05/0.258, allocations: 131.8 kB / 0.6568 GB, free: 53.41 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.096e-05/0.2581, allocations: 65.56 kB / 0.6568 GB, free: 53.37 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.008e-05/0.2581, allocations: 334.3 kB / 0.6571 GB, free: 53.05 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/0.2584, allocations: 190.5 kB / 0.6573 GB, free: 53.02 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002688/0.2586, allocations: 200.9 kB / 0.6575 GB, free: 52.99 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005039/0.2591, allocations: 366.6 kB / 0.6579 GB, free: 52.92 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2592, allocations: 0 / 0.6579 GB, free: 52.92 MB / 0.5573 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006121/0.2598, allocations: 468 kB / 0.6583 GB, free: 52.81 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.2598, allocations: 5.062 kB / 0.6583 GB, free: 52.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2598, allocations: 0.5625 kB / 0.6583 GB, free: 52.81 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.2598, allocations: 1.969 kB / 0.6583 GB, free: 52.81 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.26, allocations: 97.52 kB / 0.6584 GB, free: 52.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.26, allocations: 1.875 kB / 0.6584 GB, free: 52.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.2601, allocations: 54.19 kB / 0.6585 GB, free: 52.78 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.2602, allocations: 15.81 kB / 0.6585 GB, free: 52.78 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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 7.634e-05/0.2602, allocations: 142.8 kB / 0.6586 GB, free: 52.65 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.2603, allocations: 19.45 kB / 0.6586 GB, free: 52.64 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006839/0.2609, allocations: 0.5135 MB / 0.6591 GB, free: 52.51 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.2609, allocations: 5.719 kB / 0.6591 GB, free: 52.51 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2609, allocations: 3.938 kB / 0.6591 GB, free: 52.51 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.261, allocations: 1.547 kB / 0.6591 GB, free: 52.51 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.2611, allocations: 241 kB / 0.6594 GB, free: 52.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2611, allocations: 0 / 0.6594 GB, free: 52.33 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.2613, allocations: 98.66 kB / 0.6595 GB, free: 52.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.2613, allocations: 1.656 kB / 0.6595 GB, free: 52.32 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.2613, allocations: 9.391 kB / 0.6595 GB, free: 52.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.2613, allocations: 6.016 kB / 0.6595 GB, free: 52.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2613, allocations: 1.906 kB / 0.6595 GB, free: 52.32 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006148/0.2619, allocations: 0.4949 MB / 0.66 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.148e-05/0.262, allocations: 22.48 kB / 0.66 GB, free: 52.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.262, allocations: 5.156 kB / 0.66 GB, free: 52.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.885e-05/0.2621, allocations: 43.7 kB / 0.66 GB, free: 52.13 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/0.2622, allocations: 120.9 kB / 0.6602 GB, free: 52.12 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.2623, allocations: 13.55 kB / 0.6602 GB, free: 52.12 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.839e-05/0.2623, allocations: 104.4 kB / 0.6603 GB, free: 52.04 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2623, allocations: 0 / 0.6603 GB, free: 52.04 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003168/0.2626, allocations: 120.3 kB / 0.6604 GB, free: 52.01 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (37): * Single equations (assignments): 37 * 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.0002575/0.2629, allocations: 188.5 kB / 0.6606 GB, free: 51.89 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006451/0.2635, allocations: 454.5 kB / 0.661 GB, free: 51.83 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2635, allocations: 0.8438 kB / 0.661 GB, free: 51.83 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.2638, allocations: 243.8 kB / 0.6612 GB, free: 51.79 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.2641, allocations: 78.81 kB / 0.6613 GB, free: 51.77 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005898/0.2647, allocations: 464.3 kB / 0.6617 GB, free: 51.52 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.4e-05/0.2648, allocations: 121.2 kB / 0.6619 GB, free: 51.45 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.823e-05/0.2649, allocations: 49.59 kB / 0.6619 GB, free: 51.44 MB / 0.5573 GB Notification: Performance of SimCode: time 7.41e-07/0.2649, allocations: 0 / 0.6619 GB, free: 51.44 MB / 0.5573 GB Notification: Performance of Templates: time 0.00544/0.2703, allocations: 4.886 MB / 0.6667 GB, free: 51.01 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.614747474901378] Failed to read output from testmodel.py, exit status != 0: 0.2756252344697714 0.28287159100000003 0.028202961000000002 Calling exit ...