Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.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.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 115.2 kB / 16.37 MB, free: 6 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.001227/0.001227, allocations: 189.3 kB / 17.3 MB, free: 5.617 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.645/1.645, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.916/1.916, allocations: 292.3 MB / 0.5496 GB, free: 17.62 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.001455/0.001455, allocations: 63.91 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2682, allocations: 114.5 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.7209/0.9891, allocations: 179.2 MB / 0.9598 GB, free: 6.797 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01942/1.009, allocations: 10.92 MB / 0.9705 GB, free: 11.85 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004158/1.013, allocations: 83.5 kB / 0.9706 GB, free: 11.77 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.006988/1.02, allocations: 2.016 MB / 0.9725 GB, free: 9.746 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.006238/1.026, allocations: 1.612 MB / 0.9741 GB, free: 8.125 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002837/1.029, allocations: 0.7781 MB / 0.9749 GB, free: 7.352 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.006104/1.035, allocations: 3.113 MB / 0.9779 GB, free: 4.234 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002492/1.038, allocations: 1.31 MB / 0.9792 GB, free: 2.906 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002807/1.04, allocations: 1.104 MB / 0.9803 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003872/1.044, allocations: 1.105 MB / 0.9814 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0006721/1.045, allocations: 124 kB / 0.9815 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003268/1.048, allocations: 0.9238 MB / 0.9824 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0008854/1.049, allocations: 478.1 kB / 0.9828 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.00223/1.051, allocations: 1.091 MB / 0.9839 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.005806/1.057, allocations: 3.235 MB / 0.9871 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.926e-06/1.057, allocations: 0 / 0.9871 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 5.37e-06/1.057, allocations: 0 / 0.9871 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.664e-05/1.057, allocations: 3.938 kB / 0.9871 GB, free: 10.83 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.005195/1.063, allocations: 2.742 MB / 0.9897 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/1.063, allocations: 8.031 kB / 0.9897 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00157/1.064, allocations: 368.6 kB / 0.9901 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003724/1.068, allocations: 1.993 MB / 0.992 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.876e-05/1.068, allocations: 59.97 kB / 0.9921 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/1.068, allocations: 73.88 kB / 0.9922 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001817/1.07, allocations: 0.9368 MB / 0.9931 GB, free: 4.492 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/1.07, allocations: 3.938 kB / 0.9931 GB, free: 4.488 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.479e-05/1.07, allocations: 32 kB / 0.9931 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-05/1.07, allocations: 32.94 kB / 0.9931 GB, free: 4.422 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/1.072, allocations: 0.6986 MB / 0.9938 GB, free: 3.727 MB / 0.7794 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.007813/1.079, allocations: 4.444 MB / 0.9982 GB, free: 15.06 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005096/1.08, allocations: 316.3 kB / 0.9985 GB, free: 14.75 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002552/1.08, allocations: 176.8 kB / 0.9986 GB, free: 14.57 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001962/1.08, allocations: 97.09 kB / 0.9987 GB, free: 14.46 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/1.08, allocations: 44.31 kB / 0.9988 GB, free: 14.41 MB / 0.795 GB Notification: Performance of pre-optimization done (n=30): time 1.824e-06/1.08, allocations: 0 / 0.9988 GB, free: 14.41 MB / 0.795 GB Notification: Performance of matching and sorting (n=32): time 0.003187/1.084, allocations: 1.694 MB / 1 GB, free: 12.63 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/1.084, allocations: 59.39 kB / 1 GB, free: 12.56 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003836/1.088, allocations: 2.937 MB / 1.003 GB, free: 9.609 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.293e-05/1.088, allocations: 33.7 kB / 1.003 GB, free: 9.57 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009625/1.089, allocations: 1.059 MB / 1.004 GB, free: 8.512 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/1.089, allocations: 118.4 kB / 1.005 GB, free: 8.395 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/1.089, allocations: 110.1 kB / 1.005 GB, free: 8.277 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001325/1.089, allocations: 326 kB / 1.005 GB, free: 7.953 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/1.089, allocations: 165 kB / 1.005 GB, free: 7.793 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003989/1.09, allocations: 362.9 kB / 1.005 GB, free: 7.352 MB / 0.795 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: air.vol.dynBal.medium.p = air.vol.dynBal.p_start (boundary.p = air.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002029/1.092, allocations: 1.082 MB / 1.007 GB, free: 6.168 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.471e-05/1.092, allocations: 7.938 kB / 1.007 GB, free: 6.16 MB / 0.795 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001257/1.093, allocations: 0.7907 MB / 1.007 GB, free: 5.359 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/1.093, allocations: 8 kB / 1.007 GB, free: 5.352 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/1.093, allocations: 8.719 kB / 1.007 GB, free: 5.344 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001928/1.093, allocations: 67.06 kB / 1.007 GB, free: 5.277 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003436/1.094, allocations: 99.84 kB / 1.007 GB, free: 5.18 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/1.095, allocations: 1.859 MB / 1.009 GB, free: 3.184 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009112/1.096, allocations: 31.92 kB / 1.009 GB, free: 3.152 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.24e-05/1.096, allocations: 24.64 kB / 1.009 GB, free: 3.129 MB / 0.795 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: air.vol.dynBal.medium.p = air.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001157/1.097, allocations: 0.799 MB / 1.01 GB, free: 2.32 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002941/1.098, allocations: 233 kB / 1.01 GB, free: 2.09 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003531/1.098, allocations: 251.7 kB / 1.011 GB, free: 1.84 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/1.098, allocations: 0 / 1.011 GB, free: 1.84 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/1.098, allocations: 4 kB / 1.011 GB, free: 1.836 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006854/1.099, allocations: 0.5977 MB / 1.011 GB, free: 1.168 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002957/1.102, allocations: 2.047 MB / 1.013 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/1.102, allocations: 4 kB / 1.013 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003126/1.102, allocations: 67.91 kB / 1.013 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001568/1.102, allocations: 60.25 kB / 1.013 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/1.102, allocations: 12 kB / 1.013 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/1.104, allocations: 1.854 MB / 1.015 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.104, allocations: 7.969 kB / 1.015 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/1.105, allocations: 0.9445 MB / 1.016 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007106/1.106, allocations: 411.6 kB / 1.016 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/1.106, allocations: 12.06 kB / 1.016 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005667/1.107, allocations: 19.98 kB / 1.016 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/1.107, allocations: 31.84 kB / 1.016 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/1.107, allocations: 14.19 kB / 1.017 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003394/1.11, allocations: 2.083 MB / 1.019 GB, free: 9.281 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.21e-07/1.11, allocations: 0 / 1.019 GB, free: 9.281 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001236/1.111, allocations: 300 kB / 1.019 GB, free: 8.988 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (air.vol.dynBal.U,air.vol.dynBal.mXi[1]) * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005332/1.112, allocations: 169.1 kB / 1.019 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001134/1.113, allocations: 0.5312 MB / 1.02 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/1.113, allocations: 0 / 1.02 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0004533/1.114, allocations: 300.3 kB / 1.02 GB, free: 7.98 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004152/1.118, allocations: 0.9615 MB / 1.021 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007642/1.125, allocations: 3.926 MB / 1.025 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002136/1.128, allocations: 1.82 MB / 1.026 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003734/1.128, allocations: 107.4 kB / 1.026 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of SimCode: time 1.212e-06/1.128, allocations: 0 / 1.026 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of Templates: time 0.06543/1.193, allocations: 42.9 MB / 1.068 GB, free: 6.539 MB / 0.8575 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile (rm -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1)