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.0009181/0.0009179, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.005959/0.005959, allocations: 169.5 kB / 16.26 MB, free: 6.652 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.332/1.332, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001688/0.001688, allocations: 278.9 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.002/1.002, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000403/0.0004031, allocations: 20.09 kB / 0.5986 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1929, allocations: 88.55 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirProperties): time 0.4936/0.6865, allocations: 144.9 MB / 0.8266 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0037/0.6903, allocations: 3.633 MB / 0.8302 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.077e-05/0.6904, allocations: 1.031 kB / 0.8302 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003265/0.6907, allocations: 60.48 kB / 0.8303 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003161/0.691, allocations: 123 kB / 0.8304 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002261/0.6933, allocations: 0.9402 MB / 0.8313 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004981/0.6938, allocations: 499.8 kB / 0.8318 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.038e-05/0.6939, allocations: 13.7 kB / 0.8318 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003818/0.6943, allocations: 181.8 kB / 0.832 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.6945, allocations: 139.8 kB / 0.8321 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.6945, allocations: 8.25 kB / 0.8321 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002063/0.6966, allocations: 1.528 MB / 0.8336 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.973e-05/0.6967, allocations: 77.62 kB / 0.8337 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.6968, allocations: 133.2 kB / 0.8338 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.6979, allocations: 0.7321 MB / 0.8345 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6979, allocations: 0 / 0.8345 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6979, allocations: 0 / 0.8345 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.6979, allocations: 0 / 0.8345 GB, free: 11.91 MB / 0.5606 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.0009619/0.6989, allocations: 0.5451 MB / 0.835 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.6989, allocations: 9.781 kB / 0.835 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.7001, allocations: 133.4 kB / 0.8352 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.7003, allocations: 223.8 kB / 0.8354 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.7003, allocations: 19.56 kB / 0.8354 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.312e-05/0.7004, allocations: 19.64 kB / 0.8354 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004905/0.7008, allocations: 331.8 kB / 0.8357 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.7009, allocations: 4 kB / 0.8357 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.16e-05/0.7009, allocations: 10.75 kB / 0.8358 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.499e-05/0.701, allocations: 16.67 kB / 0.8358 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004608/0.7014, allocations: 322.1 kB / 0.8361 GB, free: 10.94 MB / 0.5606 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.001447/0.7029, allocations: 1.103 MB / 0.8372 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004384/0.7033, allocations: 196.6 kB / 0.8373 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.7035, allocations: 86.05 kB / 0.8374 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004914/0.704, allocations: 463.6 kB / 0.8379 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.704, allocations: 37.88 kB / 0.8379 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=21): time 1.713e-06/0.704, allocations: 3.938 kB / 0.8379 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21): time 0.000596/0.7046, allocations: 269.4 kB / 0.8382 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.7047, allocations: 60.53 kB / 0.8382 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.7048, allocations: 198 kB / 0.8384 GB, free: 9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.7049, allocations: 29.08 kB / 0.8384 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.268e-05/0.705, allocations: 150.3 kB / 0.8386 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.03e-05/0.705, allocations: 73.59 kB / 0.8387 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.7051, allocations: 25.5 kB / 0.8387 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.7052, allocations: 329.9 kB / 0.839 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.7053, allocations: 67.64 kB / 0.8391 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.7055, allocations: 165.2 kB / 0.8392 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.7058, allocations: 247.9 kB / 0.8394 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.7058, allocations: 0 / 0.8394 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004605/0.7063, allocations: 286.2 kB / 0.8397 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.7063, allocations: 6.781 kB / 0.8397 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.7063, allocations: 6.922 kB / 0.8397 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.7063, allocations: 3.406 kB / 0.8397 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.7066, allocations: 63.5 kB / 0.8398 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.7066, allocations: 13.09 kB / 0.8398 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.7068, allocations: 29.38 kB / 0.8398 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.409e-05/0.7068, allocations: 13.06 kB / 0.8399 GB, free: 7.859 MB / 0.5606 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.0001204/0.707, allocations: 139.7 kB / 0.84 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.7071, allocations: 32.08 kB / 0.84 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004903/0.7076, allocations: 277.8 kB / 0.8403 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.7076, allocations: 6.969 kB / 0.8403 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.7076, allocations: 0 / 0.8403 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.7076, allocations: 0 / 0.8403 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000671/0.7083, allocations: 0.5875 MB / 0.8409 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.7083, allocations: 6.906 kB / 0.8409 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.7085, allocations: 28.98 kB / 0.8409 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.7085, allocations: 2.531 kB / 0.8409 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.7085, allocations: 9.844 kB / 0.8409 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.7085, allocations: 0 / 0.8409 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.7085, allocations: 1.562 kB / 0.8409 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004496/0.709, allocations: 347 kB / 0.8412 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.7091, allocations: 116.8 kB / 0.8414 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.7092, allocations: 12.53 kB / 0.8414 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.7094, allocations: 16.86 kB / 0.8414 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.7094, allocations: 11.77 kB / 0.8414 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/0.7095, allocations: 16.11 kB / 0.8414 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001111/0.7096, allocations: 149.6 kB / 0.8415 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.433e-06/0.7096, allocations: 0 / 0.8415 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004782/0.7101, allocations: 126.7 kB / 0.8417 GB, free: 6.527 MB / 0.5606 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.0003916/0.7105, allocations: 218.9 kB / 0.8419 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003423/0.7108, allocations: 213.5 kB / 0.8421 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.7109, allocations: 0 / 0.8421 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.711, allocations: 102.9 kB / 0.8422 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006641/0.7117, allocations: 93.33 kB / 0.8423 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007607/0.7124, allocations: 0.5706 MB / 0.8428 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.7127, allocations: 0.7422 MB / 0.8436 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002746/0.713, allocations: 61.69 kB / 0.8436 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.674e-05/0.7131, allocations: 21.19 kB / 0.8436 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of SimCode: time 2.01e-07/0.7131, allocations: 2.188 kB / 0.8436 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of Templates: time 0.009125/0.7222, allocations: 5.277 MB / 0.8488 GB, free: 2.391 MB / 0.5606 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)