Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.398/1.398, allocations: 252 MB / 267.3 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 177.3 kB / 327 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.853/1.853, allocations: 205.4 MB / 0.578 GB, free: 20.46 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008705/0.0008704, allocations: 88.17 kB / 0.6826 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003425, allocations: 12.38 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2121, allocations: 106.3 MB / 0.9009 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.5858/0.798, allocations: 197.2 MB / 1.094 GB, free: 1.523 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009449/0.8074, allocations: 7.394 MB / 1.101 GB, free: 1.383 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001433/0.8089, allocations: 29.69 kB / 1.101 GB, free: 1.383 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001963/0.8109, allocations: 0.6085 MB / 1.101 GB, free: 1.363 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00592/0.8168, allocations: 2.244 MB / 1.104 GB, free: 1.246 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00325/0.8201, allocations: 1.188 MB / 1.105 GB, free: 1.207 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004383/0.8245, allocations: 4.282 MB / 1.109 GB, free: 1.195 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.8256, allocations: 0.8056 MB / 1.11 GB, free: 1.059 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001552/0.8271, allocations: 0.9107 MB / 1.111 GB, free: 1.059 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001873/0.829, allocations: 0.9847 MB / 1.112 GB, free: 1.051 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001398/0.8292, allocations: 48.53 kB / 1.112 GB, free: 1.051 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004361/0.8335, allocations: 2.476 MB / 1.114 GB, free: 1.031 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000453/0.834, allocations: 395.2 kB / 1.114 GB, free: 1.027 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008389/0.8348, allocations: 0.6274 MB / 1.115 GB, free: 17 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003582/0.8384, allocations: 2.513 MB / 1.117 GB, free: 16.86 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.8385, allocations: 1.75 kB / 1.117 GB, free: 16.86 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8385, allocations: 4 kB / 1.117 GB, free: 16.85 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.634e-05/0.8385, allocations: 0 / 1.117 GB, free: 16.85 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002635/0.8411, allocations: 1.415 MB / 1.119 GB, free: 16.05 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.8412, allocations: 13.38 kB / 1.119 GB, free: 16.05 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001462/0.8413, allocations: 138.5 kB / 1.119 GB, free: 16.01 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002242/0.8436, allocations: 382.8 kB / 1.119 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.8447, allocations: 0.8111 MB / 1.12 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.571e-05/0.8448, allocations: 64.47 kB / 1.12 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.8449, allocations: 86.38 kB / 1.12 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.8464, allocations: 1.062 MB / 1.121 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.8464, allocations: 0.7031 kB / 1.121 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.967e-05/0.8465, allocations: 36.88 kB / 1.121 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.002e-05/0.8465, allocations: 49.5 kB / 1.121 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.8479, allocations: 0.8864 MB / 1.122 GB, free: 15.46 MB / 0.7136 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.004204/0.8521, allocations: 4.304 MB / 1.126 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000928/0.853, allocations: 0.6916 MB / 1.127 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006661/0.8537, allocations: 448.3 kB / 1.128 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005863/0.8543, allocations: 0.6721 MB / 1.128 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.8543, allocations: 59.06 kB / 1.128 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=70): time 2.856e-06/0.8543, allocations: 0 / 1.128 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70): time 0.001801/0.8562, allocations: 0.9808 MB / 1.129 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.8562, allocations: 61.42 kB / 1.129 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000793/0.857, allocations: 0.6352 MB / 1.13 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.795e-05/0.8571, allocations: 40.95 kB / 1.13 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002819/0.8574, allocations: 441.7 kB / 1.13 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002321/0.8576, allocations: 245.8 kB / 1.131 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.8577, allocations: 13.75 kB / 1.131 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002004/0.8579, allocations: 386.6 kB / 1.131 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000574/0.8585, allocations: 268.4 kB / 1.131 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006547/0.8591, allocations: 370.4 kB / 1.132 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/0.8604, allocations: 0.6585 MB / 1.132 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.8604, allocations: 0.5312 kB / 1.132 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001274/0.8617, allocations: 0.7914 MB / 1.133 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.8617, allocations: 7.641 kB / 1.133 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.8617, allocations: 3.312 kB / 1.133 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.8618, allocations: 3.125 kB / 1.133 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006341/0.8624, allocations: 140.3 kB / 1.133 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.8624, allocations: 10.42 kB / 1.133 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009207/0.8634, allocations: 110.8 kB / 1.133 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/0.8634, allocations: 20.41 kB / 1.133 GB, free: 10.84 MB / 0.7136 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.0004157/0.8638, allocations: 294.6 kB / 1.134 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.864, allocations: 90.12 kB / 1.134 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.8651, allocations: 0.7904 MB / 1.134 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.8652, allocations: 5.875 kB / 1.134 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.8652, allocations: 0 / 1.134 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009208/0.8661, allocations: 0.8083 MB / 1.135 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002476/0.8686, allocations: 1.857 MB / 1.137 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.8686, allocations: 0 / 1.137 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007686/0.8694, allocations: 172.7 kB / 1.137 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.8694, allocations: 4.75 kB / 1.137 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-05/0.8694, allocations: 16.94 kB / 1.137 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.8695, allocations: 7.344 kB / 1.137 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.8695, allocations: 7.922 kB / 1.137 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.871, allocations: 1.258 MB / 1.138 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004345/0.8715, allocations: 258.9 kB / 1.139 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.8716, allocations: 14.19 kB / 1.139 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007737/0.8724, allocations: 85.77 kB / 1.139 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.8725, allocations: 44.44 kB / 1.139 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.625e-05/0.8726, allocations: 20.53 kB / 1.139 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004764/0.873, allocations: 463 kB / 1.139 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.71e-07/0.873, allocations: 0 / 1.139 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007688/0.8738, allocations: 346.2 kB / 1.14 GB, free: 9.203 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * 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.002172/0.876, allocations: 1.909 MB / 1.142 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001068/0.8771, allocations: 0.6707 MB / 1.142 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.8771, allocations: 0 / 1.142 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004747/0.8776, allocations: 376.5 kB / 1.143 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002273/0.8799, allocations: 0.5146 MB / 1.143 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009292/0.8892, allocations: 7.657 MB / 1.151 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005817/0.8898, allocations: 1.087 MB / 1.152 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001007/0.8908, allocations: 225.5 kB / 1.152 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004536/0.8913, allocations: 356.4 kB / 1.152 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of SimCode: time 6.82e-07/0.8913, allocations: 0 / 1.152 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03747/0.9287, allocations: 24.17 MB / 1.176 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/0.929, allocations: 213 kB / 1.176 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.828/3.757, allocations: 0 / 1.176 GB, free: 15.27 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)