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.001226/0.001226, allocations: 108.1 kB / 16.27 MB, free: 5.984 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.001317/0.001318, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.376/1.376, allocations: 205.1 MB / 223.1 MB, free: 12.27 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.941/1.941, allocations: 292.3 MB / 0.5495 GB, free: 17.54 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.002699/0.002699, allocations: 59.91 kB / 0.6721 GB, free: 6.574 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3177, allocations: 114.6 MB / 0.784 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.57/0.8877, allocations: 149.1 MB / 0.9296 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007633/0.8954, allocations: 7.055 MB / 0.9365 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001967/0.8956, allocations: 7.938 kB / 0.9365 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003643/0.896, allocations: 67.62 kB / 0.9366 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003348/0.8963, allocations: 127.3 kB / 0.9367 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002679/0.8991, allocations: 0.9865 MB / 0.9377 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003776/0.8995, allocations: 323.7 kB / 0.938 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.433e-05/0.8995, allocations: 10.89 kB / 0.938 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003977/0.9, allocations: 189.3 kB / 0.9382 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.9001, allocations: 131.5 kB / 0.9383 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.9002, allocations: 8 kB / 0.9383 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001907/0.9021, allocations: 1.2 MB / 0.9395 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.377e-05/0.9022, allocations: 67.78 kB / 0.9395 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.9023, allocations: 109.4 kB / 0.9396 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000985/0.9033, allocations: 0.6157 MB / 0.9402 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.9033, allocations: 0 / 0.9402 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.595e-06/0.9033, allocations: 0 / 0.9402 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.9034, allocations: 0 / 0.9402 GB, free: 10.64 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.001151/0.9045, allocations: 0.5801 MB / 0.9408 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.9046, allocations: 12.03 kB / 0.9408 GB, free: 10 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/0.9058, allocations: 136.5 kB / 0.9409 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.906, allocations: 226.5 kB / 0.9412 GB, free: 9.613 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.906, allocations: 20.31 kB / 0.9412 GB, free: 9.594 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.9061, allocations: 16 kB / 0.9412 GB, free: 9.578 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000545/0.9066, allocations: 338 kB / 0.9415 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.9067, allocations: 7.938 kB / 0.9415 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.352e-05/0.9067, allocations: 4 kB / 0.9415 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.429e-05/0.9067, allocations: 16 kB / 0.9415 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005179/0.9073, allocations: 328.8 kB / 0.9418 GB, free: 8.883 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.001612/0.9089, allocations: 1.109 MB / 0.9429 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004766/0.9094, allocations: 192.4 kB / 0.9431 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.9095, allocations: 82.22 kB / 0.9432 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005239/0.91, allocations: 461.4 kB / 0.9436 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.9101, allocations: 34.56 kB / 0.9437 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 4.508e-06/0.9101, allocations: 3.984 kB / 0.9437 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.0006744/0.9108, allocations: 257.3 kB / 0.9439 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.9108, allocations: 59.34 kB / 0.944 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.911, allocations: 204.3 kB / 0.9442 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.9111, allocations: 25.7 kB / 0.9442 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.647e-05/0.9112, allocations: 144 kB / 0.9443 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.452e-05/0.9112, allocations: 83.03 kB / 0.9444 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.185e-05/0.9113, allocations: 57.55 kB / 0.9445 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.9114, allocations: 326.8 kB / 0.9448 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.9116, allocations: 72.22 kB / 0.9448 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.9117, allocations: 160.8 kB / 0.945 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/0.9121, allocations: 250.5 kB / 0.9452 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.9121, allocations: 1.219 kB / 0.9452 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004909/0.9126, allocations: 281.1 kB / 0.9455 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.9126, allocations: 4 kB / 0.9455 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.9126, allocations: 4 kB / 0.9455 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.9126, allocations: 7.984 kB / 0.9455 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.9129, allocations: 55.86 kB / 0.9456 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.9129, allocations: 12.31 kB / 0.9456 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.9131, allocations: 31.69 kB / 0.9456 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/0.9132, allocations: 15.98 kB / 0.9456 GB, free: 4.676 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.0001244/0.9133, allocations: 133.8 kB / 0.9458 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.9134, allocations: 28.45 kB / 0.9458 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000455/0.9139, allocations: 270.6 kB / 0.946 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.9139, allocations: 3.938 kB / 0.946 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.9139, allocations: 4 kB / 0.9461 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.9139, allocations: 0 / 0.9461 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007003/0.9146, allocations: 0.5865 MB / 0.9466 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.9147, allocations: 6.812 kB / 0.9466 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.9148, allocations: 31.97 kB / 0.9467 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.9149, allocations: 4 kB / 0.9467 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.9149, allocations: 7.938 kB / 0.9467 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.9149, allocations: 8.062 kB / 0.9467 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.9149, allocations: 1.969 kB / 0.9467 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005133/0.9154, allocations: 345.9 kB / 0.947 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.9156, allocations: 116.8 kB / 0.9471 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.9156, allocations: 4 kB / 0.9471 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.9158, allocations: 15.98 kB / 0.9471 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.9159, allocations: 11.98 kB / 0.9472 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.9159, allocations: 12 kB / 0.9472 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001253/0.916, allocations: 153.4 kB / 0.9473 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9161, allocations: 0 / 0.9473 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000501/0.9166, allocations: 115.9 kB / 0.9474 GB, free: 2.742 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.0004351/0.917, allocations: 215 kB / 0.9476 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004001/0.9174, allocations: 222.1 kB / 0.9478 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.9174, allocations: 0 / 0.9478 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.9176, allocations: 104.6 kB / 0.9479 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006165/0.9182, allocations: 97.56 kB / 0.948 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008298/0.919, allocations: 495.6 kB / 0.9485 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.9194, allocations: 0.7406 MB / 0.9492 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.695e-05/0.9195, allocations: 23.44 kB / 0.9492 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.9195, allocations: 0 / 0.9492 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of Templates: time 0.006816/0.9263, allocations: 4.291 MB / 0.9534 GB, free: 12.61 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)