Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirProperties") translateModel(BuildingSystems.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 110.9 kB / 16.41 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 182.3 kB / 17.34 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.247/1.247, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002081/0.002081, allocations: 285.8 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9058/0.9058, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 100.1 kB / 0.6822 GB, free: 6.918 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4082, allocations: 86.98 MB / 0.7671 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirProperties): time 0.1664/0.5747, allocations: 149.1 MB / 0.9127 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.004618/0.5794, allocations: 3.613 MB / 0.9162 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/0.5796, allocations: 3.938 kB / 0.9162 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0004185/0.58, allocations: 63.64 kB / 0.9163 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0004723/0.5806, allocations: 131.2 kB / 0.9164 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003064/0.5837, allocations: 1.018 MB / 0.9174 GB, free: 9.375 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00053/0.5842, allocations: 319.7 kB / 0.9177 GB, free: 9.062 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 6.837e-05/0.5843, allocations: 9.562 kB / 0.9177 GB, free: 9.051 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005016/0.5848, allocations: 202.8 kB / 0.9179 GB, free: 8.855 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.5851, allocations: 127.5 kB / 0.918 GB, free: 8.73 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 4.361e-05/0.5851, allocations: 12 kB / 0.918 GB, free: 8.719 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002589/0.5877, allocations: 1.216 MB / 0.9192 GB, free: 7.5 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.5879, allocations: 71.78 kB / 0.9193 GB, free: 7.43 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.588, allocations: 111.6 kB / 0.9194 GB, free: 7.32 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001616/0.5897, allocations: 0.6376 MB / 0.92 GB, free: 6.684 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.433e-06/0.5897, allocations: 0 / 0.92 GB, free: 6.684 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.943e-06/0.5897, allocations: 7.938 kB / 0.92 GB, free: 6.676 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.5897, allocations: 0 / 0.92 GB, free: 6.676 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001366/0.5911, allocations: 0.585 MB / 0.9206 GB, free: 6.043 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.5911, allocations: 8.031 kB / 0.9206 GB, free: 6.035 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001332/0.5925, allocations: 136.6 kB / 0.9207 GB, free: 5.902 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.5928, allocations: 224 kB / 0.921 GB, free: 5.645 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.5928, allocations: 20.3 kB / 0.921 GB, free: 5.625 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.736e-05/0.5929, allocations: 20 kB / 0.921 GB, free: 5.605 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005996/0.5935, allocations: 330.3 kB / 0.9213 GB, free: 5.266 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.5935, allocations: 4 kB / 0.9213 GB, free: 5.262 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.85e-05/0.5936, allocations: 12 kB / 0.9213 GB, free: 5.25 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.686e-05/0.5937, allocations: 15.98 kB / 0.9213 GB, free: 5.234 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000576/0.5942, allocations: 328.1 kB / 0.9217 GB, free: 4.914 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/0.5961, allocations: 1.105 MB / 0.9227 GB, free: 3.719 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005543/0.5966, allocations: 186.5 kB / 0.9229 GB, free: 3.527 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.5968, allocations: 84.91 kB / 0.923 GB, free: 3.441 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005963/0.5974, allocations: 469.3 kB / 0.9234 GB, free: 2.891 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.5975, allocations: 42.55 kB / 0.9235 GB, free: 2.84 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=21): time 1.863e-06/0.5975, allocations: 0 / 0.9235 GB, free: 2.84 MB / 0.6856 GB Notification: Performance of matching and sorting (n=21): time 0.0007747/0.5983, allocations: 262.8 kB / 0.9237 GB, free: 2.578 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.5983, allocations: 51.41 kB / 0.9238 GB, free: 2.516 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.5985, allocations: 207 kB / 0.924 GB, free: 2.297 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.5986, allocations: 29.7 kB / 0.924 GB, free: 2.262 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.5987, allocations: 140 kB / 0.9241 GB, free: 2.121 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 7.027e-05/0.5988, allocations: 74.84 kB / 0.9242 GB, free: 2.047 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.357e-05/0.5989, allocations: 57.7 kB / 0.9243 GB, free: 1.984 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.599, allocations: 326.8 kB / 0.9246 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.5991, allocations: 72.16 kB / 0.9246 GB, free: 1.586 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/0.5993, allocations: 160.8 kB / 0.9248 GB, free: 1.391 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003694/0.5997, allocations: 253.3 kB / 0.925 GB, free: 1.105 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.5997, allocations: 0 / 0.925 GB, free: 1.105 MB / 0.6856 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005644/0.6003, allocations: 289 kB / 0.9253 GB, free: 0.8164 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.6003, allocations: 4 kB / 0.9253 GB, free: 0.8125 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.6004, allocations: 4 kB / 0.9253 GB, free: 0.8086 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.6004, allocations: 7.938 kB / 0.9253 GB, free: 0.8008 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003055/0.6007, allocations: 55.92 kB / 0.9254 GB, free: 0.7461 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/0.6007, allocations: 11.92 kB / 0.9254 GB, free: 0.7344 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.601, allocations: 31.97 kB / 0.9254 GB, free: 0.7031 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.723e-05/0.601, allocations: 16 kB / 0.9254 GB, free: 0.6875 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.000172/0.6012, allocations: 137.7 kB / 0.9256 GB, free: 0.543 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.6014, allocations: 23.8 kB / 0.9256 GB, free: 0.5195 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005405/0.6019, allocations: 267.3 kB / 0.9259 GB, free: 256 kB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.6019, allocations: 3.938 kB / 0.9259 GB, free: 252 kB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.6019, allocations: 0 / 0.9259 GB, free: 252 kB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.602, allocations: 0 / 0.9259 GB, free: 252 kB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008895/0.6029, allocations: 0.6001 MB / 0.9264 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.6029, allocations: 0 / 0.9264 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.6031, allocations: 39.92 kB / 0.9265 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.6031, allocations: 0 / 0.9265 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.6031, allocations: 4 kB / 0.9265 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.6031, allocations: 4 kB / 0.9265 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.6031, allocations: 0 / 0.9265 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006013/0.6038, allocations: 356.1 kB / 0.9268 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/0.6039, allocations: 120.7 kB / 0.9269 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.126e-05/0.604, allocations: 7.984 kB / 0.927 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000278/0.6043, allocations: 8 kB / 0.927 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.6043, allocations: 11.98 kB / 0.927 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.411e-05/0.6044, allocations: 19.98 kB / 0.927 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001554/0.6045, allocations: 152.3 kB / 0.9271 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6045, allocations: 0 / 0.9271 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0005996/0.6051, allocations: 115.9 kB / 0.9272 GB, free: 14.73 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0005363/0.6057, allocations: 223 kB / 0.9275 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0004182/0.6061, allocations: 207.6 kB / 0.9277 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6061, allocations: 0 / 0.9277 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.6063, allocations: 107.8 kB / 0.9278 GB, free: 14.19 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000687/0.607, allocations: 95.69 kB / 0.9278 GB, free: 14.1 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009105/0.6079, allocations: 495.1 kB / 0.9283 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.6083, allocations: 0.7406 MB / 0.929 GB, free: 12.81 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.6084, allocations: 23.44 kB / 0.9291 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of SimCode: time 3.41e-07/0.6084, allocations: 0 / 0.9291 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of Templates: time 0.008381/0.6168, allocations: 4.361 MB / 0.9333 GB, free: 8.457 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe 2>&1)