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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 119.3 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 194.2 kB / 20.08 MB, free: 3.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002274/0.002274, allocations: 287.1 kB / 303.6 MB, free: 3.688 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.999/0.999, allocations: 180.9 MB / 0.5268 GB, free: 2.691 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002653/0.002653, allocations: 95.84 kB / 0.7259 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4726/0.4752, allocations: 94.16 MB / 0.8179 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002217/0.4774, allocations: 1.394 MB / 0.8192 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002933/0.4804, allocations: 2.927 MB / 0.8221 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.88e-05/0.4804, allocations: 0 / 0.8221 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.837e-05/0.4805, allocations: 12.41 kB / 0.8221 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.4806, allocations: 34.69 kB / 0.8221 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005787/0.4812, allocations: 187.2 kB / 0.8223 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003089/0.4815, allocations: 247.3 kB / 0.8225 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.4815, allocations: 4.719 kB / 0.8225 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.4816, allocations: 94.59 kB / 0.8226 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.4818, allocations: 126.1 kB / 0.8227 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.4818, allocations: 12.09 kB / 0.8228 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003746/0.4822, allocations: 135.2 kB / 0.8229 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.4823, allocations: 89.02 kB / 0.823 GB, free: 4 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.966e-05/0.4824, allocations: 93.81 kB / 0.8231 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003508/0.4828, allocations: 270.1 kB / 0.8233 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.4828, allocations: 0 / 0.8233 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4828, allocations: 2.75 kB / 0.8233 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.4828, allocations: 4 kB / 0.8233 GB, free: 3.871 MB / 0.5762 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.0007462/0.4835, allocations: 0.5331 MB / 0.8238 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.4836, allocations: 10.12 kB / 0.8239 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.4837, allocations: 20.39 kB / 0.8239 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.4839, allocations: 243.8 kB / 0.8241 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.347e-05/0.4839, allocations: 27.33 kB / 0.8241 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.484, allocations: 14.88 kB / 0.8241 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006258/0.4846, allocations: 290.9 kB / 0.8244 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4846, allocations: 0 / 0.8244 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.4846, allocations: 18.55 kB / 0.8244 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.4846, allocations: 3.281 kB / 0.8244 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.4861, allocations: 0.7475 MB / 0.8252 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003066/0.4864, allocations: 304.2 kB / 0.8255 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/0.4879, allocations: 0.646 MB / 0.8261 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004602/0.4883, allocations: 207.8 kB / 0.8263 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003153/0.4887, allocations: 388.8 kB / 0.8267 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.4887, allocations: 46.31 kB / 0.8267 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=37): time 1.302e-06/0.4887, allocations: 0 / 0.8267 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of matching and sorting (n=37): time 0.001571/0.4903, allocations: 0.6518 MB / 0.8273 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/0.4903, allocations: 55.53 kB / 0.8274 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.509e-05/0.4904, allocations: 128 kB / 0.8275 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.4904, allocations: 30.55 kB / 0.8275 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.855e-05/0.4904, allocations: 92.52 kB / 0.8276 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.378e-05/0.4905, allocations: 136.5 kB / 0.8278 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.32e-05/0.4906, allocations: 63.25 kB / 0.8278 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.24e-05/0.4906, allocations: 328.7 kB / 0.8281 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004574/0.4911, allocations: 190 kB / 0.8283 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004506/0.4916, allocations: 199.8 kB / 0.8285 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000841/0.4924, allocations: 371.4 kB / 0.8289 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.4924, allocations: 0 / 0.8289 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001001/0.4934, allocations: 461.1 kB / 0.8293 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.4934, allocations: 6.406 kB / 0.8293 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.4934, allocations: 0 / 0.8293 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.4934, allocations: 4.75 kB / 0.8293 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003528/0.4938, allocations: 101.3 kB / 0.8294 GB, free: 1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.4938, allocations: 2.312 kB / 0.8294 GB, free: 1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.494, allocations: 56.53 kB / 0.8295 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.494, allocations: 11.38 kB / 0.8295 GB, free: 0.9766 MB / 0.5762 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.565e-05/0.4941, allocations: 142.3 kB / 0.8296 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.4941, allocations: 24.69 kB / 0.8296 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.4953, allocations: 0.5153 MB / 0.8301 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.4953, allocations: 9.391 kB / 0.8302 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4953, allocations: 0 / 0.8302 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.4953, allocations: 1.969 kB / 0.8302 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.4956, allocations: 316 kB / 0.8305 GB, free: 460 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.4956, allocations: 0.9844 kB / 0.8305 GB, free: 460 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003099/0.4959, allocations: 99.67 kB / 0.8306 GB, free: 448 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.4959, allocations: 6 kB / 0.8306 GB, free: 444 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.4959, allocations: 14.44 kB / 0.8306 GB, free: 436 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4959, allocations: 2.219 kB / 0.8306 GB, free: 436 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4959, allocations: 3.984 kB / 0.8306 GB, free: 432 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.4969, allocations: 0.4941 MB / 0.8311 GB, free: 276 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.497, allocations: 104.8 kB / 0.8312 GB, free: 160 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.19e-05/0.497, allocations: 4.797 kB / 0.8312 GB, free: 156 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.4972, allocations: 35.03 kB / 0.8312 GB, free: 152 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00023/0.4974, allocations: 125.2 kB / 0.8313 GB, free: 136 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.4974, allocations: 9.781 kB / 0.8313 GB, free: 136 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.891e-05/0.4975, allocations: 103.4 kB / 0.8314 GB, free: 52 kB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.4975, allocations: 2.531 kB / 0.8314 GB, free: 52 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003678/0.4978, allocations: 115.1 kB / 0.8315 GB, free: 28 kB / 0.5762 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.0003373/0.4982, allocations: 191.9 kB / 0.8317 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001082/0.4992, allocations: 457.8 kB / 0.8322 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4992, allocations: 2.719 kB / 0.8322 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005251/0.4998, allocations: 236.5 kB / 0.8324 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.5002, allocations: 80.31 kB / 0.8325 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007828/0.5009, allocations: 475.5 kB / 0.8329 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.5013, allocations: 0.7311 MB / 0.8336 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.5014, allocations: 46.11 kB / 0.8337 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.5014, allocations: 1.281 kB / 0.8337 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.009012/0.5104, allocations: 4.766 MB / 0.8383 GB, free: 14.32 MB / 0.5919 GB " [Timeout remaining time 659] 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: 8.591835135128349] Failed to read output from testmodel.py, exit status != 0: 0.518139106919989 0.530665177 0.045285822 Calling exit ...