Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_10_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.0009267/0.0009267, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005697/0.005697, allocations: 170 kB / 16.26 MB, free: 6.613 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.283/1.283, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.37/2.37, allocations: 437.8 MB / 0.7121 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003029/0.000303, allocations: 16 kB / 0.873 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5145/0.5149, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1584/0.6733, allocations: 174.5 MB / 1.194 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01333/0.6866, allocations: 10.81 MB / 1.204 GB, free: 5.836 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002168/0.6888, allocations: 71.56 kB / 1.204 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004767/0.6936, allocations: 1.835 MB / 1.206 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004071/0.6977, allocations: 1.485 MB / 1.207 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001868/0.6996, allocations: 0.7168 MB / 1.208 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004014/0.7036, allocations: 3.703 MB / 1.212 GB, free: 14 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00148/0.7051, allocations: 1.129 MB / 1.213 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001398/0.7065, allocations: 0.9597 MB / 1.214 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001912/0.7084, allocations: 1.065 MB / 1.215 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002748/0.7087, allocations: 68 kB / 1.215 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001734/0.7105, allocations: 1.001 MB / 1.216 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000454/0.7109, allocations: 406.1 kB / 1.216 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00113/0.7121, allocations: 1.042 MB / 1.217 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002842/0.7149, allocations: 3.051 MB / 1.22 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.7149, allocations: 3.938 kB / 1.22 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.323e-06/0.7149, allocations: 0 / 1.22 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.462e-05/0.715, allocations: 0 / 1.22 GB, free: 5.223 MB / 0.9669 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.003392/0.7184, allocations: 2.3 MB / 1.223 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.7185, allocations: 8.031 kB / 1.223 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001826/0.7186, allocations: 130.7 kB / 1.223 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/0.72, allocations: 384.4 kB / 1.223 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002508/0.7225, allocations: 1.88 MB / 1.225 GB, free: 400 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.763e-05/0.7226, allocations: 62 kB / 1.225 GB, free: 340 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.7227, allocations: 80 kB / 1.225 GB, free: 260 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.724, allocations: 0.9407 MB / 1.226 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.724, allocations: 4 kB / 1.226 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.339e-05/0.7241, allocations: 32 kB / 1.226 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.138e-05/0.7241, allocations: 28.94 kB / 1.226 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009619/0.7251, allocations: 0.7024 MB / 1.227 GB, free: 14.5 MB / 0.9825 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.004636/0.7297, allocations: 4.495 MB / 1.231 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004307/0.7301, allocations: 314.6 kB / 1.231 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.7304, allocations: 177.9 kB / 1.232 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001572/0.7305, allocations: 101.1 kB / 1.232 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.7306, allocations: 30.56 kB / 1.232 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 2.224e-06/0.7306, allocations: 0 / 1.232 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of matching and sorting (n=32): time 0.002688/0.7333, allocations: 1.719 MB / 1.233 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.7333, allocations: 55.41 kB / 1.233 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003294/0.7366, allocations: 2.973 MB / 1.236 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.7367, allocations: 29.7 kB / 1.236 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008173/0.7375, allocations: 1.058 MB / 1.237 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.7376, allocations: 118.3 kB / 1.237 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.97e-05/0.7377, allocations: 49.69 kB / 1.237 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.262e-05/0.7378, allocations: 330 kB / 1.238 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/0.738, allocations: 165 kB / 1.238 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003451/0.7384, allocations: 372.1 kB / 1.238 GB, free: 2.078 MB / 0.9825 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.001937/0.7403, allocations: 1.084 MB / 1.239 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.7403, allocations: 0 / 1.239 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001077/0.7414, allocations: 0.7919 MB / 1.24 GB, free: 88 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.7414, allocations: 9.406 kB / 1.24 GB, free: 80 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.7414, allocations: 4 kB / 1.24 GB, free: 76 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000169/0.7416, allocations: 65.38 kB / 1.24 GB, free: 8 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003382/0.742, allocations: 103.8 kB / 1.24 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/0.7433, allocations: 1.682 MB / 1.242 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008651/0.7441, allocations: 51.94 kB / 1.242 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/0.7442, allocations: 24 kB / 1.242 GB, free: 14.02 MB / 0.9981 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 (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.0009883/0.7452, allocations: 0.7986 MB / 1.243 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002651/0.7454, allocations: 233.1 kB / 1.243 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004291/0.7459, allocations: 259.7 kB / 1.243 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.7459, allocations: 4 kB / 1.243 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.7459, allocations: 0 / 1.243 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006105/0.7465, allocations: 0.6047 MB / 1.244 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002867/0.7494, allocations: 2.053 MB / 1.246 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.7494, allocations: 7.938 kB / 1.246 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002807/0.7497, allocations: 59.91 kB / 1.246 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001344/0.7498, allocations: 56.83 kB / 1.246 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.7499, allocations: 8.406 kB / 1.246 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001205/0.7511, allocations: 1.674 MB / 1.248 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.7511, allocations: 16.06 kB / 1.248 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.7521, allocations: 0.9257 MB / 1.249 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005873/0.7527, allocations: 410 kB / 1.249 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002533/0.753, allocations: 19.98 kB / 1.249 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006653/0.7537, allocations: 22.11 kB / 1.249 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.7537, allocations: 35.84 kB / 1.249 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.7537, allocations: 16 kB / 1.249 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002825/0.7566, allocations: 2.099 MB / 1.251 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7566, allocations: 0 / 1.251 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009523/0.7575, allocations: 304 kB / 1.251 GB, free: 4.023 MB / 0.9981 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.001521/0.7591, allocations: 1.544 MB / 1.253 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007847/0.7599, allocations: 0.5386 MB / 1.253 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.7599, allocations: 0 / 1.253 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003515/0.7602, allocations: 300.3 kB / 1.254 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004514/0.7648, allocations: 0.8883 MB / 1.255 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4802/1.245, allocations: 20.14 MB / 1.274 GB, free: 218.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001482/1.246, allocations: 1.953 MB / 1.276 GB, free: 217.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001109/1.248, allocations: 334.6 kB / 1.276 GB, free: 217.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007244/1.248, allocations: 0.7975 MB / 1.277 GB, free: 217.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.302e-06/1.248, allocations: 0 / 1.277 GB, free: 217.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.227/3.476, allocations: 48.98 MB / 1.325 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002313/3.476, allocations: 295.1 kB / 1.325 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.174/6.65, allocations: 0 / 1.325 GB, free: 176.3 MB / 0.9981 GB (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1)