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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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: translateModel(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors") translateModel(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 106 kB / 16.41 MB, free: 6.457 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.001308/0.001308, allocations: 187 kB / 17.34 MB, free: 5.719 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.54/1.54, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002626/0.002626, allocations: 292.1 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.04/1.04, allocations: 169.2 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 87.86 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6048/0.6071, allocations: 86.98 MB / 0.767 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors): time 0.9577/1.565, allocations: 218.5 MB / 0.9804 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02951/1.594, allocations: 20.44 MB / 1 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004622/1.599, allocations: 55.66 kB / 1 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004463/1.604, allocations: 1.244 MB / 1.002 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01503/1.619, allocations: 4.082 MB / 1.006 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006209/1.625, allocations: 1.538 MB / 1.007 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01301/1.638, allocations: 6.967 MB / 1.014 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006634/1.645, allocations: 2.369 MB / 1.016 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008171/1.653, allocations: 2.361 MB / 1.019 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00744/1.66, allocations: 2.453 MB / 1.021 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.00218/1.663, allocations: 345.1 kB / 1.021 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01186/1.674, allocations: 3.464 MB / 1.025 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.003928/1.678, allocations: 1.447 MB / 1.026 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.007522/1.686, allocations: 1.87 MB / 1.028 GB, free: 384 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01735/1.703, allocations: 5.767 MB / 1.034 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.545e-06/1.703, allocations: 0 / 1.034 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.714e-06/1.703, allocations: 4.75 kB / 1.034 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0002946/1.704, allocations: 0 / 1.034 GB, free: 15.69 MB / 0.7325 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.01875/1.722, allocations: 3.946 MB / 1.037 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.274e-05/1.723, allocations: 11.34 kB / 1.037 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006793/1.729, allocations: 0.8262 MB / 1.038 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006934/1.736, allocations: 1.938 MB / 1.04 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003699/1.737, allocations: 202.8 kB / 1.04 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001582/1.738, allocations: 269.8 kB / 1.041 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01127/1.75, allocations: 3.281 MB / 1.044 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001435/1.75, allocations: 0.5312 kB / 1.044 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00105/1.751, allocations: 114 kB / 1.044 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001709/1.751, allocations: 120.3 kB / 1.044 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01094/1.762, allocations: 4.623 MB / 1.048 GB, free: 8.234 MB / 0.7325 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.02702/1.789, allocations: 10.92 MB / 1.059 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009163/1.798, allocations: 4.873 MB / 1.064 GB, free: 7.961 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007347/1.806, allocations: 2.528 MB / 1.066 GB, free: 5.426 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001873/1.808, allocations: 0.866 MB / 1.067 GB, free: 4.406 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/1.808, allocations: 77.7 kB / 1.067 GB, free: 4.32 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=399): time 7.664e-06/1.808, allocations: 0 / 1.067 GB, free: 4.32 MB / 0.7481 GB Notification: Performance of matching and sorting (n=399): time 0.01649/1.824, allocations: 6.025 MB / 1.073 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.17e-05/1.824, allocations: 94.55 kB / 1.073 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003115/1.828, allocations: 1.224 MB / 1.074 GB, free: 12.88 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0008971/1.828, allocations: 93.7 kB / 1.075 GB, free: 12.78 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009492/1.829, allocations: 0.8163 MB / 1.075 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.002609/1.832, allocations: 1.338 MB / 1.077 GB, free: 10.63 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002708/1.835, allocations: 0.5469 MB / 1.077 GB, free: 10.08 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001633/1.835, allocations: 305.1 kB / 1.077 GB, free: 9.777 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003621/1.839, allocations: 1.603 MB / 1.079 GB, free: 8.172 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004231/1.843, allocations: 1.905 MB / 1.081 GB, free: 6.223 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007897/1.851, allocations: 3.833 MB / 1.085 GB, free: 2.344 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-05/1.851, allocations: 4 kB / 1.085 GB, free: 2.34 MB / 0.7637 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00968/1.86, allocations: 4.185 MB / 1.089 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.613e-05/1.861, allocations: 4.406 kB / 1.089 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.117e-05/1.861, allocations: 11.94 kB / 1.089 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.026e-05/1.861, allocations: 16 kB / 1.089 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003344/1.864, allocations: 0.6871 MB / 1.089 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.521e-05/1.864, allocations: 16 kB / 1.089 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003261/1.867, allocations: 245.3 kB / 1.09 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000455/1.868, allocations: 108 kB / 1.09 GB, free: 13.11 MB / 0.7794 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.002268/1.87, allocations: 0.7318 MB / 1.091 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001336/1.871, allocations: 245.1 kB / 1.091 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01076/1.882, allocations: 4.619 MB / 1.095 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.738e-05/1.882, allocations: 44 kB / 1.095 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.033e-05/1.882, allocations: 0 / 1.095 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008047/1.89, allocations: 3.96 MB / 1.099 GB, free: 3.453 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01875/1.909, allocations: 8.287 MB / 1.107 GB, free: 11.18 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/1.909, allocations: 3.188 kB / 1.107 GB, free: 11.18 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003174/1.912, allocations: 0.6545 MB / 1.108 GB, free: 10.56 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006709/1.913, allocations: 141.6 kB / 1.108 GB, free: 10.41 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004161/1.914, allocations: 83.97 kB / 1.108 GB, free: 10.33 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004788/1.918, allocations: 5.035 MB / 1.113 GB, free: 4.91 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/1.918, allocations: 7.938 kB / 1.113 GB, free: 4.902 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01426/1.933, allocations: 6.826 MB / 1.12 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00252/1.935, allocations: 0.7589 MB / 1.12 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001011/1.936, allocations: 68 kB / 1.121 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002965/1.939, allocations: 83.02 kB / 1.121 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007097/1.94, allocations: 226.8 kB / 1.121 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004606/1.941, allocations: 115.9 kB / 1.121 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002098/1.943, allocations: 0.8606 MB / 1.122 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of sort global known variables: time 5.01e-07/1.943, allocations: 0 / 1.122 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004619/1.947, allocations: 1.072 MB / 1.123 GB, free: 10.82 MB / 0.8106 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.001124/1.948, allocations: 339.4 kB / 1.123 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.007874/1.956, allocations: 4.062 MB / 1.127 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 9.819e-06/1.956, allocations: 4 kB / 1.127 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.004519/1.961, allocations: 2.541 MB / 1.13 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006814/1.968, allocations: 1.076 MB / 1.131 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01513/1.983, allocations: 6.755 MB / 1.137 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002827/1.986, allocations: 1.939 MB / 1.139 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002841/1.989, allocations: 279.4 kB / 1.139 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of SimCode: time 2.034e-06/1.989, allocations: 0 / 1.139 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of Templates: time 0.09745/2.086, allocations: 58.06 MB / 1.196 GB, free: 16 kB / 0.8731 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.makefile (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 & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)