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.001387/0.001387, allocations: 84.44 kB / 19.76 MB, free: 2.023 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.001378/0.001378, allocations: 154.5 kB / 23.01 MB, free: 4.961 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.361/1.361, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.1 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.002421/0.002421, allocations: 241.8 kB / 260 MB, free: 448 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 0.8794/0.8794, allocations: 138.5 MB / 455 MB, free: 15.1 MB / 430.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.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: 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.00296/0.00296, allocations: 103.8 kB / 0.6473 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.4095, allocations: 95.35 MB / 0.7404 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002379/0.4119, allocations: 1.388 MB / 0.7418 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002846/0.4147, allocations: 2.769 MB / 0.7445 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.853e-05/0.4147, allocations: 0 / 0.7445 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 7.284e-05/0.4148, allocations: 12.91 kB / 0.7445 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.4149, allocations: 42.53 kB / 0.7446 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005032/0.4154, allocations: 192 kB / 0.7447 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002329/0.4157, allocations: 240.7 kB / 0.745 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.892e-05/0.4157, allocations: 3.344 kB / 0.745 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 8.268e-05/0.4158, allocations: 94.31 kB / 0.7451 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.4159, allocations: 122.4 kB / 0.7452 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.01e-05/0.4159, allocations: 11 kB / 0.7452 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003341/0.4163, allocations: 142.8 kB / 0.7453 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.081e-05/0.4164, allocations: 91.67 kB / 0.7454 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 9.119e-05/0.4165, allocations: 86.88 kB / 0.7455 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000329/0.4168, allocations: 277.1 kB / 0.7458 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.4168, allocations: 0 / 0.7458 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4168, allocations: 1.375 kB / 0.7458 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.4168, allocations: 0 / 0.7458 GB, free: 14.1 MB / 0.5919 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.0007084/0.4175, allocations: 471 kB / 0.7462 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.4175, allocations: 10.62 kB / 0.7462 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.4177, allocations: 19.64 kB / 0.7462 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.4179, allocations: 183.2 kB / 0.7464 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.275e-05/0.4179, allocations: 27.98 kB / 0.7464 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.4179, allocations: 13.38 kB / 0.7465 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006341/0.4186, allocations: 296.5 kB / 0.7467 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.4186, allocations: 0 / 0.7467 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.4186, allocations: 5.469 kB / 0.7467 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.4186, allocations: 4.375 kB / 0.7467 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.42, allocations: 0.7226 MB / 0.7474 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002678/0.4203, allocations: 226.5 kB / 0.7477 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.4218, allocations: 0.6378 MB / 0.7483 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004783/0.4223, allocations: 217.8 kB / 0.7485 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002781/0.4226, allocations: 77.48 kB / 0.7486 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.4226, allocations: 40.78 kB / 0.7486 GB, free: 13 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 1.393e-06/0.4226, allocations: 0 / 0.7486 GB, free: 13 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001586/0.4242, allocations: 0.6614 MB / 0.7493 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.189e-05/0.4242, allocations: 55.41 kB / 0.7493 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.764e-05/0.4243, allocations: 125.3 kB / 0.7494 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.4243, allocations: 35.5 kB / 0.7495 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.652e-05/0.4243, allocations: 92.53 kB / 0.7495 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.281e-05/0.4244, allocations: 132.5 kB / 0.7497 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.782e-05/0.4245, allocations: 62.8 kB / 0.7497 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.784e-05/0.4246, allocations: 333.1 kB / 0.7501 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004628/0.425, allocations: 194.9 kB / 0.7502 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004672/0.4255, allocations: 201 kB / 0.7504 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00087/0.4264, allocations: 366.5 kB / 0.7508 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.4264, allocations: 0.5625 kB / 0.7508 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00104/0.4274, allocations: 460 kB / 0.7512 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.4274, allocations: 9.438 kB / 0.7512 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.4274, allocations: 0 / 0.7512 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.4274, allocations: 1.906 kB / 0.7512 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000357/0.4278, allocations: 97.44 kB / 0.7513 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.4278, allocations: 3.078 kB / 0.7513 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.428, allocations: 51.75 kB / 0.7514 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.957e-05/0.428, allocations: 12.84 kB / 0.7514 GB, free: 11.83 MB / 0.5919 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 9.32e-05/0.4281, allocations: 142.5 kB / 0.7515 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/0.4282, allocations: 20.19 kB / 0.7515 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.4293, allocations: 0.5215 MB / 0.7521 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.4294, allocations: 3.844 kB / 0.7521 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4294, allocations: 0 / 0.7521 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.4294, allocations: 2.625 kB / 0.7521 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/0.4296, allocations: 234.8 kB / 0.7523 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4296, allocations: 0.6562 kB / 0.7523 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003346/0.4299, allocations: 102 kB / 0.7524 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.4299, allocations: 2.625 kB / 0.7524 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.43, allocations: 14.42 kB / 0.7524 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.43, allocations: 5.562 kB / 0.7524 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.43, allocations: 5 kB / 0.7524 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.4311, allocations: 498 kB / 0.7529 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.712e-05/0.4311, allocations: 27.12 kB / 0.7529 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.4311, allocations: 9.219 kB / 0.7529 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.4313, allocations: 38.88 kB / 0.753 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002454/0.4315, allocations: 122.8 kB / 0.7531 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/0.4316, allocations: 10.84 kB / 0.7531 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.717e-05/0.4316, allocations: 101.7 kB / 0.7532 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.4316, allocations: 0 / 0.7532 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003975/0.432, allocations: 112.1 kB / 0.7533 GB, free: 11.05 MB / 0.5919 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.0002724/0.4323, allocations: 191.5 kB / 0.7535 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009822/0.4333, allocations: 464.7 kB / 0.7539 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4333, allocations: 1 kB / 0.7539 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004934/0.4338, allocations: 246 kB / 0.7541 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.4341, allocations: 77.08 kB / 0.7542 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006142/0.4347, allocations: 433.8 kB / 0.7546 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.649e-05/0.4348, allocations: 121.4 kB / 0.7547 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003493/0.4352, allocations: 190.4 kB / 0.7549 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.617e-05/0.4353, allocations: 43.69 kB / 0.755 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of SimCode: time 3.2e-07/0.4353, allocations: 0 / 0.755 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of Templates: time 0.008631/0.4439, allocations: 5.508 MB / 0.7603 GB, free: 7.414 MB / 0.5919 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.870210430002771] Failed to read output from testmodel.py, exit status != 0: 0.4513744650175795 0.46249117199999995 0.042919585 Calling exit ...