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.7974/0.7974, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001183, allocations: 181.9 kB / 187.2 MB, free: 11.9 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.463/1.463, allocations: 221.3 MB / 441.4 MB, free: 4.664 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.0008484/0.0008483, allocations: 96.14 kB / 0.5124 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001787/0.001787, allocations: 276.8 kB / 0.5939 GB, free: 7.992 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.446e-05/3.448e-05, allocations: 4 kB / 0.6835 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3797, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.145/4.525, allocations: 1.88 GB / 2.644 GB, free: 128.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/4.525, allocations: 88.45 kB / 2.644 GB, free: 128.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.483/7.008, allocations: 0.663 GB / 3.307 GB, free: 121.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.344e-06/7.008, allocations: 0.8125 kB / 3.307 GB, free: 121.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.772e-05/7.009, allocations: 26.38 kB / 3.307 GB, free: 121.6 MB / 0.698 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.004062/7.013, allocations: 1.383 MB / 3.309 GB, free: 121.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/7.013, allocations: 12.53 kB / 3.309 GB, free: 121.2 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000227/7.013, allocations: 134.9 kB / 3.309 GB, free: 121.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002719/7.016, allocations: 374 kB / 3.309 GB, free: 121.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/7.018, allocations: 0.8251 MB / 3.31 GB, free: 120.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.898e-05/7.018, allocations: 65.38 kB / 3.31 GB, free: 120.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001947/7.018, allocations: 89.47 kB / 3.31 GB, free: 120.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/7.02, allocations: 1.008 MB / 3.311 GB, free: 120.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/7.02, allocations: 5.438 kB / 3.311 GB, free: 120.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.93e-05/7.02, allocations: 37.22 kB / 3.311 GB, free: 120.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.54e-05/7.02, allocations: 38.12 kB / 3.311 GB, free: 120.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/7.021, allocations: 0.8261 MB / 3.312 GB, free: 120.6 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.004957/7.026, allocations: 4.438 MB / 3.316 GB, free: 118.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008251/7.027, allocations: 0.6331 MB / 3.317 GB, free: 118 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005964/7.028, allocations: 431.8 kB / 3.317 GB, free: 118 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005293/7.028, allocations: 0.6773 MB / 3.318 GB, free: 117.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/7.028, allocations: 47.97 kB / 3.318 GB, free: 117.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 2.595e-06/7.028, allocations: 0 / 3.318 GB, free: 117.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.001341/7.029, allocations: 0.7021 MB / 3.319 GB, free: 117.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/7.03, allocations: 61.25 kB / 3.319 GB, free: 117.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005761/7.03, allocations: 0.5399 MB / 3.319 GB, free: 117 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.621e-05/7.03, allocations: 42.89 kB / 3.319 GB, free: 116.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/7.03, allocations: 425.6 kB / 3.32 GB, free: 116.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/7.031, allocations: 247.3 kB / 3.32 GB, free: 116.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/7.031, allocations: 14.78 kB / 3.32 GB, free: 116.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001018/7.031, allocations: 386.5 kB / 3.32 GB, free: 116.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003494/7.031, allocations: 259.1 kB / 3.32 GB, free: 116.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003972/7.031, allocations: 368.7 kB / 3.321 GB, free: 116.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004226/7.032, allocations: 316.8 kB / 3.321 GB, free: 116.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/7.032, allocations: 0 / 3.321 GB, free: 116.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001051/7.033, allocations: 0.7635 MB / 3.322 GB, free: 116.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/7.033, allocations: 11.09 kB / 3.322 GB, free: 116.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/7.033, allocations: 0 / 3.322 GB, free: 116.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/7.033, allocations: 7.469 kB / 3.322 GB, free: 116.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006668/7.034, allocations: 142.9 kB / 3.322 GB, free: 116.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/7.034, allocations: 9.578 kB / 3.322 GB, free: 116.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/7.035, allocations: 101.5 kB / 3.322 GB, free: 116.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.841e-05/7.035, allocations: 24.77 kB / 3.322 GB, free: 116.1 MB / 0.698 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 () * 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.000128/7.035, allocations: 138.6 kB / 3.322 GB, free: 116 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/7.035, allocations: 88.97 kB / 3.322 GB, free: 116 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/7.036, allocations: 0.77 MB / 3.323 GB, free: 115.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/7.036, allocations: 9.125 kB / 3.323 GB, free: 115.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/7.036, allocations: 3.188 kB / 3.323 GB, free: 115.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008712/7.037, allocations: 0.7863 MB / 3.324 GB, free: 115.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002393/7.04, allocations: 1.819 MB / 3.326 GB, free: 115.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/7.04, allocations: 1.875 kB / 3.326 GB, free: 115.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007962/7.04, allocations: 173.5 kB / 3.326 GB, free: 115.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/7.04, allocations: 2.719 kB / 3.326 GB, free: 115.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.038e-05/7.04, allocations: 20.25 kB / 3.326 GB, free: 115.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/7.04, allocations: 3 kB / 3.326 GB, free: 115.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/7.04, allocations: 0 / 3.326 GB, free: 115.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/7.042, allocations: 1.235 MB / 3.327 GB, free: 115.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004697/7.042, allocations: 245.2 kB / 3.327 GB, free: 115 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/7.043, allocations: 14.41 kB / 3.327 GB, free: 115 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000792/7.043, allocations: 78.8 kB / 3.327 GB, free: 115 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.934e-05/7.043, allocations: 36.48 kB / 3.327 GB, free: 115 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.042e-05/7.044, allocations: 24.3 kB / 3.327 GB, free: 115 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004744/7.044, allocations: 443.8 kB / 3.328 GB, free: 114.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.81e-07/7.044, allocations: 3.312 kB / 3.328 GB, free: 114.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001442/7.045, allocations: 483.6 kB / 3.328 GB, free: 114.9 MB / 0.698 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 () * 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.003445/7.049, allocations: 3.256 MB / 3.332 GB, free: 113.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009566/7.05, allocations: 0.6495 MB / 3.332 GB, free: 113.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/7.05, allocations: 0 / 3.332 GB, free: 113.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000408/7.05, allocations: 353.3 kB / 3.333 GB, free: 113.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002333/7.053, allocations: 0.5082 MB / 3.333 GB, free: 113.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003392/7.056, allocations: 2 MB / 3.335 GB, free: 113.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/7.057, allocations: 1.11 MB / 3.336 GB, free: 112.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009543/7.058, allocations: 223.9 kB / 3.336 GB, free: 112.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004503/7.058, allocations: 361.3 kB / 3.337 GB, free: 112.6 MB / 0.698 GB Notification: Performance of SimCode: time 6.01e-07/7.058, allocations: 0 / 3.337 GB, free: 112.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1116/7.17, allocations: 53.18 MB / 3.389 GB, free: 111.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001352/7.17, allocations: 175 kB / 3.389 GB, free: 111 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.77/10.94, allocations: 0 / 3.389 GB, free: 111 MB / 0.698 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)