Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.001458/0.001458, allocations: 117.7 kB / 17.13 MB, free: 5.758 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.001556/0.001556, allocations: 194.1 kB / 20.08 MB, free: 2.848 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.335/1.335, allocations: 225.6 MB / 248.5 MB, free: 3.637 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.002242/0.002242, allocations: 291 kB / 303.6 MB, free: 3.625 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.9867/0.9867, allocations: 180.9 MB / 0.5268 GB, free: 2.75 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.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002679/0.002679, allocations: 95.84 kB / 0.726 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4795/0.4822, allocations: 94.16 MB / 0.8179 GB, free: 7.469 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004608/0.4868, allocations: 4.075 MB / 0.8219 GB, free: 4.562 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.002147/0.4889, allocations: 2.429 MB / 0.8243 GB, free: 2.855 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.151e-05/0.489, allocations: 3.812 kB / 0.8243 GB, free: 2.855 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.4892, allocations: 47.52 kB / 0.8243 GB, free: 2.832 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0002409/0.4895, allocations: 97.91 kB / 0.8244 GB, free: 2.77 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.4906, allocations: 0.5425 MB / 0.8249 GB, free: 2.48 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0002804/0.4909, allocations: 257.8 kB / 0.8252 GB, free: 2.375 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.81e-05/0.4909, allocations: 11.3 kB / 0.8252 GB, free: 2.375 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.4911, allocations: 118.1 kB / 0.8253 GB, free: 2.328 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.4912, allocations: 94.69 kB / 0.8254 GB, free: 2.293 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.4912, allocations: 8.469 kB / 0.8254 GB, free: 2.293 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007458/0.492, allocations: 468.2 kB / 0.8258 GB, free: 2.121 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 6.695e-05/0.492, allocations: 44 kB / 0.8259 GB, free: 2.098 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 9.841e-05/0.4921, allocations: 82.34 kB / 0.826 GB, free: 2.059 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0005681/0.4927, allocations: 409 kB / 0.8264 GB, free: 1.926 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.4927, allocations: 7.938 kB / 0.8264 GB, free: 1.918 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.293e-06/0.4927, allocations: 6.5 kB / 0.8264 GB, free: 1.914 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.4927, allocations: 0 / 0.8264 GB, free: 1.914 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005972/0.4933, allocations: 0.5022 MB / 0.8269 GB, free: 1.457 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 2.879e-05/0.4934, allocations: 12.14 kB / 0.8269 GB, free: 1.457 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001826/0.4952, allocations: 173 kB / 0.827 GB, free: 1.434 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/0.4954, allocations: 217.3 kB / 0.8272 GB, free: 1.211 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.4955, allocations: 14.36 kB / 0.8273 GB, free: 1.203 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/0.4955, allocations: 19.75 kB / 0.8273 GB, free: 1.195 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005902/0.4961, allocations: 306.6 kB / 0.8276 GB, free: 1.016 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.4961, allocations: 2.719 kB / 0.8276 GB, free: 1.016 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.416e-05/0.4961, allocations: 7.438 kB / 0.8276 GB, free: 1.012 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.4961, allocations: 9.375 kB / 0.8276 GB, free: 1.008 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006678/0.4968, allocations: 260.4 kB / 0.8278 GB, free: 0.9453 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.4981, allocations: 1.389 MB / 0.8292 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006392/0.4988, allocations: 186 kB / 0.8294 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.499, allocations: 74.47 kB / 0.8294 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.499, allocations: 4.547 kB / 0.8294 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.4991, allocations: 43.27 kB / 0.8295 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.4991, allocations: 0 / 0.8295 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18): time 0.0007442/0.4998, allocations: 241 kB / 0.8297 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.4999, allocations: 55.66 kB / 0.8298 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.5, allocations: 166.3 kB / 0.8299 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.5, allocations: 25.7 kB / 0.83 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.085e-05/0.5001, allocations: 128 kB / 0.8301 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.971e-05/0.5002, allocations: 64.75 kB / 0.8301 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-05/0.5003, allocations: 51.17 kB / 0.8302 GB, free: 15 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.5004, allocations: 326.2 kB / 0.8305 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.5006, allocations: 64.44 kB / 0.8306 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.5009, allocations: 143.9 kB / 0.8307 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004615/0.5013, allocations: 221.1 kB / 0.8309 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5013, allocations: 5.156 kB / 0.8309 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005666/0.5019, allocations: 250.5 kB / 0.8312 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.5019, allocations: 5.688 kB / 0.8312 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.5019, allocations: 8.188 kB / 0.8312 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.5019, allocations: 2.781 kB / 0.8312 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/0.5023, allocations: 62.38 kB / 0.8312 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.5023, allocations: 6.453 kB / 0.8312 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.5025, allocations: 35.34 kB / 0.8313 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.5025, allocations: 14.69 kB / 0.8313 GB, free: 14.25 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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 0.000118/0.5026, allocations: 128 kB / 0.8314 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.26e-05/0.5027, allocations: 25.92 kB / 0.8314 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006179/0.5033, allocations: 230 kB / 0.8316 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.5033, allocations: 2.844 kB / 0.8317 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.5033, allocations: 0 / 0.8317 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-06/0.5033, allocations: 1.359 kB / 0.8317 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/0.5036, allocations: 244.4 kB / 0.8319 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.5036, allocations: 0 / 0.8319 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002988/0.5039, allocations: 48.58 kB / 0.8319 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5039, allocations: 4 kB / 0.8319 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.5039, allocations: 8.312 kB / 0.8319 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.5039, allocations: 0.5156 kB / 0.8319 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.5039, allocations: 3.984 kB / 0.8319 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005575/0.5045, allocations: 295 kB / 0.8322 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.5046, allocations: 114.9 kB / 0.8323 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.5046, allocations: 7.484 kB / 0.8323 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.5049, allocations: 15.92 kB / 0.8324 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.5049, allocations: 16.62 kB / 0.8324 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.505, allocations: 9.5 kB / 0.8324 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.873e-05/0.505, allocations: 119.2 kB / 0.8325 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/0.505, allocations: 0 / 0.8325 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003418/0.5054, allocations: 59.58 kB / 0.8326 GB, free: 13.35 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 (20): * Single equations (assignments): 20 * 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.0002109/0.5056, allocations: 143.3 kB / 0.8327 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005294/0.5061, allocations: 181.3 kB / 0.8329 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5061, allocations: 0 / 0.8329 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000225/0.5063, allocations: 85.19 kB / 0.8329 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.5068, allocations: 63 kB / 0.833 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009532/0.5078, allocations: 431.3 kB / 0.8334 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.5081, allocations: 0.7186 MB / 0.8341 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.5082, allocations: 27.73 kB / 0.8341 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.5082, allocations: 1.219 kB / 0.8341 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of Templates: time 0.005071/0.5133, allocations: 2.955 MB / 0.837 GB, free: 11.9 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.989231578074396] Failed to read output from testmodel.py, exit status != 0: 0.5210303969215602 0.533559394 0.038235022 Calling exit ...