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.8851/0.8851, allocations: 141.8 MB / 149.3 MB, free: 9.207 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.001094/0.001094, allocations: 188.8 kB / 182.2 MB, free: 9.434 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.345/1.345, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.000873/0.000873, allocations: 92.11 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001853/0.001853, allocations: 281.9 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.818e-05/1.82e-05, allocations: 4 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3763, allocations: 82.77 MB / 0.7575 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.802/4.178, allocations: 1.879 GB / 2.636 GB, free: 180.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/4.179, allocations: 87.95 kB / 2.637 GB, free: 180 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.993/6.172, allocations: 0.6561 GB / 3.293 GB, free: 50.87 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.453e-06/6.172, allocations: 0 / 3.293 GB, free: 50.87 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.027e-05/6.172, allocations: 27.98 kB / 3.293 GB, free: 50.84 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.002923/6.175, allocations: 1.387 MB / 3.294 GB, free: 49.41 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/6.175, allocations: 8.031 kB / 3.294 GB, free: 49.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002385/6.177, allocations: 370.3 kB / 3.294 GB, free: 49.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/6.179, allocations: 0.8245 MB / 3.295 GB, free: 48.17 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/6.179, allocations: 28 kB / 3.295 GB, free: 48.14 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/6.179, allocations: 51.95 kB / 3.295 GB, free: 48.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001114/6.18, allocations: 0.7419 MB / 3.296 GB, free: 47.35 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/6.181, allocations: 0.8872 MB / 3.297 GB, free: 46.42 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/6.181, allocations: 0 / 3.297 GB, free: 46.42 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-05/6.181, allocations: 0 / 3.297 GB, free: 46.42 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.582e-05/6.182, allocations: 37.94 kB / 3.297 GB, free: 46.38 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.003765/6.185, allocations: 4.335 MB / 3.301 GB, free: 41.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007186/6.186, allocations: 0.6033 MB / 3.302 GB, free: 41.09 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005524/6.187, allocations: 422.4 kB / 3.302 GB, free: 40.68 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004653/6.187, allocations: 0.6849 MB / 3.303 GB, free: 39.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/6.187, allocations: 39.12 kB / 3.303 GB, free: 39.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 3.046e-06/6.187, allocations: 0 / 3.303 GB, free: 39.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.001244/6.188, allocations: 0.721 MB / 3.304 GB, free: 39.06 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/6.188, allocations: 55.97 kB / 3.304 GB, free: 39 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000461/6.189, allocations: 483.6 kB / 3.304 GB, free: 38.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.009e-05/6.189, allocations: 29.7 kB / 3.304 GB, free: 38.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/6.189, allocations: 420.1 kB / 3.304 GB, free: 38.06 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/6.189, allocations: 244.3 kB / 3.305 GB, free: 37.82 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/6.189, allocations: 3.938 kB / 3.305 GB, free: 37.82 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.805e-05/6.189, allocations: 390.7 kB / 3.305 GB, free: 37.43 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003168/6.19, allocations: 269.5 kB / 3.305 GB, free: 37.16 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003772/6.19, allocations: 360.4 kB / 3.306 GB, free: 36.78 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000509/6.191, allocations: 336.4 kB / 3.306 GB, free: 36.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/6.191, allocations: 0 / 3.306 GB, free: 36.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001031/6.192, allocations: 0.7726 MB / 3.307 GB, free: 35.67 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/6.192, allocations: 4 kB / 3.307 GB, free: 35.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/6.192, allocations: 4 kB / 3.307 GB, free: 35.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/6.192, allocations: 4 kB / 3.307 GB, free: 35.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006593/6.192, allocations: 151.8 kB / 3.307 GB, free: 35.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/6.192, allocations: 4 kB / 3.307 GB, free: 35.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009424/6.193, allocations: 87.66 kB / 3.307 GB, free: 35.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.61e-05/6.193, allocations: 23.98 kB / 3.307 GB, free: 35.39 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.0001215/6.194, allocations: 117.3 kB / 3.307 GB, free: 35.27 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009769/6.195, allocations: 0.7054 MB / 3.308 GB, free: 34.56 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/6.195, allocations: 79.06 kB / 3.308 GB, free: 34.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/6.196, allocations: 0.765 MB / 3.309 GB, free: 33.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/6.196, allocations: 16.03 kB / 3.309 GB, free: 33.69 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/6.196, allocations: 0 / 3.309 GB, free: 33.69 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008594/6.197, allocations: 0.8117 MB / 3.309 GB, free: 32.83 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/6.199, allocations: 1.744 MB / 3.311 GB, free: 31.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/6.199, allocations: 0 / 3.311 GB, free: 31.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008299/6.2, allocations: 179.8 kB / 3.311 GB, free: 30.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/6.2, allocations: 4 kB / 3.311 GB, free: 30.86 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/6.2, allocations: 11.98 kB / 3.311 GB, free: 30.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/6.2, allocations: 4 kB / 3.311 GB, free: 30.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/6.2, allocations: 3.953 kB / 3.311 GB, free: 30.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/6.201, allocations: 1.265 MB / 3.313 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003697/6.202, allocations: 247.9 kB / 3.313 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/6.202, allocations: 4 kB / 3.313 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007704/6.203, allocations: 59.78 kB / 3.313 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.047e-05/6.203, allocations: 48.45 kB / 3.313 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.85e-05/6.203, allocations: 27.98 kB / 3.313 GB, free: 29.16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003563/6.203, allocations: 379.2 kB / 3.313 GB, free: 28.79 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/6.203, allocations: 0 / 3.313 GB, free: 28.79 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001052/6.204, allocations: 415.2 kB / 3.314 GB, free: 28.39 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.003455/6.208, allocations: 3.486 MB / 3.317 GB, free: 24.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009063/6.209, allocations: 0.6622 MB / 3.318 GB, free: 24.14 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/6.209, allocations: 4 kB / 3.318 GB, free: 24.14 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003785/6.209, allocations: 354 kB / 3.318 GB, free: 23.79 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/6.211, allocations: 480.2 kB / 3.319 GB, free: 23.33 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003108/6.214, allocations: 1.958 MB / 3.32 GB, free: 21.33 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/6.215, allocations: 1.104 MB / 3.322 GB, free: 20.19 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000872/6.216, allocations: 218.8 kB / 3.322 GB, free: 19.97 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000422/6.216, allocations: 359.3 kB / 3.322 GB, free: 19.62 MB / 0.698 GB Notification: Performance of SimCode: time 6.62e-07/6.216, allocations: 0 / 3.322 GB, free: 19.62 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4986/6.715, allocations: 34.99 MB / 3.356 GB, free: 122.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/6.715, allocations: 151 kB / 3.356 GB, free: 122.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.275/9.99, allocations: 5.188 kB / 3.356 GB, free: 122.5 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)