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.001431/0.001431, allocations: 103.6 kB / 16.35 MB, free: 6.285 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.00159/0.00159, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.246/1.246, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002096/0.002096, allocations: 290.3 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8901/0.8901, allocations: 169.3 MB / 0.4989 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 98.28 kB / 0.5966 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1651, allocations: 86.97 MB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirProperties): time 0.4233/0.5884, allocations: 149.1 MB / 0.8272 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003669/0.5921, allocations: 3.62 MB / 0.8307 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.443e-05/0.5922, allocations: 0 / 0.8307 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0003202/0.5926, allocations: 67.64 kB / 0.8308 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002696/0.5929, allocations: 123.2 kB / 0.8309 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002037/0.5949, allocations: 1.019 MB / 0.8319 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003898/0.5953, allocations: 323.6 kB / 0.8322 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.227e-05/0.5954, allocations: 17.55 kB / 0.8322 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003614/0.5958, allocations: 195 kB / 0.8324 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.5959, allocations: 127.5 kB / 0.8325 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.596, allocations: 12 kB / 0.8325 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001859/0.5978, allocations: 1.216 MB / 0.8337 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 8.504e-05/0.5979, allocations: 71.78 kB / 0.8338 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.598, allocations: 111.5 kB / 0.8339 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008515/0.5989, allocations: 0.6376 MB / 0.8345 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5989, allocations: 4 kB / 0.8345 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5989, allocations: 0 / 0.8345 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.5989, allocations: 0 / 0.8345 GB, free: 1.922 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009372/0.5999, allocations: 0.5856 MB / 0.8351 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.5999, allocations: 8.031 kB / 0.8351 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.6011, allocations: 132.6 kB / 0.8352 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.6013, allocations: 220.2 kB / 0.8354 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.6013, allocations: 20.31 kB / 0.8355 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/0.6014, allocations: 20 kB / 0.8355 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004852/0.6019, allocations: 338.2 kB / 0.8358 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.6019, allocations: 0 / 0.8358 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.876e-05/0.6019, allocations: 12 kB / 0.8358 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.165e-05/0.602, allocations: 11.98 kB / 0.8358 GB, free: 500 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004751/0.6024, allocations: 320.1 kB / 0.8361 GB, free: 180 kB / 0.5919 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.001483/0.6039, allocations: 1.117 MB / 0.8372 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000445/0.6044, allocations: 182.5 kB / 0.8374 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.6045, allocations: 92.78 kB / 0.8375 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004811/0.605, allocations: 461.4 kB / 0.8379 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.6051, allocations: 34.56 kB / 0.8379 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=21): time 1.383e-06/0.6051, allocations: 0 / 0.8379 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.000607/0.6057, allocations: 269.8 kB / 0.8382 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.6057, allocations: 51.41 kB / 0.8383 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.6059, allocations: 199.2 kB / 0.8384 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.6059, allocations: 33.7 kB / 0.8385 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.35e-05/0.606, allocations: 147.9 kB / 0.8386 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/0.6061, allocations: 74.88 kB / 0.8387 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.631e-05/0.6062, allocations: 61.61 kB / 0.8387 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.6063, allocations: 322.8 kB / 0.8391 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.6065, allocations: 76.22 kB / 0.8391 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.6067, allocations: 161.3 kB / 0.8393 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004635/0.6072, allocations: 253.1 kB / 0.8395 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.6072, allocations: 3.938 kB / 0.8395 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007871/0.608, allocations: 282.3 kB / 0.8398 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.608, allocations: 4 kB / 0.8398 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.6081, allocations: 4 kB / 0.8398 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.6081, allocations: 7.984 kB / 0.8398 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003937/0.6085, allocations: 59.86 kB / 0.8399 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.6085, allocations: 7.938 kB / 0.8399 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003068/0.6088, allocations: 31.69 kB / 0.8399 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/0.6089, allocations: 11.98 kB / 0.8399 GB, free: 11.95 MB / 0.6075 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.000159/0.6091, allocations: 137.8 kB / 0.8401 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/0.6093, allocations: 23.8 kB / 0.8401 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006533/0.61, allocations: 286.2 kB / 0.8403 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.61, allocations: 3.938 kB / 0.8404 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.61, allocations: 0 / 0.8404 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.61, allocations: 0 / 0.8404 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.611, allocations: 0.5854 MB / 0.8409 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.6111, allocations: 4 kB / 0.8409 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.6113, allocations: 43.86 kB / 0.841 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.6114, allocations: 0 / 0.841 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.6114, allocations: 4 kB / 0.841 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.6114, allocations: 0 / 0.841 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.6114, allocations: 0 / 0.841 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007396/0.6122, allocations: 358.9 kB / 0.8413 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001842/0.6124, allocations: 120.8 kB / 0.8414 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.146e-05/0.6124, allocations: 4 kB / 0.8414 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003674/0.6128, allocations: 11.98 kB / 0.8414 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.6129, allocations: 15.98 kB / 0.8415 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.232e-05/0.6129, allocations: 11.98 kB / 0.8415 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001766/0.6131, allocations: 152.3 kB / 0.8416 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6131, allocations: 0 / 0.8416 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007636/0.6139, allocations: 123.8 kB / 0.8417 GB, free: 9.98 MB / 0.6075 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.0005193/0.6144, allocations: 223 kB / 0.8419 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005076/0.6149, allocations: 207.9 kB / 0.8421 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.615, allocations: 3.938 kB / 0.8421 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.6152, allocations: 99.89 kB / 0.8422 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009125/0.6161, allocations: 106.6 kB / 0.8423 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009953/0.6171, allocations: 458.9 kB / 0.8428 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.6175, allocations: 0.7367 MB / 0.8435 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003354/0.6178, allocations: 58.25 kB / 0.8436 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.6179, allocations: 23.44 kB / 0.8436 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.618, allocations: 3.938 kB / 0.8436 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of Templates: time 0.01073/0.6287, allocations: 5.5 MB / 0.849 GB, free: 2.609 MB / 0.6075 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe 2>&1)