Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.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.OneOpenDoor,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneOpenDoor",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.7743/0.7743, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.001028/0.001029, allocations: 191.8 kB / 187.3 MB, free: 11.88 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.538/1.538, allocations: 221.3 MB / 441.4 MB, free: 4.605 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.0009378/0.0009375, allocations: 91.33 kB / 0.5124 GB, free: 24.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002089/0.002089, allocations: 278 kB / 0.5939 GB, free: 7.992 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.878e-05/3.88e-05, allocations: 3.984 kB / 0.6835 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5057/0.5057, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8765/1.382, allocations: 419.9 MB / 1.174 GB, free: 4.062 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/1.383, allocations: 90.2 kB / 1.175 GB, free: 4.016 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.9944/2.377, allocations: 286.7 MB / 1.454 GB, free: 5.195 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.543e-06/2.377, allocations: 0 / 1.454 GB, free: 5.195 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.006e-05/2.377, allocations: 39.98 kB / 1.454 GB, free: 5.156 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: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.003739/2.381, allocations: 1.866 MB / 1.456 GB, free: 3.238 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/2.381, allocations: 12.03 kB / 1.456 GB, free: 3.227 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002982/2.381, allocations: 227.7 kB / 1.457 GB, free: 2.992 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004978/2.382, allocations: 185.8 kB / 1.457 GB, free: 2.809 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00256/2.384, allocations: 1.355 MB / 1.458 GB, free: 1.406 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.696e-05/2.384, allocations: 119 kB / 1.458 GB, free: 1.289 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000203/2.385, allocations: 148 kB / 1.458 GB, free: 1.145 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4814/2.866, allocations: 1.819 MB / 1.46 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.595e-05/2.866, allocations: 4.562 kB / 1.46 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000185/2.866, allocations: 58.97 kB / 1.46 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.387e-05/2.866, allocations: 37.19 kB / 1.46 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005211/2.872, allocations: 2.363 MB / 1.462 GB, free: 145.4 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.009348/2.881, allocations: 5.001 MB / 1.467 GB, free: 144.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003503/2.885, allocations: 2.717 MB / 1.47 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001914/2.887, allocations: 1.38 MB / 1.471 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001385/2.888, allocations: 1.727 MB / 1.473 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/2.888, allocations: 63.78 kB / 1.473 GB, free: 142.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=237): time 4.358e-06/2.888, allocations: 0 / 1.473 GB, free: 142.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=237): time 0.003758/2.892, allocations: 2.222 MB / 1.475 GB, free: 142.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/2.892, allocations: 76.06 kB / 1.475 GB, free: 142.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/2.893, allocations: 0.6951 MB / 1.476 GB, free: 142.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001437/2.893, allocations: 62.98 kB / 1.476 GB, free: 142.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00034/2.893, allocations: 487.6 kB / 1.477 GB, free: 141.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005523/2.894, allocations: 0.7905 MB / 1.477 GB, free: 141.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.809e-05/2.894, allocations: 43.62 kB / 1.477 GB, free: 141.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001098/2.894, allocations: 384.2 kB / 1.478 GB, free: 141.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/2.895, allocations: 0.8603 MB / 1.479 GB, free: 141.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/2.897, allocations: 1.073 MB / 1.48 GB, free: 141 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/2.898, allocations: 1.037 MB / 1.481 GB, free: 141 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/2.898, allocations: 3.062 kB / 1.481 GB, free: 141 MB / 0.698 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.00338/2.902, allocations: 2.344 MB / 1.483 GB, free: 140.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/2.902, allocations: 8.688 kB / 1.483 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/2.902, allocations: 3.312 kB / 1.483 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.409e-05/2.902, allocations: 15.38 kB / 1.483 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001687/2.903, allocations: 442.8 kB / 1.483 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.864e-05/2.903, allocations: 19.48 kB / 1.483 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/2.905, allocations: 213.8 kB / 1.484 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001593/2.905, allocations: 74.02 kB / 1.484 GB, free: 140.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 261 * 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.0003404/2.905, allocations: 210.9 kB / 1.484 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002658/2.906, allocations: 139.7 kB / 1.484 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004297/2.91, allocations: 2.645 MB / 1.487 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/2.91, allocations: 31.33 kB / 1.487 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/2.91, allocations: 2.938 kB / 1.487 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002898/2.913, allocations: 2.293 MB / 1.489 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006015/2.919, allocations: 4.215 MB / 1.493 GB, free: 139.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/2.919, allocations: 3.172 kB / 1.493 GB, free: 139.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001621/2.921, allocations: 411.6 kB / 1.493 GB, free: 139.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005592/2.921, allocations: 101.5 kB / 1.493 GB, free: 139.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/2.921, allocations: 50.34 kB / 1.494 GB, free: 139.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005599/2.922, allocations: 1.116 MB / 1.495 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/2.922, allocations: 5.5 kB / 1.495 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005362/2.927, allocations: 3.948 MB / 1.498 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/2.928, allocations: 498.6 kB / 1.499 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002054/2.929, allocations: 39.19 kB / 1.499 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/2.93, allocations: 114.4 kB / 1.499 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000261/2.93, allocations: 140.1 kB / 1.499 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/2.93, allocations: 67.45 kB / 1.499 GB, free: 138.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006837/2.931, allocations: 0.5541 MB / 1.5 GB, free: 138.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/2.931, allocations: 0 / 1.5 GB, free: 138.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001708/2.933, allocations: 0.6895 MB / 1.501 GB, free: 138.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (237): * Single equations (assignments): 235 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.006266/2.939, allocations: 5.114 MB / 1.506 GB, free: 137.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004619/2.944, allocations: 2.227 MB / 1.508 GB, free: 137 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.934e-06/2.944, allocations: 5 kB / 1.508 GB, free: 137 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001976/2.946, allocations: 1.238 MB / 1.509 GB, free: 137 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002901/2.948, allocations: 0.5105 MB / 1.509 GB, free: 137 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006139/2.955, allocations: 3.621 MB / 1.513 GB, free: 136.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007716/2.955, allocations: 1.367 MB / 1.514 GB, free: 135.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00212/2.958, allocations: 0.7212 MB / 1.515 GB, free: 135.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009594/2.959, allocations: 0.6159 MB / 1.516 GB, free: 135.7 MB / 0.698 GB Notification: Performance of SimCode: time 9.42e-07/2.959, allocations: 0 / 1.516 GB, free: 135.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.076/3.035, allocations: 43.37 MB / 1.558 GB, free: 134.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/3.035, allocations: 184.7 kB / 1.558 GB, free: 134.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.341/6.376, allocations: 0 / 1.558 GB, free: 134.3 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneOpenDoor_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneOpenDoor.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)