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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008734/0.0008735, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004859/0.004859, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.228/1.228, 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 9.1.2-maint.9.1.x/package.mo): time 2.097/2.097, allocations: 390.9 MB / 0.6664 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003109/0.0003112, allocations: 12 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5448/0.5451, allocations: 142.4 MB / 0.9552 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1566/0.7017, allocations: 174.5 MB / 1.126 GB, free: 180 kB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01307/0.7148, allocations: 10.82 MB / 1.136 GB, free: 5.324 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/0.7163, allocations: 71.56 kB / 1.136 GB, free: 5.254 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003812/0.7201, allocations: 1.843 MB / 1.138 GB, free: 3.402 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002792/0.7229, allocations: 1.485 MB / 1.139 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.7243, allocations: 0.7056 MB / 1.14 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002976/0.7273, allocations: 3.706 MB / 1.144 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/0.7285, allocations: 1.129 MB / 1.145 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.7295, allocations: 0.952 MB / 1.146 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001456/0.731, allocations: 1.08 MB / 1.147 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.7311, allocations: 68 kB / 1.147 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001395/0.7325, allocations: 0.9898 MB / 1.148 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003309/0.7328, allocations: 414.1 kB / 1.148 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007549/0.7336, allocations: 1.035 MB / 1.149 GB, free: 7.781 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002267/0.7359, allocations: 3.048 MB / 1.152 GB, free: 4.723 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.7359, allocations: 0 / 1.152 GB, free: 4.723 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7359, allocations: 0 / 1.152 GB, free: 4.723 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.708e-05/0.7359, allocations: 4 kB / 1.152 GB, free: 4.719 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.002685/0.7386, allocations: 2.312 MB / 1.155 GB, free: 2.348 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.7387, allocations: 8.031 kB / 1.155 GB, free: 2.34 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001336/0.7388, allocations: 130.6 kB / 1.155 GB, free: 2.203 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.74, allocations: 376.5 kB / 1.155 GB, free: 1.832 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/0.7422, allocations: 1.884 MB / 1.157 GB, free: 15.88 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.901e-05/0.7423, allocations: 58 kB / 1.157 GB, free: 15.82 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.7424, allocations: 76 kB / 1.157 GB, free: 15.75 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.7436, allocations: 0.9407 MB / 1.158 GB, free: 14.77 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.7437, allocations: 0 / 1.158 GB, free: 14.77 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.317e-05/0.7437, allocations: 35.94 kB / 1.158 GB, free: 14.73 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.06e-05/0.7438, allocations: 28.94 kB / 1.158 GB, free: 14.7 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000969/0.7447, allocations: 0.6947 MB / 1.159 GB, free: 14.01 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.004494/0.7493, allocations: 4.503 MB / 1.163 GB, free: 9.289 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004154/0.7497, allocations: 309.6 kB / 1.163 GB, free: 8.98 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002275/0.7499, allocations: 190.4 kB / 1.164 GB, free: 8.793 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001419/0.7501, allocations: 101.1 kB / 1.164 GB, free: 8.676 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.7501, allocations: 38.56 kB / 1.164 GB, free: 8.629 MB / 0.92 GB Notification: Performance of pre-optimization done (n=30): time 1.283e-06/0.7501, allocations: 0 / 1.164 GB, free: 8.629 MB / 0.92 GB Notification: Performance of matching and sorting (n=32): time 0.00243/0.7525, allocations: 1.713 MB / 1.165 GB, free: 6.836 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.7526, allocations: 59.34 kB / 1.165 GB, free: 6.766 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003094/0.7557, allocations: 2.973 MB / 1.168 GB, free: 3.777 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.7557, allocations: 33.7 kB / 1.168 GB, free: 3.738 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008199/0.7565, allocations: 1.054 MB / 1.169 GB, free: 2.68 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.9e-05/0.7566, allocations: 114.4 kB / 1.169 GB, free: 2.566 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.527e-05/0.7567, allocations: 41.7 kB / 1.17 GB, free: 2.52 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.269e-05/0.7568, allocations: 334 kB / 1.17 GB, free: 2.188 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.757, allocations: 161 kB / 1.17 GB, free: 2.031 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003381/0.7574, allocations: 370.2 kB / 1.17 GB, free: 1.578 MB / 0.92 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.001857/0.7592, allocations: 1.084 MB / 1.171 GB, free: 400 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7593, allocations: 0 / 1.171 GB, free: 400 kB / 0.92 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009771/0.7602, allocations: 0.7923 MB / 1.172 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.7603, allocations: 12.16 kB / 1.172 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.7603, allocations: 8 kB / 1.172 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001553/0.7604, allocations: 60.81 kB / 1.172 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/0.7608, allocations: 103.8 kB / 1.172 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.762, allocations: 1.682 MB / 1.174 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006839/0.7627, allocations: 49.47 kB / 1.174 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/0.7627, allocations: 24 kB / 1.174 GB, free: 13.52 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 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.000773/0.7635, allocations: 0.7939 MB / 1.175 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/0.7637, allocations: 229.1 kB / 1.175 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003149/0.7641, allocations: 255.7 kB / 1.175 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.7641, allocations: 4 kB / 1.175 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.7641, allocations: 0 / 1.175 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005771/0.7647, allocations: 0.6048 MB / 1.176 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002365/0.767, allocations: 2.046 MB / 1.178 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.767, allocations: 16 kB / 1.178 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/0.7673, allocations: 60.31 kB / 1.178 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001207/0.7675, allocations: 68.75 kB / 1.178 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.7675, allocations: 8 kB / 1.178 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/0.7687, allocations: 1.678 MB / 1.18 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.7687, allocations: 4.031 kB / 1.18 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009377/0.7696, allocations: 0.9413 MB / 1.181 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004625/0.7701, allocations: 406.1 kB / 1.181 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/0.7703, allocations: 12 kB / 1.181 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000577/0.7709, allocations: 27.89 kB / 1.181 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/0.7709, allocations: 35.91 kB / 1.181 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.7709, allocations: 19.92 kB / 1.181 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002263/0.7732, allocations: 2.103 MB / 1.183 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7732, allocations: 0 / 1.183 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00079/0.774, allocations: 304 kB / 1.183 GB, free: 3.52 MB / 0.9356 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.001388/0.7754, allocations: 1.544 MB / 1.185 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007063/0.7761, allocations: 0.5234 MB / 1.185 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7761, allocations: 0 / 1.185 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003314/0.7765, allocations: 294.3 kB / 1.186 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004214/0.7807, allocations: 0.8886 MB / 1.187 GB, free: 196 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02573/0.8064, allocations: 20.16 MB / 1.206 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/0.8078, allocations: 1.961 MB / 1.208 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0008757/0.8087, allocations: 334.5 kB / 1.209 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008014/0.8095, allocations: 0.8039 MB / 1.209 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of SimCode: time 5.11e-07/0.8095, allocations: 0 / 1.209 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.793/3.602, allocations: 48.96 MB / 1.257 GB, free: 278 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002075/3.602, allocations: 293.3 kB / 1.257 GB, free: 277.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.863/7.465, allocations: 4 kB / 1.257 GB, free: 277.6 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)