Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 108 kB / 15.6 MB, free: 132 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.00132/0.00132, allocations: 195 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.149/2.149, allocations: 390.3 MB / 0.6647 GB, free: 480 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 59.91 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4889/0.49, allocations: 140.4 MB / 0.9497 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1571/0.6472, allocations: 179.3 MB / 1.125 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01303/0.6602, allocations: 10.99 MB / 1.136 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00151/0.6618, allocations: 79.56 kB / 1.136 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003942/0.6657, allocations: 1.993 MB / 1.138 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002878/0.6687, allocations: 1.623 MB / 1.139 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.6702, allocations: 0.7814 MB / 1.14 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002698/0.673, allocations: 3.126 MB / 1.143 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001273/0.6742, allocations: 1.305 MB / 1.144 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.6754, allocations: 1.097 MB / 1.145 GB, free: 8.867 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00143/0.6768, allocations: 1.124 MB / 1.146 GB, free: 7.742 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001966/0.677, allocations: 128 kB / 1.146 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001409/0.6784, allocations: 0.9122 MB / 1.147 GB, free: 6.703 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003976/0.6788, allocations: 482 kB / 1.148 GB, free: 6.23 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008472/0.6797, allocations: 1.103 MB / 1.149 GB, free: 5.121 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002573/0.6823, allocations: 3.212 MB / 1.152 GB, free: 1.898 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.6823, allocations: 0 / 1.152 GB, free: 1.898 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6823, allocations: 0 / 1.152 GB, free: 1.898 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.856e-05/0.6823, allocations: 0 / 1.152 GB, free: 1.898 MB / 0.9044 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.003065/0.6854, allocations: 2.751 MB / 1.155 GB, free: 15.08 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.6854, allocations: 12.03 kB / 1.155 GB, free: 15.07 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001303/0.6856, allocations: 130.6 kB / 1.155 GB, free: 14.93 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.6868, allocations: 376.5 kB / 1.155 GB, free: 14.56 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/0.689, allocations: 1.884 MB / 1.157 GB, free: 12.61 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.809e-05/0.6891, allocations: 62 kB / 1.157 GB, free: 12.55 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.543e-05/0.6892, allocations: 76 kB / 1.157 GB, free: 12.48 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.6904, allocations: 0.9368 MB / 1.158 GB, free: 11.49 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.6904, allocations: 0 / 1.158 GB, free: 11.49 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.464e-05/0.6905, allocations: 32 kB / 1.158 GB, free: 11.46 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.028e-05/0.6905, allocations: 36.92 kB / 1.158 GB, free: 11.43 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009632/0.6915, allocations: 0.6947 MB / 1.159 GB, free: 10.73 MB / 0.92 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.004479/0.696, allocations: 4.495 MB / 1.163 GB, free: 6.02 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004185/0.6964, allocations: 318.6 kB / 1.164 GB, free: 5.699 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/0.6966, allocations: 182.9 kB / 1.164 GB, free: 5.52 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001444/0.6968, allocations: 97.19 kB / 1.164 GB, free: 5.406 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.6968, allocations: 46.48 kB / 1.164 GB, free: 5.352 MB / 0.92 GB Notification: Performance of pre-optimization done (n=30): time 1.353e-06/0.6968, allocations: 0 / 1.164 GB, free: 5.352 MB / 0.92 GB Notification: Performance of matching and sorting (n=32): time 0.002447/0.6993, allocations: 1.709 MB / 1.166 GB, free: 3.562 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.6993, allocations: 55.41 kB / 1.166 GB, free: 3.496 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003039/0.7024, allocations: 2.973 MB / 1.169 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.7024, allocations: 29.7 kB / 1.169 GB, free: 484 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000808/0.7032, allocations: 1.046 MB / 1.17 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.878e-05/0.7033, allocations: 118.3 kB / 1.17 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.7035, allocations: 110.1 kB / 1.17 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.53e-05/0.7036, allocations: 337.9 kB / 1.17 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.7038, allocations: 161 kB / 1.17 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/0.7041, allocations: 366.9 kB / 1.171 GB, free: 14.25 MB / 0.9356 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.001905/0.7061, allocations: 1.087 MB / 1.172 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.7061, allocations: 0 / 1.172 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000967/0.707, allocations: 0.7959 MB / 1.172 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.7071, allocations: 8 kB / 1.172 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.7071, allocations: 8 kB / 1.172 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001602/0.7072, allocations: 65.31 kB / 1.173 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003284/0.7076, allocations: 103.8 kB / 1.173 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/0.7089, allocations: 1.855 MB / 1.174 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006499/0.7096, allocations: 35.78 kB / 1.174 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.981e-05/0.7096, allocations: 23.98 kB / 1.174 GB, free: 10.02 MB / 0.9356 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.0007551/0.7104, allocations: 0.7902 MB / 1.175 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/0.7106, allocations: 241 kB / 1.175 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002892/0.7109, allocations: 251.7 kB / 1.176 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.7109, allocations: 7.938 kB / 1.176 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.7109, allocations: 0 / 1.176 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005901/0.7115, allocations: 0.5931 MB / 1.176 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002544/0.7141, allocations: 2.062 MB / 1.178 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.7141, allocations: 0 / 1.178 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002935/0.7144, allocations: 71.89 kB / 1.178 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001276/0.7145, allocations: 56.75 kB / 1.178 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.7146, allocations: 16 kB / 1.178 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/0.7158, allocations: 1.861 MB / 1.18 GB, free: 3.746 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.7158, allocations: 4 kB / 1.18 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009582/0.7168, allocations: 0.9218 MB / 1.181 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005029/0.7173, allocations: 414 kB / 1.182 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/0.7175, allocations: 12 kB / 1.182 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005416/0.7181, allocations: 17.39 kB / 1.182 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.7181, allocations: 35.84 kB / 1.182 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.7181, allocations: 15.94 kB / 1.182 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00229/0.7204, allocations: 2.107 MB / 1.184 GB, free: 148 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7204, allocations: 0 / 1.184 GB, free: 148 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008265/0.7213, allocations: 304 kB / 1.184 GB, free: 15.84 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (air.vol.dynBal.medium.Xi[1],air.vol.dynBal.U) * 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.001437/0.7227, allocations: 1.543 MB / 1.186 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007598/0.7235, allocations: 0.5498 MB / 1.186 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.7235, allocations: 3.984 kB / 1.186 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003401/0.7239, allocations: 292.2 kB / 1.186 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003131/0.727, allocations: 0.9388 MB / 1.187 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01993/0.7469, allocations: 19.61 MB / 1.206 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/0.7482, allocations: 1.957 MB / 1.208 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000853/0.7491, allocations: 342.5 kB / 1.209 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007992/0.7499, allocations: 0.8 MB / 1.209 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of SimCode: time 2.91e-07/0.7499, allocations: 0 / 1.209 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8506/1.601, allocations: 50.67 MB / 1.259 GB, free: 276.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/12.73, allocations: 8.406 kB / 1.259 GB, free: 276.3 MB / 0.9981 GB (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1)