Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_8_0_0_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_8_0_0_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.57/2.57, allocations: 287.5 MB / 302.4 MB, free: 8.406 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001379/0.001379, allocations: 178.4 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.126/2.126, allocations: 205.4 MB / 0.6297 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009443/0.000944, allocations: 92.98 kB / 0.743 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005222/0.0005225, allocations: 11.95 kB / 0.8659 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2543, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.9392/1.194, allocations: 162.8 MB / 1.137 GB, free: 14.91 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02192/1.216, allocations: 10.13 MB / 1.147 GB, free: 11.44 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00406/1.22, allocations: 66.12 kB / 1.147 GB, free: 11.41 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.007653/1.227, allocations: 1.583 MB / 1.149 GB, free: 10.77 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006376/1.234, allocations: 1.25 MB / 1.15 GB, free: 10.14 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003248/1.237, allocations: 0.5545 MB / 1.151 GB, free: 10.05 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.007079/1.244, allocations: 3.136 MB / 1.154 GB, free: 9.09 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002621/1.247, allocations: 0.9835 MB / 1.155 GB, free: 8.668 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003023/1.25, allocations: 0.9347 MB / 1.156 GB, free: 8.176 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003176/1.253, allocations: 1.006 MB / 1.157 GB, free: 7.594 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000719/1.254, allocations: 69.12 kB / 1.157 GB, free: 7.594 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00319/1.257, allocations: 478.2 kB / 1.157 GB, free: 7.391 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001058/1.258, allocations: 397 kB / 1.157 GB, free: 7.117 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001278/1.26, allocations: 471.2 kB / 1.158 GB, free: 6.832 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005079/1.265, allocations: 2.367 MB / 1.16 GB, free: 5.254 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/1.265, allocations: 0 / 1.16 GB, free: 5.254 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.745e-06/1.265, allocations: 0 / 1.16 GB, free: 5.254 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001003/1.265, allocations: 0 / 1.16 GB, free: 5.254 MB / 0.698 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.006969/1.272, allocations: 2.331 MB / 1.163 GB, free: 3.535 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/1.272, allocations: 9.594 kB / 1.163 GB, free: 3.535 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004873/1.272, allocations: 126.7 kB / 1.163 GB, free: 3.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002433/1.275, allocations: 366.3 kB / 1.163 GB, free: 3.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005848/1.281, allocations: 1.77 MB / 1.165 GB, free: 2.027 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.828e-05/1.281, allocations: 56.91 kB / 1.165 GB, free: 2.004 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001891/1.281, allocations: 78.31 kB / 1.165 GB, free: 1.977 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002523/1.284, allocations: 0.9442 MB / 1.166 GB, free: 1.363 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.895e-05/1.284, allocations: 0.9062 kB / 1.166 GB, free: 1.363 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/1.284, allocations: 36.31 kB / 1.166 GB, free: 1.336 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.893e-05/1.284, allocations: 25.09 kB / 1.166 GB, free: 1.336 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002038/1.286, allocations: 0.6886 MB / 1.167 GB, free: 0.9883 MB / 0.698 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.01098/1.297, allocations: 4.481 MB / 1.171 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008606/1.298, allocations: 320 kB / 1.171 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004138/1.298, allocations: 186.2 kB / 1.171 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000261/1.299, allocations: 102.9 kB / 1.171 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/1.299, allocations: 33.31 kB / 1.171 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=30): time 3.646e-06/1.299, allocations: 0 / 1.171 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of matching and sorting (n=32): time 0.006007/1.305, allocations: 1.697 MB / 1.173 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/1.305, allocations: 54.34 kB / 1.173 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00735/1.312, allocations: 2.958 MB / 1.176 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001379/1.312, allocations: 32.36 kB / 1.176 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001642/1.314, allocations: 1.044 MB / 1.177 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002411/1.314, allocations: 121.8 kB / 1.177 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/1.314, allocations: 11.06 kB / 1.177 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000158/1.315, allocations: 324.2 kB / 1.178 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004554/1.315, allocations: 167.5 kB / 1.178 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006111/1.316, allocations: 367 kB / 1.178 GB, free: 8.391 MB / 0.7136 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.002709/1.318, allocations: 0.6137 MB / 1.179 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/1.318, allocations: 2.125 kB / 1.179 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002338/1.321, allocations: 0.7885 MB / 1.179 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/1.321, allocations: 11.86 kB / 1.179 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/1.321, allocations: 8.719 kB / 1.179 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003147/1.321, allocations: 66.06 kB / 1.18 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006597/1.322, allocations: 103.7 kB / 1.18 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/1.324, allocations: 1.675 MB / 1.181 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00209/1.326, allocations: 35.73 kB / 1.181 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/1.326, allocations: 22.59 kB / 1.181 GB, free: 5.914 MB / 0.7136 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002256/1.329, allocations: 0.795 MB / 1.182 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008132/1.329, allocations: 228.3 kB / 1.182 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008376/1.33, allocations: 256.1 kB / 1.183 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/1.33, allocations: 2.844 kB / 1.183 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.569e-05/1.33, allocations: 2.562 kB / 1.183 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001183/1.332, allocations: 0.6061 MB / 1.183 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006409/1.338, allocations: 2.047 MB / 1.185 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/1.338, allocations: 1.781 kB / 1.185 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000591/1.339, allocations: 68.48 kB / 1.185 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002541/1.339, allocations: 55.61 kB / 1.185 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.909e-05/1.339, allocations: 8.688 kB / 1.185 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002156/1.341, allocations: 1.681 MB / 1.187 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/1.341, allocations: 3.125 kB / 1.187 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002229/1.343, allocations: 0.9541 MB / 1.188 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001556/1.345, allocations: 408.4 kB / 1.188 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005691/1.346, allocations: 16.09 kB / 1.188 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/1.347, allocations: 39.41 kB / 1.188 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.891e-05/1.347, allocations: 26.8 kB / 1.188 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-05/1.347, allocations: 21.75 kB / 1.188 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.005659/1.353, allocations: 2.074 MB / 1.19 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.453e-06/1.353, allocations: 0 / 1.19 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00223/1.355, allocations: 303.1 kB / 1.191 GB, free: 15.38 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003219/1.359, allocations: 1.551 MB / 1.192 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001411/1.36, allocations: 0.5189 MB / 1.193 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/1.36, allocations: 1.562 kB / 1.193 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006438/1.361, allocations: 305.8 kB / 1.193 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007484/1.368, allocations: 0.8857 MB / 1.194 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04775/1.416, allocations: 15.59 MB / 1.209 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00331/1.419, allocations: 1.953 MB / 1.211 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002177/1.422, allocations: 346.4 kB / 1.211 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001952/1.424, allocations: 0.7922 MB / 1.212 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of SimCode: time 1.944e-06/1.424, allocations: 0 / 1.212 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1644/1.588, allocations: 49.43 MB / 1.26 GB, free: 9.188 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004348/1.589, allocations: 270.4 kB / 1.261 GB, free: 8.836 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.273/5.861, allocations: 0 / 1.261 GB, free: 8.836 MB / 0.7917 GB (rm -f Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1)