Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.Rooms.BaseClasses.Examples.AirHeatMassBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance") translateModel(Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001073, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001196/0.001196, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.966/1.966, allocations: 205.4 MB / 222.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.72/0.72, allocations: 95.63 MB / 366 MB, free: 10.32 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006654/0.0006657, allocations: 20 kB / 446.8 MB, free: 9.328 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4481/0.4488, allocations: 70.34 MB / 0.5051 GB, free: 16.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance): time 0.6038/1.053, allocations: 139.6 MB / 0.6414 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01477/1.067, allocations: 6.886 MB / 0.6482 GB, free: 2.68 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Rooms/BaseClasses/AirHeatMassBalanceMixed.mo:12:3-13:54:writable] Warning: Parameter homotopyInitialization has annotation(Evaluate=true) and no binding. Notification: Performance of NFInst.updateImplicitVariability: time 0.004617/1.072, allocations: 64.28 kB / 0.6482 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005867/1.078, allocations: 1.248 MB / 0.6494 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005252/1.083, allocations: 0.9512 MB / 0.6504 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002019/1.085, allocations: 370.1 kB / 0.6507 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004946/1.09, allocations: 2.115 MB / 0.6528 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001723/1.092, allocations: 0.6599 MB / 0.6534 GB, free: 2.457 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001973/1.094, allocations: 0.6461 MB / 0.6541 GB, free: 2.453 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/1.095, allocations: 0.7343 MB / 0.6548 GB, free: 2.453 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001355/1.095, allocations: 58.09 kB / 0.6548 GB, free: 2.453 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008117/1.096, allocations: 213.6 kB / 0.655 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000267/1.096, allocations: 228 kB / 0.6553 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005634/1.097, allocations: 343.3 kB / 0.6556 GB, free: 2.414 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002269/1.099, allocations: 1.552 MB / 0.6571 GB, free: 2.277 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.321e-05/1.099, allocations: 0 / 0.6571 GB, free: 2.277 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.066e-06/1.099, allocations: 0 / 0.6571 GB, free: 2.277 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.232e-05/1.099, allocations: 0 / 0.6571 GB, free: 2.277 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.003325/1.103, allocations: 1.749 MB / 0.6588 GB, free: 1.277 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/1.103, allocations: 13.27 kB / 0.6588 GB, free: 1.273 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003653/1.103, allocations: 183.3 kB / 0.659 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002434/1.106, allocations: 1.413 MB / 0.6604 GB, free: 0.793 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/1.106, allocations: 33.5 kB / 0.6604 GB, free: 0.793 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.339e-05/1.106, allocations: 48.44 kB / 0.6605 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009973/1.107, allocations: 0.6192 MB / 0.6611 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/1.107, allocations: 3.594 kB / 0.6611 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.853e-05/1.107, allocations: 20.38 kB / 0.6611 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/1.107, allocations: 14.38 kB / 0.6611 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007396/1.108, allocations: 442.5 kB / 0.6615 GB, free: 0.6367 MB / 494.1 MB 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.004844/1.112, allocations: 3.439 MB / 0.6649 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000434/1.113, allocations: 225.6 kB / 0.6651 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/1.113, allocations: 95.09 kB / 0.6652 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000272/1.113, allocations: 177.8 kB / 0.6654 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/1.113, allocations: 36.41 kB / 0.6654 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=17): time 3.316e-06/1.113, allocations: 0 / 0.6654 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22): time 0.003811/1.117, allocations: 1.498 MB / 0.6669 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.878e-05/1.117, allocations: 54.97 kB / 0.6669 GB, free: 13.71 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Rooms/BaseClasses/AirHeatMassBalanceMixed.mo:12:3-13:54:writable] Warning: Parameter air.homotopyInitialization has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004351/1.122, allocations: 2.281 MB / 0.6691 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.079e-05/1.122, allocations: 25.7 kB / 0.6692 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001009/1.123, allocations: 0.7699 MB / 0.6699 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/1.123, allocations: 80.56 kB / 0.67 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.179e-05/1.123, allocations: 8.25 kB / 0.67 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002117/1.123, allocations: 325 kB / 0.6703 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/1.123, allocations: 108 kB / 0.6704 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003683/1.124, allocations: 310.1 kB / 0.6707 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003119/1.124, allocations: 182.8 kB / 0.6709 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/1.124, allocations: 2.906 kB / 0.6709 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001225/1.125, allocations: 0.7353 MB / 0.6716 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/1.125, allocations: 11.7 kB / 0.6716 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/1.125, allocations: 5.5 kB / 0.6716 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003125/1.126, allocations: 89.7 kB / 0.6717 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/1.126, allocations: 96.16 kB / 0.6718 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00278/1.129, allocations: 2.964 MB / 0.6747 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009643/1.13, allocations: 31.92 kB / 0.6747 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.834e-05/1.13, allocations: 24.38 kB / 0.6747 GB, free: 9.805 MB / 0.4981 GB Warning: Assuming fixed start value for the following 2 variables: air.vol.dynBal.medium.T:VARIABLE(min = max(273.15, 273.15) max = min(373.15, 373.15) start = air.vol.dynBal.T_start unit = "K" fixed = true nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real air.vol.dynBal.medium.p:VARIABLE(flow=false min = max(0.0, 0.0) max = 100000000.0 start = air.vol.dynBal.p_start unit = "Pa" fixed = true nominal = 101325.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001301/1.131, allocations: 0.6381 MB / 0.6754 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003061/1.131, allocations: 168 kB / 0.6755 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009267/1.132, allocations: 0.5473 MB / 0.6761 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/1.132, allocations: 6.859 kB / 0.6761 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/1.132, allocations: 3.938 kB / 0.6761 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/1.132, allocations: 0 / 0.6761 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/1.135, allocations: 1.533 MB / 0.6776 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/1.135, allocations: 64 / 0.6776 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/1.135, allocations: 44.41 kB / 0.6776 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002062/1.135, allocations: 76.05 kB / 0.6777 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/1.135, allocations: 8.906 kB / 0.6777 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002507/1.138, allocations: 2.954 MB / 0.6806 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.138, allocations: 2.938 kB / 0.6806 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/1.139, allocations: 0.7288 MB / 0.6813 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007664/1.14, allocations: 335.7 kB / 0.6816 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/1.14, allocations: 10 kB / 0.6816 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004236/1.141, allocations: 15.77 kB / 0.6816 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.384e-05/1.141, allocations: 24.77 kB / 0.6817 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/1.141, allocations: 8.984 kB / 0.6817 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003017/1.144, allocations: 1.608 MB / 0.6832 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.144, allocations: 2.906 kB / 0.6832 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001115/1.145, allocations: 236.6 kB / 0.6835 GB, free: 5.539 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (air.vol.dynBal.medium.p,air.vol.dynBal.medium.T) * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003831/1.145, allocations: 152.5 kB / 0.6836 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009526/1.146, allocations: 0.5297 MB / 0.6841 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.146, allocations: 0 / 0.6841 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004303/1.147, allocations: 367.9 kB / 0.6845 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002621/1.149, allocations: 0.6722 MB / 0.6851 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005927/1.155, allocations: 3.354 MB / 0.6884 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001417/1.157, allocations: 1.595 MB / 0.69 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001385/1.158, allocations: 268.2 kB / 0.6902 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/1.158, allocations: 90.2 kB / 0.6903 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of SimCode: time 1.894e-06/1.158, allocations: 0 / 0.6903 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of Templates: time 0.05045/1.209, allocations: 22.39 MB / 0.7122 GB, free: 15.4 MB / 0.5294 GB make -j1 -f Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.pipe ; mkfifo Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.pipe >> ../files/Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.sim & ./Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.pipe 2>&1) Environment - environmentSimulation: