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.7995/0.7995, allocations: 143.3 MB / 158.3 MB, free: 5.777 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.001275/0.001275, allocations: 181.7 kB / 191.5 MB, free: 5.742 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.608/1.608, allocations: 223.2 MB / 447.7 MB, free: 4.832 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.001043/0.001043, allocations: 100.3 kB / 0.5187 GB, free: 1.184 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002244/0.002244, allocations: 270 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000683/0.0006832, allocations: 14.41 kB / 0.6929 GB, free: 59.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2268, allocations: 82.8 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.445/1.672, allocations: 420 MB / 1.184 GB, free: 265.9 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/1.672, allocations: 90.08 kB / 1.184 GB, free: 265.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.123/2.795, allocations: 287.6 MB / 1.465 GB, free: 153.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.366e-06/2.795, allocations: 0 / 1.465 GB, free: 153.2 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002738/2.795, allocations: 38.91 kB / 1.465 GB, free: 153.2 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: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.009146/2.804, allocations: 2.104 MB / 1.467 GB, free: 152.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.936e-05/2.805, allocations: 10.38 kB / 1.467 GB, free: 152.6 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001233/2.806, allocations: 230.6 kB / 1.467 GB, free: 152.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/2.807, allocations: 188.7 kB / 1.467 GB, free: 152.4 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005549/2.813, allocations: 1.365 MB / 1.469 GB, free: 152.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002475/2.813, allocations: 113.3 kB / 1.469 GB, free: 152.1 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000875/2.814, allocations: 150.7 kB / 1.469 GB, free: 152.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006708/2.821, allocations: 1.883 MB / 1.471 GB, free: 152 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001014/2.821, allocations: 2.234 kB / 1.471 GB, free: 152 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004635/2.822, allocations: 62.31 kB / 1.471 GB, free: 152 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.118e-05/2.822, allocations: 36.06 kB / 1.471 GB, free: 152 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005863/2.827, allocations: 2.451 MB / 1.473 GB, free: 152 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.01252/2.84, allocations: 4.991 MB / 1.478 GB, free: 150.9 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004206/2.844, allocations: 2.766 MB / 1.481 GB, free: 150.9 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001529/2.846, allocations: 1.736 MB / 1.483 GB, free: 149 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.942e-05/2.846, allocations: 58.67 kB / 1.483 GB, free: 149 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=237): time 5.22e-06/2.846, allocations: 0 / 1.483 GB, free: 149 MB / 0.7136 GB Notification: Performance of matching and sorting (n=237): time 0.006781/2.853, allocations: 3.436 MB / 1.486 GB, free: 148.6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/2.853, allocations: 75.78 kB / 1.486 GB, free: 148.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/2.854, allocations: 0.7059 MB / 1.487 GB, free: 148.4 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001938/2.855, allocations: 68.08 kB / 1.487 GB, free: 148.4 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003925/2.855, allocations: 488.8 kB / 1.487 GB, free: 148.1 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007717/2.856, allocations: 0.7808 MB / 1.488 GB, free: 147.6 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/2.856, allocations: 44.75 kB / 1.488 GB, free: 147.6 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001853/2.856, allocations: 385.6 kB / 1.488 GB, free: 147.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001568/2.858, allocations: 0.8958 MB / 1.489 GB, free: 147.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001679/2.859, allocations: 1.11 MB / 1.49 GB, free: 147.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/2.861, allocations: 1.084 MB / 1.491 GB, free: 147.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/2.861, allocations: 0 / 1.491 GB, free: 147.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004295/2.866, allocations: 2.428 MB / 1.494 GB, free: 147 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.074e-05/2.866, allocations: 7.312 kB / 1.494 GB, free: 147 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/2.866, allocations: 4.656 kB / 1.494 GB, free: 147 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.54e-05/2.866, allocations: 17.86 kB / 1.494 GB, free: 147 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/2.868, allocations: 436.2 kB / 1.494 GB, free: 147 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.958e-05/2.868, allocations: 18.59 kB / 1.494 GB, free: 147 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/2.869, allocations: 219.1 kB / 1.494 GB, free: 146.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002173/2.87, allocations: 80.88 kB / 1.495 GB, free: 146.9 MB / 0.7136 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 () * Number of clocked 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.001104/2.871, allocations: 436.4 kB / 1.495 GB, free: 146.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005499/2.871, allocations: 143 kB / 1.495 GB, free: 146.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005198/2.877, allocations: 2.731 MB / 1.498 GB, free: 146.6 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.11e-05/2.877, allocations: 22.09 kB / 1.498 GB, free: 146.6 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.5e-05/2.877, allocations: 0 / 1.498 GB, free: 146.6 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003593/2.88, allocations: 2.376 MB / 1.5 GB, free: 146.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008089/2.888, allocations: 4.296 MB / 1.504 GB, free: 145.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/2.888, allocations: 3.594 kB / 1.504 GB, free: 145.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001698/2.89, allocations: 416.7 kB / 1.505 GB, free: 145.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006164/2.891, allocations: 104.8 kB / 1.505 GB, free: 145.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001942/2.891, allocations: 48.98 kB / 1.505 GB, free: 145.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006644/2.892, allocations: 1.116 MB / 1.506 GB, free: 144.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/2.892, allocations: 7.781 kB / 1.506 GB, free: 144.7 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006579/2.898, allocations: 4.073 MB / 1.51 GB, free: 144.4 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/2.9, allocations: 495.7 kB / 1.51 GB, free: 144.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000502/2.9, allocations: 42.67 kB / 1.51 GB, free: 144.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/2.902, allocations: 109.6 kB / 1.511 GB, free: 144.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00029/2.902, allocations: 144.5 kB / 1.511 GB, free: 144.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001861/2.902, allocations: 75.44 kB / 1.511 GB, free: 144.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001102/2.904, allocations: 0.5573 MB / 1.511 GB, free: 144.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.21e-07/2.904, allocations: 0 / 1.511 GB, free: 144.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002782/2.906, allocations: 0.6884 MB / 1.512 GB, free: 144 MB / 0.7136 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 () * Number of clocked 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.008015/2.914, allocations: 5.233 MB / 1.517 GB, free: 143 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003989/2.918, allocations: 2.31 MB / 1.519 GB, free: 142.9 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/2.918, allocations: 0 / 1.519 GB, free: 142.9 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002089/2.921, allocations: 1.281 MB / 1.521 GB, free: 142.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002965/2.924, allocations: 0.5178 MB / 1.521 GB, free: 142.9 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/2.935, allocations: 7.569 MB / 1.528 GB, free: 138.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/2.936, allocations: 1.373 MB / 1.53 GB, free: 138 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002725/2.939, allocations: 0.7168 MB / 1.531 GB, free: 138 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001224/2.94, allocations: 0.6158 MB / 1.531 GB, free: 138 MB / 0.7136 GB Notification: Performance of SimCode: time 1.803e-06/2.94, allocations: 2.781 kB / 1.531 GB, free: 138 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0821/3.022, allocations: 42.21 MB / 1.572 GB, free: 136.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/3.022, allocations: 215 kB / 1.573 GB, free: 136.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.84/6.863, allocations: 9.703 kB / 1.573 GB, free: 136.1 MB / 0.7136 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)