Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.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.ClosedDoors,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors",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.7349/0.7349, 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.001174/0.001174, allocations: 182 kB / 187.3 MB, free: 11.89 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.418/1.418, allocations: 221.3 MB / 441.4 MB, free: 4.645 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.0008801/0.0008803, allocations: 97.27 kB / 0.5124 GB, free: 24.14 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002215/0.002215, allocations: 272.3 kB / 0.5939 GB, free: 7.98 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.56e-05/3.564e-05, allocations: 4 kB / 0.6835 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4216/0.4217, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 9.778/10.2, allocations: 4.399 GB / 5.163 GB, free: 97.18 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/10.2, allocations: 84.52 kB / 5.163 GB, free: 97.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.77/13.97, allocations: 0.9743 GB / 6.138 GB, free: 87.49 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.373e-06/13.97, allocations: 0 / 6.138 GB, free: 87.49 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002824/13.97, allocations: 65.34 kB / 6.138 GB, free: 87.48 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: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.01217/13.98, allocations: 3.307 MB / 6.141 GB, free: 86.38 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/13.98, allocations: 7.188 kB / 6.141 GB, free: 86.38 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001713/13.98, allocations: 386.3 kB / 6.141 GB, free: 86.33 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005648/13.99, allocations: 0.7495 MB / 6.142 GB, free: 86.17 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006111/14, allocations: 1.972 MB / 6.144 GB, free: 85.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002438/14, allocations: 205.3 kB / 6.144 GB, free: 85.72 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001206/14, allocations: 269.4 kB / 6.144 GB, free: 85.71 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008634/14.01, allocations: 3.105 MB / 6.147 GB, free: 85.58 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001445/14.01, allocations: 3.812 kB / 6.147 GB, free: 85.58 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007669/14.01, allocations: 109.6 kB / 6.147 GB, free: 85.58 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001362/14.01, allocations: 122.5 kB / 6.148 GB, free: 85.57 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008395/14.02, allocations: 4.389 MB / 6.152 GB, free: 85.54 MB / 0.7136 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.0217/14.04, allocations: 10.8 MB / 6.162 GB, free: 81.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008356/14.05, allocations: 4.772 MB / 6.167 GB, free: 81.5 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005269/14.05, allocations: 2.463 MB / 6.169 GB, free: 81.47 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001233/14.05, allocations: 0.8551 MB / 6.17 GB, free: 80.62 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.968e-05/14.05, allocations: 83.09 kB / 6.17 GB, free: 80.57 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=399): time 9.859e-06/14.05, allocations: 2.812 kB / 6.17 GB, free: 80.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=399): time 0.01005/14.06, allocations: 4.007 MB / 6.174 GB, free: 80.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/14.06, allocations: 93.67 kB / 6.174 GB, free: 80.23 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002232/14.06, allocations: 1.095 MB / 6.175 GB, free: 80.09 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0005487/14.07, allocations: 92.08 kB / 6.176 GB, free: 80.05 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006312/14.07, allocations: 0.8134 MB / 6.176 GB, free: 79.72 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001484/14.07, allocations: 1.327 MB / 6.178 GB, free: 78.85 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004345/14.07, allocations: 71.28 kB / 6.178 GB, free: 78.85 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003634/14.07, allocations: 439.6 kB / 6.178 GB, free: 78.54 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002904/14.07, allocations: 1.545 MB / 6.18 GB, free: 78.54 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003144/14.07, allocations: 1.852 MB / 6.181 GB, free: 78.36 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003079/14.08, allocations: 1.847 MB / 6.183 GB, free: 78.31 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.032e-05/14.08, allocations: 2.469 kB / 6.183 GB, free: 78.31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007501/14.08, allocations: 4.077 MB / 6.187 GB, free: 78.07 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.516e-05/14.09, allocations: 7.781 kB / 6.187 GB, free: 78.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/14.09, allocations: 6.312 kB / 6.187 GB, free: 78.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.213e-05/14.09, allocations: 17.34 kB / 6.187 GB, free: 78.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003089/14.09, allocations: 0.6812 MB / 6.188 GB, free: 78.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.064e-05/14.09, allocations: 22.14 kB / 6.188 GB, free: 78.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003294/14.09, allocations: 368.8 kB / 6.188 GB, free: 77.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004445/14.09, allocations: 111.2 kB / 6.188 GB, free: 77.93 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (430): * Single equations (assignments): 430 * 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.0008601/14.09, allocations: 282.6 kB / 6.189 GB, free: 77.82 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009119/14.09, allocations: 235.8 kB / 6.189 GB, free: 77.71 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008051/14.1, allocations: 4.536 MB / 6.193 GB, free: 77.46 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.904e-05/14.1, allocations: 40.64 kB / 6.193 GB, free: 77.46 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.07e-05/14.1, allocations: 3.812 kB / 6.193 GB, free: 77.46 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005521/14.11, allocations: 3.836 MB / 6.197 GB, free: 77.19 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0134/14.12, allocations: 8.169 MB / 6.205 GB, free: 74.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/14.12, allocations: 0 / 6.205 GB, free: 74.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002918/14.12, allocations: 0.6718 MB / 6.206 GB, free: 74.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004463/14.12, allocations: 136.5 kB / 6.206 GB, free: 74.84 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002477/14.12, allocations: 86.17 kB / 6.206 GB, free: 74.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002958/14.13, allocations: 4.549 MB / 6.21 GB, free: 70.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/14.13, allocations: 0.8125 kB / 6.21 GB, free: 70.43 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009655/14.14, allocations: 6.853 MB / 6.217 GB, free: 67.76 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002011/14.14, allocations: 0.7714 MB / 6.218 GB, free: 67.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000422/14.14, allocations: 66.84 kB / 6.218 GB, free: 67.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002267/14.14, allocations: 216.8 kB / 6.218 GB, free: 67.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004127/14.14, allocations: 226.2 kB / 6.218 GB, free: 67.17 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002306/14.14, allocations: 118.4 kB / 6.218 GB, free: 67.14 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001222/14.14, allocations: 0.8542 MB / 6.219 GB, free: 66.78 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.31e-07/14.14, allocations: 0 / 6.219 GB, free: 66.78 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00403/14.15, allocations: 1.308 MB / 6.221 GB, free: 66.48 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],volB.dynBal.U,volB.dynBal.m,volB.dynBal.mXi[1],volC.dynBal.U,volC.dynBal.m,volC.dynBal.mXi[1],dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (393): * Single equations (assignments): 390 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01198/14.16, allocations: 9.635 MB / 6.23 GB, free: 61.64 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005511/14.17, allocations: 3.935 MB / 6.234 GB, free: 58.04 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/14.17, allocations: 0 / 6.234 GB, free: 58.04 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003345/14.17, allocations: 2.494 MB / 6.236 GB, free: 55.76 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005283/14.17, allocations: 0.9869 MB / 6.237 GB, free: 55.09 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/14.19, allocations: 6.404 MB / 6.243 GB, free: 50.04 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/14.19, allocations: 1.983 MB / 6.245 GB, free: 48.46 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00369/14.19, allocations: 1.219 MB / 6.247 GB, free: 47.7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001649/14.19, allocations: 1.081 MB / 6.248 GB, free: 46.7 MB / 0.7136 GB Notification: Performance of SimCode: time 1.112e-06/14.19, allocations: 0 / 6.248 GB, free: 46.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6538/14.85, allocations: 105.5 MB / 6.351 GB, free: 97.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001559/14.85, allocations: 181.5 kB / 6.351 GB, free: 97.29 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.616/20.46, allocations: 3.609 kB / 6.351 GB, free: 97.29 MB / 0.7292 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)