Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="Buildings_9_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.001193/0.001193, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.001321/0.001322, allocations: 177.3 kB / 15.94 MB, free: 228 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.499/1.499, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.519/2.519, allocations: 390.3 MB / 0.6653 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003498, allocations: 8 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7488/0.7492, allocations: 142.3 MB / 0.9536 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.1786/0.9278, allocations: 156.6 MB / 1.107 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.008891/0.9367, allocations: 6.018 MB / 1.112 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000915/0.9377, allocations: 27.81 kB / 1.112 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001386/0.9391, allocations: 0.5249 MB / 1.113 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004515/0.9436, allocations: 1.815 MB / 1.115 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002394/0.946, allocations: 0.9134 MB / 1.116 GB, free: 9.863 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002521/0.9485, allocations: 1.449 MB / 1.117 GB, free: 8.414 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008793/0.9494, allocations: 0.5784 MB / 1.118 GB, free: 7.824 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001205/0.9506, allocations: 0.6734 MB / 1.118 GB, free: 7.148 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000639/0.9513, allocations: 498 kB / 1.119 GB, free: 6.66 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 8.243e-05/0.9514, allocations: 36 kB / 1.119 GB, free: 6.625 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001737/0.9531, allocations: 0.7293 MB / 1.119 GB, free: 5.895 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002857/0.9534, allocations: 287.2 kB / 1.12 GB, free: 5.613 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002113/0.9537, allocations: 221.2 kB / 1.12 GB, free: 5.391 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001348/0.955, allocations: 1.231 MB / 1.121 GB, free: 4.156 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.955, allocations: 0 / 1.121 GB, free: 4.156 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.704e-06/0.955, allocations: 0 / 1.121 GB, free: 4.156 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.9551, allocations: 0 / 1.121 GB, free: 4.156 MB / 0.8731 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.002065/0.9571, allocations: 1.187 MB / 1.122 GB, free: 2.914 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.178e-05/0.9572, allocations: 19.97 kB / 1.122 GB, free: 2.895 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001735/0.9574, allocations: 110.5 kB / 1.122 GB, free: 2.777 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002196/0.9596, allocations: 322.5 kB / 1.123 GB, free: 2.461 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.9609, allocations: 0.711 MB / 1.123 GB, free: 1.711 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.657e-05/0.961, allocations: 53.31 kB / 1.123 GB, free: 1.66 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.9611, allocations: 67.94 kB / 1.124 GB, free: 1.594 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.9627, allocations: 0.7901 MB / 1.124 GB, free: 0.7812 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.9628, allocations: 0 / 1.124 GB, free: 0.7812 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.999e-05/0.9629, allocations: 31.98 kB / 1.124 GB, free: 0.75 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.033e-05/0.9629, allocations: 25.31 kB / 1.124 GB, free: 0.7227 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.9643, allocations: 0.6492 MB / 1.125 GB, free: 76 kB / 0.8731 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.005121/0.9694, allocations: 3.371 MB / 1.128 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009591/0.9704, allocations: 0.5147 MB / 1.129 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006242/0.971, allocations: 0.5939 MB / 1.129 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.9711, allocations: 39 kB / 1.129 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=51): time 1.904e-06/0.9711, allocations: 0 / 1.129 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of matching and sorting (n=51): time 0.001912/0.973, allocations: 0.791 MB / 1.13 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.9731, allocations: 55.84 kB / 1.13 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008143/0.9739, allocations: 0.5979 MB / 1.131 GB, free: 9.648 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.44e-05/0.974, allocations: 33.7 kB / 1.131 GB, free: 9.609 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003433/0.9743, allocations: 388.2 kB / 1.131 GB, free: 9.223 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000199/0.9745, allocations: 181.3 kB / 1.131 GB, free: 9.043 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.9746, allocations: 12 kB / 1.131 GB, free: 9.031 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002314/0.9748, allocations: 374.8 kB / 1.132 GB, free: 8.656 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004097/0.9752, allocations: 213 kB / 1.132 GB, free: 8.445 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004772/0.9757, allocations: 295.1 kB / 1.132 GB, free: 8.145 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004798/0.9762, allocations: 254.1 kB / 1.133 GB, free: 7.895 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.9762, allocations: 0 / 1.133 GB, free: 7.895 MB / 0.8887 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001092/0.9773, allocations: 0.6309 MB / 1.133 GB, free: 7.254 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.9773, allocations: 5.094 kB / 1.133 GB, free: 7.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.9774, allocations: 4 kB / 1.133 GB, free: 7.246 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.9774, allocations: 7.953 kB / 1.133 GB, free: 7.238 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006247/0.978, allocations: 147.9 kB / 1.133 GB, free: 7.094 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.978, allocations: 4 kB / 1.133 GB, free: 7.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008132/0.9789, allocations: 83.48 kB / 1.133 GB, free: 7.008 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-05/0.9789, allocations: 16 kB / 1.133 GB, free: 6.992 MB / 0.8887 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.0003743/0.9793, allocations: 257.7 kB / 1.134 GB, free: 6.73 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.9794, allocations: 79.06 kB / 1.134 GB, free: 6.652 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.9805, allocations: 0.6126 MB / 1.134 GB, free: 6.035 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.9805, allocations: 7.953 kB / 1.134 GB, free: 6.027 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.9806, allocations: 0 / 1.134 GB, free: 6.027 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001009/0.9816, allocations: 0.8262 MB / 1.135 GB, free: 5.113 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/0.9841, allocations: 1.558 MB / 1.137 GB, free: 3.488 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/0.9841, allocations: 7.938 kB / 1.137 GB, free: 3.48 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008002/0.9849, allocations: 175.8 kB / 1.137 GB, free: 3.309 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.9849, allocations: 0 / 1.137 GB, free: 3.309 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.073e-05/0.985, allocations: 20 kB / 1.137 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.985, allocations: 3.938 kB / 1.137 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.985, allocations: 4 kB / 1.137 GB, free: 3.281 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/0.9865, allocations: 0.999 MB / 1.138 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003943/0.9869, allocations: 220 kB / 1.138 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.373e-05/0.987, allocations: 8 kB / 1.138 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006562/0.9877, allocations: 61.53 kB / 1.138 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.068e-05/0.9878, allocations: 36.38 kB / 1.138 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.162e-05/0.9878, allocations: 23.94 kB / 1.138 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004844/0.9883, allocations: 427 kB / 1.139 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9883, allocations: 0 / 1.139 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008007/0.9891, allocations: 279.3 kB / 1.139 GB, free: 1.191 MB / 0.8887 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.002164/0.9913, allocations: 1.841 MB / 1.141 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009709/0.9923, allocations: 0.5135 MB / 1.141 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.9923, allocations: 3.938 kB / 1.141 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004364/0.9927, allocations: 270.4 kB / 1.141 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002105/0.9948, allocations: 461.8 kB / 1.142 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007676/1.003, allocations: 5.675 MB / 1.147 GB, free: 8.32 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006097/1.003, allocations: 1.052 MB / 1.148 GB, free: 7.238 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007665/1.004, allocations: 178.1 kB / 1.149 GB, free: 7.062 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004148/1.004, allocations: 307.3 kB / 1.149 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of SimCode: time 5.31e-07/1.004, allocations: 0 / 1.149 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03975/1.044, allocations: 21.71 MB / 1.17 GB, free: 1.422 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/1.044, allocations: 232.1 kB / 1.17 GB, free: 1.184 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.103/3.148, allocations: 6.469 kB / 1.17 GB, free: 1.18 MB / 0.92 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea_res.mat does not exist to compare? outputFormat=mat