Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",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.001082/0.001082, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001315/0.001315, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.511/2.511, allocations: 409.4 MB / 0.684 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004909/0.000491, allocations: 8 kB / 0.8378 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6297/0.6302, allocations: 146.8 MB / 0.9811 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.1773/0.8076, allocations: 171.4 MB / 1.148 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008552/0.8162, allocations: 5.724 MB / 1.154 GB, free: 4.629 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009689/0.8172, allocations: 35.75 kB / 1.154 GB, free: 4.594 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.8182, allocations: 341.8 kB / 1.154 GB, free: 4.258 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003421/0.8216, allocations: 1.388 MB / 1.156 GB, free: 2.863 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001821/0.8234, allocations: 0.6678 MB / 1.156 GB, free: 2.199 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003058/0.8265, allocations: 2.892 MB / 1.159 GB, free: 15.3 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007317/0.8273, allocations: 0.5627 MB / 1.16 GB, free: 14.72 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.8283, allocations: 0.7313 MB / 1.161 GB, free: 13.98 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009158/0.8293, allocations: 0.7276 MB / 1.161 GB, free: 13.25 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.504e-05/0.8294, allocations: 36 kB / 1.161 GB, free: 13.22 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001911/0.8313, allocations: 0.795 MB / 1.162 GB, free: 12.42 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003081/0.8316, allocations: 307 kB / 1.162 GB, free: 12.12 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002063/0.8318, allocations: 225.2 kB / 1.163 GB, free: 11.89 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.8331, allocations: 1.305 MB / 1.164 GB, free: 10.59 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.8331, allocations: 0 / 1.164 GB, free: 10.59 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8332, allocations: 0 / 1.164 GB, free: 10.59 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.8332, allocations: 0 / 1.164 GB, free: 10.59 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001881/0.8351, allocations: 1.203 MB / 1.165 GB, free: 9.336 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.8351, allocations: 16.02 kB / 1.165 GB, free: 9.32 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001409/0.8352, allocations: 118.4 kB / 1.165 GB, free: 9.195 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001896/0.8372, allocations: 310.5 kB / 1.165 GB, free: 8.891 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.8382, allocations: 0.7149 MB / 1.166 GB, free: 8.137 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.943e-05/0.8383, allocations: 49.31 kB / 1.166 GB, free: 8.086 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.8384, allocations: 72 kB / 1.166 GB, free: 8.016 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.8397, allocations: 0.7901 MB / 1.167 GB, free: 7.203 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.8397, allocations: 4 kB / 1.167 GB, free: 7.199 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.468e-05/0.8398, allocations: 31.95 kB / 1.167 GB, free: 7.168 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.462e-05/0.8398, allocations: 29.31 kB / 1.167 GB, free: 7.141 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.8409, allocations: 0.6453 MB / 1.168 GB, free: 6.496 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.003796/0.8447, allocations: 3.371 MB / 1.171 GB, free: 2.828 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000837/0.8456, allocations: 0.5055 MB / 1.172 GB, free: 2.316 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004735/0.8461, allocations: 303.5 kB / 1.172 GB, free: 2.02 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005838/0.8467, allocations: 0.6731 MB / 1.172 GB, free: 1.195 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.8467, allocations: 46.94 kB / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of pre-optimization done (n=51): time 1.984e-06/0.8467, allocations: 0 / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of matching and sorting (n=51): time 0.001557/0.8483, allocations: 0.7948 MB / 1.173 GB, free: 352 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.8483, allocations: 55.84 kB / 1.173 GB, free: 284 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006738/0.849, allocations: 0.5903 MB / 1.174 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.455e-05/0.8491, allocations: 37.7 kB / 1.174 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000274/0.8494, allocations: 392.2 kB / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.8495, allocations: 181.3 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.8495, allocations: 8 kB / 1.174 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.8497, allocations: 374.8 kB / 1.175 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000397/0.8501, allocations: 217 kB / 1.175 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004218/0.8505, allocations: 295.1 kB / 1.175 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004698/0.851, allocations: 254.1 kB / 1.176 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.851, allocations: 0 / 1.176 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001026/0.8521, allocations: 0.6425 MB / 1.176 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.8521, allocations: 4 kB / 1.176 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.8521, allocations: 0 / 1.176 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.8521, allocations: 4 kB / 1.176 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005927/0.8527, allocations: 147.9 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.8528, allocations: 4 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006843/0.8535, allocations: 87.48 kB / 1.176 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.282e-05/0.8535, allocations: 16 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (62): * Single equations (assignments): 62 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003553/0.8539, allocations: 257.7 kB / 1.177 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.854, allocations: 75.11 kB / 1.177 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.8551, allocations: 0.6087 MB / 1.177 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.8551, allocations: 8 kB / 1.177 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.8551, allocations: 0 / 1.177 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009735/0.8561, allocations: 0.8223 MB / 1.178 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002067/0.8582, allocations: 1.565 MB / 1.18 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.8582, allocations: 7.984 kB / 1.18 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007212/0.8589, allocations: 167.8 kB / 1.18 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.8589, allocations: 8.094 kB / 1.18 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.859, allocations: 8 kB / 1.18 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.859, allocations: 4 kB / 1.18 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.859, allocations: 0 / 1.18 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.8603, allocations: 0.9706 MB / 1.181 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002641/0.8606, allocations: 220 kB / 1.181 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.866e-05/0.8607, allocations: 8 kB / 1.181 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005648/0.8613, allocations: 59.8 kB / 1.181 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.982e-05/0.8614, allocations: 36.38 kB / 1.181 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.04e-05/0.8614, allocations: 23.98 kB / 1.181 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004769/0.8619, allocations: 423 kB / 1.182 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8619, allocations: 0 / 1.182 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007397/0.8627, allocations: 271.4 kB / 1.182 GB, free: 7.289 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,cra.mExc) * 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 (51): * Single equations (assignments): 51 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002075/0.8647, allocations: 1.621 MB / 1.183 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009197/0.8657, allocations: 0.5093 MB / 1.184 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.8657, allocations: 7.938 kB / 1.184 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004529/0.8661, allocations: 274.9 kB / 1.184 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001904/0.8681, allocations: 473.8 kB / 1.185 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007316/0.8754, allocations: 4.963 MB / 1.189 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006546/0.8761, allocations: 1.032 MB / 1.19 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0007447/0.8768, allocations: 182.4 kB / 1.191 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00044/0.8773, allocations: 307.3 kB / 1.191 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of SimCode: time 6.51e-07/0.8773, allocations: 0 / 1.191 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04682/0.9241, allocations: 21.73 MB / 1.212 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/0.9244, allocations: 245.4 kB / 1.212 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.35/3.275, allocations: 0 / 1.212 GB, free: 8.148 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea_res.mat does not exist to compare? outputFormat=mat