Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.conf.json 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/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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 192.3 kB / 16.13 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.58/1.58, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.917/2.917, allocations: 437 MB / 0.7099 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 67.89 kB / 0.8686 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.067/1.068, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2691/1.337, allocations: 216.2 MB / 1.228 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03161/1.369, allocations: 20.73 MB / 1.248 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005178/1.374, allocations: 51.69 kB / 1.248 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004923/1.379, allocations: 1.1 MB / 1.249 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.9928/2.372, allocations: 3.827 MB / 1.253 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005932/2.378, allocations: 1.387 MB / 1.254 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01889/2.397, allocations: 9.511 MB / 1.264 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006299/2.403, allocations: 1.999 MB / 1.266 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008474/2.412, allocations: 2.033 MB / 1.268 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01016/2.422, allocations: 2.533 MB / 1.27 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002465/2.425, allocations: 184 kB / 1.27 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01791/2.443, allocations: 3.95 MB / 1.274 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004923/2.448, allocations: 1.302 MB / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0109/2.458, allocations: 1.694 MB / 1.277 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01817/2.477, allocations: 5.829 MB / 1.283 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.168e-06/2.477, allocations: 0 / 1.283 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.956e-06/2.477, allocations: 0 / 1.283 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002683/2.477, allocations: 0 / 1.283 GB, free: 4.703 MB / 0.9981 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.01949/2.497, allocations: 3.942 MB / 1.286 GB, free: 19.17 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 8.973e-05/2.497, allocations: 10.91 kB / 1.287 GB, free: 19.17 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002063/2.499, allocations: 397 kB / 1.287 GB, free: 19.12 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007396/2.506, allocations: 0.8221 MB / 1.288 GB, free: 18.94 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008745/2.515, allocations: 1.886 MB / 1.29 GB, free: 18.44 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004864/2.516, allocations: 204.4 kB / 1.29 GB, free: 18.43 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002416/2.518, allocations: 266.6 kB / 1.29 GB, free: 18.43 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01501/2.533, allocations: 3.279 MB / 1.293 GB, free: 18.3 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002436/2.533, allocations: 7.906 kB / 1.293 GB, free: 18.29 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001468/2.535, allocations: 112.6 kB / 1.293 GB, free: 18.29 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002434/2.535, allocations: 130.5 kB / 1.293 GB, free: 18.28 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01262/2.548, allocations: 4.621 MB / 1.298 GB, free: 18.24 MB / 1.014 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.03246/2.58, allocations: 10.87 MB / 1.309 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/2.59, allocations: 4.863 MB / 1.313 GB, free: 14.08 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00768/2.598, allocations: 2.516 MB / 1.316 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002127/2.6, allocations: 0.8663 MB / 1.317 GB, free: 13.19 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001158/2.6, allocations: 84.73 kB / 1.317 GB, free: 13.14 MB / 1.014 GB Notification: Performance of pre-optimization done (n=399): time 6.733e-06/2.6, allocations: 0 / 1.317 GB, free: 13.14 MB / 1.014 GB Notification: Performance of matching and sorting (n=399): time 0.01958/2.62, allocations: 6.023 MB / 1.323 GB, free: 12.57 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.827e-05/2.62, allocations: 92.17 kB / 1.323 GB, free: 12.5 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003056/2.623, allocations: 1.237 MB / 1.324 GB, free: 12.35 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0009935/2.624, allocations: 95.23 kB / 1.324 GB, free: 12.32 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008164/2.625, allocations: 0.8056 MB / 1.325 GB, free: 11.99 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.002193/2.627, allocations: 1.336 MB / 1.326 GB, free: 11.12 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002288/2.63, allocations: 0.5468 MB / 1.327 GB, free: 11.09 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001186/2.63, allocations: 301.1 kB / 1.327 GB, free: 10.79 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003347/2.633, allocations: 1.604 MB / 1.328 GB, free: 10.79 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003807/2.637, allocations: 1.906 MB / 1.33 GB, free: 10.63 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007242/2.644, allocations: 3.836 MB / 1.334 GB, free: 10.43 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-05/2.644, allocations: 0 / 1.334 GB, free: 10.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00899/2.653, allocations: 4.192 MB / 1.338 GB, free: 10.19 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/2.653, allocations: 9.406 kB / 1.338 GB, free: 10.19 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/2.653, allocations: 4.516 kB / 1.338 GB, free: 10.19 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.973e-05/2.653, allocations: 21.28 kB / 1.338 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00333/2.657, allocations: 0.6798 MB / 1.339 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001075/2.657, allocations: 17.08 kB / 1.339 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004441/2.661, allocations: 403.8 kB / 1.339 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007522/2.662, allocations: 118 kB / 1.339 GB, free: 10.03 MB / 1.014 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003435/2.665, allocations: 0.7303 MB / 1.34 GB, free: 9.883 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001846/2.667, allocations: 237.6 kB / 1.34 GB, free: 9.766 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0115/2.679, allocations: 4.637 MB / 1.345 GB, free: 7.75 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.541e-05/2.679, allocations: 44.41 kB / 1.345 GB, free: 7.75 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.635e-05/2.679, allocations: 5.094 kB / 1.345 GB, free: 7.746 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007439/2.686, allocations: 3.951 MB / 1.349 GB, free: 5.508 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01721/2.704, allocations: 8.278 MB / 1.357 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/2.704, allocations: 0 / 1.357 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003215/2.707, allocations: 0.6552 MB / 1.357 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005267/2.707, allocations: 141.4 kB / 1.358 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004259/2.708, allocations: 83.97 kB / 1.358 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003945/2.712, allocations: 4.531 MB / 1.362 GB, free: 7.5 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/2.712, allocations: 0 / 1.362 GB, free: 7.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01308/2.725, allocations: 6.82 MB / 1.369 GB, free: 0.6289 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002612/2.728, allocations: 0.7666 MB / 1.369 GB, free: 15.84 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009355/2.729, allocations: 71.94 kB / 1.37 GB, free: 15.77 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003744/2.732, allocations: 211.3 kB / 1.37 GB, free: 15.56 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008509/2.733, allocations: 226.8 kB / 1.37 GB, free: 15.34 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004806/2.734, allocations: 112 kB / 1.37 GB, free: 15.23 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002511/2.736, allocations: 0.8528 MB / 1.371 GB, free: 14.38 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.5e-07/2.736, allocations: 0 / 1.371 GB, free: 14.38 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.006238/2.743, allocations: 1.088 MB / 1.372 GB, free: 13.29 MB / 1.045 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.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.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 (393): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01413/2.757, allocations: 7.616 MB / 1.379 GB, free: 5.66 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.007975/2.765, allocations: 4.043 MB / 1.383 GB, free: 1.652 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/2.765, allocations: 0 / 1.383 GB, free: 1.652 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.004992/2.77, allocations: 2.551 MB / 1.386 GB, free: 15.14 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007715/2.778, allocations: 1.035 MB / 1.387 GB, free: 14.13 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05802/2.836, allocations: 26.09 MB / 1.412 GB, free: 2.895 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002336/2.838, allocations: 1.935 MB / 1.414 GB, free: 0.918 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.004893/2.843, allocations: 1.227 MB / 1.415 GB, free: 15.68 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002363/2.845, allocations: 1.085 MB / 1.416 GB, free: 14.6 MB / 1.092 GB Notification: Performance of SimCode: time 1.192e-06/2.845, allocations: 0 / 1.416 GB, free: 14.6 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1397/2.985, allocations: 63.94 MB / 1.479 GB, free: 15.45 MB / 1.154 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002784/2.985, allocations: 223.2 kB / 1.479 GB, free: 15.19 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.262/7.247, allocations: 0 / 1.479 GB, free: 15.19 MB / 1.154 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)