Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 99.67 kB / 16.36 MB, free: 6.301 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.001125/0.001125, allocations: 189.2 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.784/1.784, allocations: 292.3 MB / 0.5496 GB, free: 17.42 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 79.17 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2773, allocations: 114.5 MB / 0.7848 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.6153/0.8926, allocations: 149.1 MB / 0.9304 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00815/0.9008, allocations: 7.067 MB / 0.9373 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/0.9011, allocations: 0 / 0.9373 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003604/0.9015, allocations: 65.03 kB / 0.9373 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003734/0.9019, allocations: 135.2 kB / 0.9374 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002737/0.9046, allocations: 0.9894 MB / 0.9384 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003941/0.9051, allocations: 323.7 kB / 0.9387 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.703e-05/0.9051, allocations: 10.89 kB / 0.9387 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003691/0.9055, allocations: 183.2 kB / 0.9389 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.9057, allocations: 131.5 kB / 0.939 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.9057, allocations: 12 kB / 0.939 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001946/0.9077, allocations: 1.196 MB / 0.9402 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.216e-05/0.9078, allocations: 69.11 kB / 0.9403 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.9079, allocations: 111.5 kB / 0.9404 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.9089, allocations: 0.6214 MB / 0.941 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.909, allocations: 0 / 0.941 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.623e-06/0.909, allocations: 0 / 0.941 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.909, allocations: 0 / 0.941 GB, free: 10.14 MB / 0.7325 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.001115/0.9101, allocations: 0.5879 MB / 0.9416 GB, free: 9.508 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.9101, allocations: 12.03 kB / 0.9416 GB, free: 9.496 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.9113, allocations: 132.5 kB / 0.9417 GB, free: 9.367 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.9116, allocations: 224.2 kB / 0.9419 GB, free: 9.109 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.9116, allocations: 20.31 kB / 0.9419 GB, free: 9.09 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.9116, allocations: 16 kB / 0.942 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006015/0.9123, allocations: 346 kB / 0.9423 GB, free: 8.719 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.9123, allocations: 1.406 kB / 0.9423 GB, free: 8.719 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/0.9123, allocations: 8 kB / 0.9423 GB, free: 8.711 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.277e-05/0.9124, allocations: 19.98 kB / 0.9423 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005323/0.9129, allocations: 320.8 kB / 0.9426 GB, free: 8.379 MB / 0.7325 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.00168/0.9146, allocations: 1.109 MB / 0.9437 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000468/0.9151, allocations: 190.4 kB / 0.9439 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.9152, allocations: 76.81 kB / 0.944 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005597/0.9158, allocations: 465.4 kB / 0.9444 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.9158, allocations: 39.06 kB / 0.9444 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 1.562e-06/0.9158, allocations: 0 / 0.9444 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.0006785/0.9165, allocations: 258 kB / 0.9447 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.9166, allocations: 51.41 kB / 0.9447 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.9168, allocations: 208.2 kB / 0.9449 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.9168, allocations: 29.7 kB / 0.945 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.9169, allocations: 152 kB / 0.9451 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.365e-05/0.917, allocations: 67.7 kB / 0.9452 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.9171, allocations: 57.61 kB / 0.9452 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.9172, allocations: 326.8 kB / 0.9455 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.9174, allocations: 72.23 kB / 0.9456 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.9176, allocations: 168.7 kB / 0.9458 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003125/0.9179, allocations: 246.2 kB / 0.946 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.9179, allocations: 4 kB / 0.946 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00052/0.9184, allocations: 285.7 kB / 0.9463 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.9184, allocations: 10.06 kB / 0.9463 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.9185, allocations: 0 / 0.9463 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.643e-05/0.9185, allocations: 4.375 kB / 0.9463 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.9188, allocations: 71.84 kB / 0.9464 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.9188, allocations: 6.031 kB / 0.9464 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.919, allocations: 27.8 kB / 0.9464 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/0.9191, allocations: 15.94 kB / 0.9464 GB, free: 4.172 MB / 0.7325 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.0001393/0.9192, allocations: 137.8 kB / 0.9465 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.9193, allocations: 23.72 kB / 0.9466 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004717/0.9198, allocations: 268.1 kB / 0.9468 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.9198, allocations: 7.938 kB / 0.9468 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.9198, allocations: 7.984 kB / 0.9468 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.9199, allocations: 5.219 kB / 0.9468 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007516/0.9206, allocations: 0.5749 MB / 0.9474 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.9206, allocations: 3.938 kB / 0.9474 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.9208, allocations: 35.92 kB / 0.9474 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.9208, allocations: 0 / 0.9474 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.9209, allocations: 8 kB / 0.9474 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.9209, allocations: 4.062 kB / 0.9474 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.9209, allocations: 0 / 0.9474 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000526/0.9214, allocations: 342 kB / 0.9478 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.9215, allocations: 124.8 kB / 0.9479 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.663e-05/0.9216, allocations: 0 / 0.9479 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.9218, allocations: 13.55 kB / 0.9479 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.9219, allocations: 15.92 kB / 0.9479 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/0.9219, allocations: 17.86 kB / 0.9479 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001295/0.922, allocations: 157.4 kB / 0.9481 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9221, allocations: 0 / 0.9481 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004873/0.9225, allocations: 115.9 kB / 0.9482 GB, free: 2.234 MB / 0.7325 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.0004263/0.923, allocations: 220.8 kB / 0.9484 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003879/0.9234, allocations: 208.5 kB / 0.9486 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.9234, allocations: 0 / 0.9486 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.9235, allocations: 101.4 kB / 0.9487 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006246/0.9242, allocations: 102 kB / 0.9488 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008231/0.925, allocations: 495.5 kB / 0.9493 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.9254, allocations: 0.7289 MB / 0.95 GB, free: 356 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.9255, allocations: 27.42 kB / 0.95 GB, free: 328 kB / 0.7325 GB Notification: Performance of SimCode: time 4.21e-07/0.9255, allocations: 0 / 0.95 GB, free: 328 kB / 0.7325 GB Notification: Performance of Templates: time 0.007014/0.9325, allocations: 4.29 MB / 0.9542 GB, free: 12.11 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Media.Examples.AirProperties.makefile (rm -f Buildings_8_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirProperties.sim & ./Buildings_8_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.AirProperties.pipe 2>&1)