Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8275/0.8275, allocations: 143.3 MB / 158.3 MB, free: 5.762 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 181.1 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 223.1 MB / 447.7 MB, free: 4.836 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008748/0.0008748, allocations: 87.78 kB / 0.5187 GB, free: 1.203 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001788/0.001788, allocations: 282.5 kB / 0.6005 GB, free: 48.78 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004489/0.0004491, allocations: 16.97 kB / 0.6929 GB, free: 59.6 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2465, allocations: 82.8 MB / 0.7738 GB, free: 13.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.012/5.258, allocations: 1.88 GB / 2.653 GB, free: 151.6 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003661/5.259, allocations: 91.89 kB / 2.654 GB, free: 151.6 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.268/7.526, allocations: 0.6636 GB / 3.317 GB, free: 54.77 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.603e-06/7.526, allocations: 4 kB / 3.317 GB, free: 54.77 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.551e-05/7.526, allocations: 24 kB / 3.317 GB, free: 54.74 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.004277/7.531, allocations: 1.562 MB / 3.319 GB, free: 53.12 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/7.531, allocations: 12.03 kB / 3.319 GB, free: 53.11 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001788/7.531, allocations: 135.3 kB / 3.319 GB, free: 52.97 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002553/7.533, allocations: 370.3 kB / 3.319 GB, free: 52.61 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/7.535, allocations: 0.8244 MB / 3.32 GB, free: 51.74 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.983e-05/7.535, allocations: 66 kB / 3.32 GB, free: 51.68 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/7.535, allocations: 91.89 kB / 3.32 GB, free: 51.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/7.537, allocations: 1.039 MB / 3.321 GB, free: 50.51 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/7.537, allocations: 0 / 3.321 GB, free: 50.51 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.334e-05/7.537, allocations: 36 kB / 3.321 GB, free: 50.47 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.402e-05/7.537, allocations: 38 kB / 3.321 GB, free: 50.44 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/7.538, allocations: 0.8587 MB / 3.322 GB, free: 49.57 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.004435/7.543, allocations: 4.448 MB / 3.326 GB, free: 44.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000842/7.543, allocations: 0.6349 MB / 3.327 GB, free: 44.12 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005675/7.544, allocations: 0.681 MB / 3.328 GB, free: 43.29 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/7.544, allocations: 47.06 kB / 3.328 GB, free: 43.23 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=70): time 2.415e-06/7.544, allocations: 0 / 3.328 GB, free: 43.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70): time 0.001682/7.546, allocations: 0.9942 MB / 3.329 GB, free: 42.24 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/7.546, allocations: 59.97 kB / 3.329 GB, free: 42.17 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006128/7.546, allocations: 0.5466 MB / 3.329 GB, free: 41.62 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.179e-05/7.547, allocations: 37.7 kB / 3.329 GB, free: 41.57 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/7.547, allocations: 424.1 kB / 3.33 GB, free: 41.15 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/7.547, allocations: 244.4 kB / 3.33 GB, free: 40.91 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/7.547, allocations: 16 kB / 3.33 GB, free: 40.89 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001309/7.547, allocations: 390.7 kB / 3.33 GB, free: 40.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003896/7.547, allocations: 273.2 kB / 3.331 GB, free: 40.24 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000434/7.548, allocations: 380.4 kB / 3.331 GB, free: 39.84 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004488/7.548, allocations: 323.1 kB / 3.331 GB, free: 39.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/7.548, allocations: 4 kB / 3.331 GB, free: 39.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001065/7.549, allocations: 0.7929 MB / 3.332 GB, free: 38.71 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/7.55, allocations: 7.938 kB / 3.332 GB, free: 38.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/7.55, allocations: 4 kB / 3.332 GB, free: 38.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/7.55, allocations: 4 kB / 3.332 GB, free: 38.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006442/7.55, allocations: 144 kB / 3.332 GB, free: 38.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/7.55, allocations: 4 kB / 3.332 GB, free: 38.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/7.551, allocations: 103.4 kB / 3.332 GB, free: 38.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.53e-05/7.551, allocations: 20 kB / 3.332 GB, free: 38.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000521/7.552, allocations: 290.1 kB / 3.333 GB, free: 38.14 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/7.552, allocations: 86.97 kB / 3.333 GB, free: 38.05 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/7.553, allocations: 0.7922 MB / 3.334 GB, free: 37.25 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/7.553, allocations: 12 kB / 3.334 GB, free: 37.24 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/7.553, allocations: 0 / 3.334 GB, free: 37.24 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000941/7.554, allocations: 0.8078 MB / 3.334 GB, free: 36.38 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/7.556, allocations: 0.9773 MB / 3.335 GB, free: 35.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/7.556, allocations: 0 / 3.335 GB, free: 35.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008148/7.556, allocations: 175.8 kB / 3.335 GB, free: 35.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/7.556, allocations: 8 kB / 3.335 GB, free: 35.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.937e-05/7.556, allocations: 19.98 kB / 3.335 GB, free: 35.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/7.556, allocations: 4 kB / 3.336 GB, free: 35.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/7.556, allocations: 0 / 3.336 GB, free: 35.15 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/7.558, allocations: 1.272 MB / 3.337 GB, free: 33.86 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004616/7.558, allocations: 244 kB / 3.337 GB, free: 33.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/7.559, allocations: 15.94 kB / 3.337 GB, free: 33.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007543/7.559, allocations: 71.78 kB / 3.337 GB, free: 33.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.652e-05/7.559, allocations: 40.5 kB / 3.337 GB, free: 33.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/7.56, allocations: 27.98 kB / 3.337 GB, free: 33.45 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004787/7.56, allocations: 443 kB / 3.338 GB, free: 33.03 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/7.56, allocations: 4 kB / 3.338 GB, free: 33.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001646/7.562, allocations: 487.2 kB / 3.338 GB, free: 32.55 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 (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.004136/7.566, allocations: 3.287 MB / 3.341 GB, free: 29.17 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001118/7.567, allocations: 0.6718 MB / 3.342 GB, free: 28.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/7.567, allocations: 4 kB / 3.342 GB, free: 28.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000455/7.567, allocations: 363 kB / 3.342 GB, free: 28.14 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002309/7.57, allocations: 0.5152 MB / 3.343 GB, free: 27.63 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0083/7.578, allocations: 6.599 MB / 3.349 GB, free: 20.9 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006257/7.579, allocations: 1.104 MB / 3.35 GB, free: 19.77 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001168/7.58, allocations: 227.1 kB / 3.35 GB, free: 19.54 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000499/7.58, allocations: 355.3 kB / 3.351 GB, free: 19.2 MB / 0.7136 GB Notification: Performance of SimCode: time 2.024e-06/7.58, allocations: 0 / 3.351 GB, free: 19.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5769/8.157, allocations: 48.94 MB / 3.399 GB, free: 125.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/8.158, allocations: 202.1 kB / 3.399 GB, free: 125.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.622/11.78, allocations: 0 / 3.399 GB, free: 125.2 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)