Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.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.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_NaturalVentilation",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.002137/0.002138, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002205/0.002205, allocations: 195 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.286/2.286, allocations: 222.9 MB / 239.9 MB, free: 4.516 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 4.05/4.05, allocations: 390.2 MB / 0.6644 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 67.89 kB / 0.8121 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.912/0.914, allocations: 140.4 MB / 0.9492 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.4013/1.315, allocations: 199.4 MB / 1.144 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02328/1.339, allocations: 7.336 MB / 1.151 GB, free: 2.57 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002473/1.341, allocations: 39.75 kB / 1.151 GB, free: 2.531 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003285/1.345, allocations: 0.6182 MB / 1.152 GB, free: 1.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01303/1.358, allocations: 2.267 MB / 1.154 GB, free: 15.63 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006283/1.364, allocations: 1.132 MB / 1.155 GB, free: 14.5 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007554/1.372, allocations: 2.915 MB / 1.158 GB, free: 11.58 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002661/1.374, allocations: 0.9352 MB / 1.159 GB, free: 10.63 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003284/1.378, allocations: 1.028 MB / 1.16 GB, free: 9.598 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004138/1.382, allocations: 1.032 MB / 1.161 GB, free: 8.566 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0006231/1.382, allocations: 112 kB / 1.161 GB, free: 8.457 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007995/1.39, allocations: 2.225 MB / 1.163 GB, free: 6.227 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001288/1.392, allocations: 454.7 kB / 1.164 GB, free: 5.781 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002207/1.394, allocations: 0.6611 MB / 1.164 GB, free: 5.117 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.008934/1.403, allocations: 2.544 MB / 1.167 GB, free: 2.566 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.043e-05/1.403, allocations: 0 / 1.167 GB, free: 2.566 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.236e-06/1.403, allocations: 0 / 1.167 GB, free: 2.566 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.371e-05/1.403, allocations: 0 / 1.167 GB, free: 2.566 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.008767/1.412, allocations: 1.628 MB / 1.168 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 9.094e-05/1.412, allocations: 8.031 kB / 1.168 GB, free: 0.875 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004862/1.413, allocations: 135.3 kB / 1.168 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005053/1.418, allocations: 386.2 kB / 1.169 GB, free: 364 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00382/1.422, allocations: 0.8199 MB / 1.17 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/1.422, allocations: 58 kB / 1.17 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004567/1.422, allocations: 87.98 kB / 1.17 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004556/1.427, allocations: 1.038 MB / 1.171 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.41e-05/1.427, allocations: 4 kB / 1.171 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002465/1.427, allocations: 39.98 kB / 1.171 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001388/1.427, allocations: 45.98 kB / 1.171 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003732/1.431, allocations: 0.8821 MB / 1.172 GB, free: 13.3 MB / 0.9356 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.01105/1.442, allocations: 4.284 MB / 1.176 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002347/1.445, allocations: 0.6932 MB / 1.177 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001629/1.446, allocations: 459 kB / 1.177 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00118/1.447, allocations: 0.6732 MB / 1.178 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.523e-05/1.447, allocations: 51.11 kB / 1.178 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=70): time 5.911e-06/1.448, allocations: 0 / 1.178 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70): time 0.004194/1.452, allocations: 0.9901 MB / 1.179 GB, free: 5.637 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.481e-05/1.452, allocations: 59.97 kB / 1.179 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/1.454, allocations: 0.6332 MB / 1.179 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001635/1.454, allocations: 41.7 kB / 1.179 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005553/1.454, allocations: 432.1 kB / 1.18 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005448/1.455, allocations: 248.3 kB / 1.18 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003938/1.455, allocations: 118.3 kB / 1.18 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0003048/1.456, allocations: 390.7 kB / 1.181 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009502/1.457, allocations: 281.2 kB / 1.181 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/1.458, allocations: 353.1 kB / 1.181 GB, free: 3.051 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002097/1.46, allocations: 0.6626 MB / 1.182 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.848e-06/1.46, allocations: 0 / 1.182 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002782/1.463, allocations: 0.7932 MB / 1.183 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/1.463, allocations: 11.97 kB / 1.183 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/1.463, allocations: 4 kB / 1.183 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.099e-05/1.463, allocations: 4 kB / 1.183 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/1.464, allocations: 143.8 kB / 1.183 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.419e-05/1.464, allocations: 4 kB / 1.183 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00225/1.467, allocations: 119.3 kB / 1.183 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/1.467, allocations: 20 kB / 1.183 GB, free: 1.262 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009473/1.468, allocations: 293.5 kB / 1.183 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004415/1.468, allocations: 90.98 kB / 1.183 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002884/1.471, allocations: 0.792 MB / 1.184 GB, free: 68 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/1.471, allocations: 4 kB / 1.184 GB, free: 64 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.495e-05/1.471, allocations: 7.938 kB / 1.184 GB, free: 56 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002201/1.473, allocations: 0.8114 MB / 1.185 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005667/1.479, allocations: 1.86 MB / 1.187 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/1.479, allocations: 0 / 1.187 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00168/1.481, allocations: 171.7 kB / 1.187 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.641e-05/1.481, allocations: 0 / 1.187 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/1.481, allocations: 16 kB / 1.187 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.615e-05/1.481, allocations: 3.984 kB / 1.187 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.208e-05/1.481, allocations: 4 kB / 1.187 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003725/1.485, allocations: 1.193 MB / 1.188 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009883/1.486, allocations: 244 kB / 1.188 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003204/1.486, allocations: 19.94 kB / 1.188 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001711/1.488, allocations: 75.78 kB / 1.188 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002173/1.488, allocations: 44.5 kB / 1.188 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.995e-05/1.488, allocations: 23.98 kB / 1.188 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001085/1.489, allocations: 455 kB / 1.189 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of sort global known variables: time 4.31e-07/1.489, allocations: 0 / 1.189 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001687/1.491, allocations: 335.2 kB / 1.189 GB, free: 10.7 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (70): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004329/1.495, allocations: 1.828 MB / 1.191 GB, free: 8.844 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003272/1.499, allocations: 0.8162 MB / 1.192 GB, free: 8.023 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/1.499, allocations: 4.312 kB / 1.192 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0011/1.5, allocations: 375 kB / 1.192 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005418/1.505, allocations: 0.5455 MB / 1.193 GB, free: 7.117 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02197/1.527, allocations: 7.556 MB / 1.2 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/1.528, allocations: 1.089 MB / 1.201 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001964/1.53, allocations: 223.2 kB / 1.201 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009221/1.531, allocations: 359.3 kB / 1.202 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of SimCode: time 1.482e-06/1.531, allocations: 0 / 1.202 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1463/1.678, allocations: 24.86 MB / 1.226 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004619/1.678, allocations: 210 kB / 1.226 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.522/6.201, allocations: 0 / 1.226 GB, free: 4.973 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)