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.001125/0.001125, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 196.9 kB / 16.53 MB, free: 6.664 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.492/1.492, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.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.752/1.752, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001579/0.001579, allocations: 67.05 kB / 0.6715 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2512, allocations: 114.5 MB / 0.7833 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.7776/1.029, allocations: 149.1 MB / 0.9289 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00766/1.037, allocations: 7.062 MB / 0.9358 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002442/1.037, allocations: 2.625 kB / 0.9358 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004121/1.037, allocations: 67.69 kB / 0.9359 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004008/1.038, allocations: 134.5 kB / 0.936 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003162/1.041, allocations: 0.9922 MB / 0.937 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005305/1.042, allocations: 314.5 kB / 0.9373 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.269e-05/1.042, allocations: 12.25 kB / 0.9373 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005339/1.042, allocations: 194.7 kB / 0.9375 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/1.042, allocations: 129.1 kB / 0.9376 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/1.042, allocations: 10.81 kB / 0.9376 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002564/1.045, allocations: 1.2 MB / 0.9388 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001566/1.045, allocations: 63.42 kB / 0.9389 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001975/1.045, allocations: 108.7 kB / 0.939 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001782/1.047, allocations: 0.6195 MB / 0.9396 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/1.047, allocations: 0.5625 kB / 0.9396 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.146e-06/1.047, allocations: 0 / 0.9396 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.013e-05/1.047, allocations: 1.094 kB / 0.9396 GB, free: 2.062 MB / 0.7169 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.001591/1.049, allocations: 0.5834 MB / 0.9401 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.211e-05/1.049, allocations: 9.5 kB / 0.9401 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001373/1.05, allocations: 137.6 kB / 0.9403 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003187/1.051, allocations: 222.4 kB / 0.9405 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/1.051, allocations: 15.38 kB / 0.9405 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.79e-05/1.051, allocations: 18.31 kB / 0.9405 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000689/1.051, allocations: 339.9 kB / 0.9408 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/1.051, allocations: 6.375 kB / 0.9409 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.971e-05/1.051, allocations: 10.34 kB / 0.9409 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.565e-05/1.051, allocations: 13.47 kB / 0.9409 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006549/1.052, allocations: 325.3 kB / 0.9412 GB, free: 17.3 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.001992/1.054, allocations: 1.112 MB / 0.9423 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005745/1.055, allocations: 188 kB / 0.9424 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/1.055, allocations: 83.53 kB / 0.9425 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006361/1.056, allocations: 463 kB / 0.943 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/1.056, allocations: 36.84 kB / 0.943 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 3.106e-06/1.056, allocations: 0 / 0.943 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.0008068/1.056, allocations: 264.2 kB / 0.9433 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/1.056, allocations: 52.62 kB / 0.9433 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/1.057, allocations: 205.2 kB / 0.9435 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/1.057, allocations: 30.7 kB / 0.9435 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.064e-05/1.057, allocations: 144.5 kB / 0.9437 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.878e-05/1.057, allocations: 73.45 kB / 0.9437 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/1.057, allocations: 56.42 kB / 0.9438 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.057, allocations: 327.1 kB / 0.9441 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/1.057, allocations: 73.06 kB / 0.9442 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/1.058, allocations: 160.5 kB / 0.9443 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003969/1.058, allocations: 251.4 kB / 0.9446 GB, free: 15 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/1.058, allocations: 0.75 kB / 0.9446 GB, free: 15 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007083/1.059, allocations: 283.9 kB / 0.9448 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/1.059, allocations: 6.219 kB / 0.9448 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/1.059, allocations: 7.156 kB / 0.9449 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.895e-05/1.059, allocations: 10.28 kB / 0.9449 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/1.059, allocations: 59.84 kB / 0.9449 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/1.059, allocations: 4.5 kB / 0.9449 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/1.059, allocations: 30.97 kB / 0.945 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.896e-05/1.059, allocations: 14.48 kB / 0.945 GB, free: 14.91 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.0001719/1.06, allocations: 133.5 kB / 0.9451 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/1.06, allocations: 26.44 kB / 0.9451 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007194/1.06, allocations: 282.4 kB / 0.9454 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/1.061, allocations: 6.188 kB / 0.9454 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/1.061, allocations: 0.5938 kB / 0.9454 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/1.061, allocations: 3.359 kB / 0.9454 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/1.062, allocations: 0.576 MB / 0.946 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/1.062, allocations: 5.156 kB / 0.946 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/1.062, allocations: 35.59 kB / 0.946 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/1.062, allocations: 3.969 kB / 0.946 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/1.062, allocations: 5.75 kB / 0.946 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/1.062, allocations: 5.188 kB / 0.946 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.062, allocations: 1.031 kB / 0.946 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007091/1.063, allocations: 344.5 kB / 0.9463 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/1.063, allocations: 122.4 kB / 0.9465 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.531e-05/1.063, allocations: 6.719 kB / 0.9465 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/1.063, allocations: 7.906 kB / 0.9465 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/1.063, allocations: 11.09 kB / 0.9465 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4e-05/1.063, allocations: 15.06 kB / 0.9465 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001769/1.063, allocations: 155.2 kB / 0.9466 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/1.064, allocations: 0 / 0.9466 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000804/1.064, allocations: 110.7 kB / 0.9468 GB, free: 14.03 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.0005996/1.065, allocations: 222.5 kB / 0.947 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005306/1.065, allocations: 216.2 kB / 0.9472 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/1.065, allocations: 5.438 kB / 0.9472 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002116/1.066, allocations: 107.3 kB / 0.9473 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007233/1.066, allocations: 100.3 kB / 0.9474 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/1.067, allocations: 467.8 kB / 0.9478 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/1.068, allocations: 0.7372 MB / 0.9485 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003528/1.068, allocations: 51.11 kB / 0.9486 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.51e-05/1.068, allocations: 25.98 kB / 0.9486 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of SimCode: time 3.4e-07/1.068, allocations: 0 / 0.9486 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of Templates: time 0.01263/1.081, allocations: 5.404 MB / 0.9539 GB, free: 12.5 MB / 0.7325 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)