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.8101/0.8101, allocations: 141.8 MB / 149.3 MB, free: 9.215 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.001038/0.001038, allocations: 180.8 kB / 182.2 MB, free: 9.438 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.5 MB / 436.4 MB, free: 13.36 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.0009477/0.0009474, allocations: 93.53 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00172/0.00172, allocations: 274.3 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.306e-05/2.314e-05, allocations: 0 / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4104, allocations: 82.77 MB / 0.7575 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.197/1.608, allocations: 419.3 MB / 1.167 GB, free: 201.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/1.608, allocations: 83.77 kB / 1.167 GB, free: 201.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.9582/2.566, allocations: 285.1 MB / 1.445 GB, free: 153 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.472e-06/2.566, allocations: 0 / 1.445 GB, free: 153 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.479e-05/2.566, allocations: 40.16 kB / 1.445 GB, free: 153 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.003801/2.57, allocations: 1.862 MB / 1.447 GB, free: 152.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/2.57, allocations: 12.5 kB / 1.447 GB, free: 152.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005208/2.571, allocations: 196.6 kB / 1.447 GB, free: 152.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00255/2.573, allocations: 1.356 MB / 1.449 GB, free: 152.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.591e-05/2.573, allocations: 47.69 kB / 1.449 GB, free: 152.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002022/2.574, allocations: 86.56 kB / 1.449 GB, free: 152.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003083/2.577, allocations: 2.28 MB / 1.451 GB, free: 152.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002274/2.579, allocations: 1.612 MB / 1.453 GB, free: 152 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.632e-05/2.579, allocations: 6.875 kB / 1.453 GB, free: 152 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/2.579, allocations: 0 / 1.453 GB, free: 152 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/2.579, allocations: 41.23 kB / 1.453 GB, free: 151.9 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.006407/2.586, allocations: 4.751 MB / 1.457 GB, free: 151 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002585/2.588, allocations: 2.633 MB / 1.46 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001482/2.59, allocations: 1.303 MB / 1.461 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001157/2.591, allocations: 1.732 MB / 1.463 GB, free: 149 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/2.591, allocations: 62.88 kB / 1.463 GB, free: 149 MB / 0.698 GB Notification: Performance of pre-optimization done (n=237): time 3.967e-06/2.591, allocations: 0 / 1.463 GB, free: 149 MB / 0.698 GB Notification: Performance of matching and sorting (n=237): time 0.004173/2.595, allocations: 2.321 MB / 1.465 GB, free: 148.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/2.595, allocations: 81.66 kB / 1.465 GB, free: 148.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00074/2.596, allocations: 0.6604 MB / 1.466 GB, free: 148.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001011/2.596, allocations: 25.7 kB / 1.466 GB, free: 148.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/2.596, allocations: 481.9 kB / 1.466 GB, free: 148.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004289/2.597, allocations: 0.7598 MB / 1.467 GB, free: 147.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.894e-05/2.597, allocations: 0 / 1.467 GB, free: 147.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.646e-05/2.597, allocations: 387.8 kB / 1.468 GB, free: 147.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/2.598, allocations: 0.8121 MB / 1.468 GB, free: 147.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/2.599, allocations: 1.027 MB / 1.469 GB, free: 147.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002622/2.602, allocations: 1.224 MB / 1.471 GB, free: 147.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/2.602, allocations: 3.5 kB / 1.471 GB, free: 147.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004162/2.606, allocations: 2.413 MB / 1.473 GB, free: 147.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/2.606, allocations: 7.188 kB / 1.473 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/2.606, allocations: 7.797 kB / 1.473 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/2.606, allocations: 10.53 kB / 1.473 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/2.608, allocations: 447.8 kB / 1.473 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/2.608, allocations: 18.36 kB / 1.473 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/2.609, allocations: 169.9 kB / 1.474 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/2.609, allocations: 76.33 kB / 1.474 GB, free: 147.1 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.0002957/2.609, allocations: 132.3 kB / 1.474 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004118/2.613, allocations: 2.327 MB / 1.476 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002129/2.614, allocations: 147 kB / 1.476 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004855/2.619, allocations: 2.688 MB / 1.479 GB, free: 146.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/2.619, allocations: 26.44 kB / 1.479 GB, free: 146.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/2.619, allocations: 0 / 1.479 GB, free: 146.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003739/2.622, allocations: 2.388 MB / 1.481 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00629/2.629, allocations: 4.086 MB / 1.485 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/2.629, allocations: 6.078 kB / 1.485 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001579/2.63, allocations: 413.1 kB / 1.486 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000365/2.631, allocations: 83.23 kB / 1.486 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001228/2.631, allocations: 26.75 kB / 1.486 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005199/2.631, allocations: 1.117 MB / 1.487 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/2.631, allocations: 3.719 kB / 1.487 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005797/2.637, allocations: 4.007 MB / 1.491 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009582/2.638, allocations: 498.8 kB / 1.491 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002116/2.638, allocations: 3.719 kB / 1.491 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/2.639, allocations: 76 kB / 1.491 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002315/2.64, allocations: 135.4 kB / 1.491 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/2.64, allocations: 79.16 kB / 1.491 GB, free: 144.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006662/2.64, allocations: 0.505 MB / 1.492 GB, free: 144.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/2.64, allocations: 0 / 1.492 GB, free: 144.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001895/2.642, allocations: 0.6133 MB / 1.493 GB, free: 144.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.007197/2.65, allocations: 5.15 MB / 1.498 GB, free: 143.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002671/2.652, allocations: 2.129 MB / 1.5 GB, free: 143 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/2.652, allocations: 0 / 1.5 GB, free: 143 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001454/2.654, allocations: 1.179 MB / 1.501 GB, free: 143 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/2.656, allocations: 493.5 kB / 1.501 GB, free: 143 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005221/2.661, allocations: 3.419 MB / 1.505 GB, free: 142.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006936/2.662, allocations: 1.367 MB / 1.506 GB, free: 141.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001887/2.664, allocations: 0.719 MB / 1.507 GB, free: 141.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008326/2.665, allocations: 0.6282 MB / 1.507 GB, free: 141.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.963e-06/2.665, allocations: 0 / 1.507 GB, free: 141.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06413/2.729, allocations: 39.54 MB / 1.546 GB, free: 140.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001657/2.729, allocations: 145.9 kB / 1.546 GB, free: 140 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.138/5.867, allocations: 3.5 kB / 1.546 GB, free: 140 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)