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.001822/0.001822, allocations: 108.1 kB / 16.41 MB, free: 6.414 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.002063/0.002063, allocations: 191.5 kB / 17.34 MB, free: 5.691 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.539/1.539, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002529/0.002529, allocations: 284.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.148/1.148, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002834/0.002834, allocations: 99.83 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5185/0.5214, allocations: 86.98 MB / 0.767 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors): time 0.8208/1.342, allocations: 219 MB / 0.981 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02362/1.366, allocations: 20.47 MB / 1.001 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003689/1.369, allocations: 56.59 kB / 1.001 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003394/1.373, allocations: 1.309 MB / 1.002 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01018/1.383, allocations: 4.204 MB / 1.006 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004018/1.387, allocations: 1.555 MB / 1.008 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.008089/1.395, allocations: 6.968 MB / 1.015 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003669/1.399, allocations: 2.022 MB / 1.017 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005181/1.404, allocations: 2.429 MB / 1.019 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005206/1.409, allocations: 2.461 MB / 1.021 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0009207/1.41, allocations: 344.2 kB / 1.022 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007585/1.418, allocations: 3.481 MB / 1.025 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001996/1.42, allocations: 1.477 MB / 1.027 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.003203/1.423, allocations: 1.865 MB / 1.028 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.009939/1.433, allocations: 5.791 MB / 1.034 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/1.433, allocations: 0 / 1.034 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.92e-07/1.433, allocations: 3.938 kB / 1.034 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.000124/1.433, allocations: 1 kB / 1.034 GB, free: 15.77 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.01214/1.445, allocations: 4.033 MB / 1.038 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/1.445, allocations: 7.375 kB / 1.038 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005322/1.45, allocations: 0.8469 MB / 1.039 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005491/1.456, allocations: 1.944 MB / 1.041 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000218/1.456, allocations: 200.2 kB / 1.041 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009504/1.457, allocations: 271.5 kB / 1.041 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007633/1.465, allocations: 3.286 MB / 1.044 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.648e-05/1.465, allocations: 7.141 kB / 1.044 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003313/1.465, allocations: 118.6 kB / 1.045 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001424/1.465, allocations: 121.5 kB / 1.045 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00848/1.474, allocations: 4.621 MB / 1.049 GB, free: 8.188 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.02133/1.495, allocations: 10.93 MB / 1.06 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006764/1.502, allocations: 4.533 MB / 1.064 GB, free: 8.246 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003966/1.506, allocations: 2.289 MB / 1.067 GB, free: 5.949 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001335/1.507, allocations: 0.8676 MB / 1.067 GB, free: 4.934 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.694e-05/1.507, allocations: 77.7 kB / 1.067 GB, free: 4.848 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=399): time 5.831e-06/1.507, allocations: 0 / 1.067 GB, free: 4.848 MB / 0.7481 GB Notification: Performance of matching and sorting (n=399): time 0.01171/1.519, allocations: 6.027 MB / 1.073 GB, free: 14.74 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.546e-05/1.519, allocations: 93.73 kB / 1.073 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002209/1.521, allocations: 1.244 MB / 1.075 GB, free: 13.39 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0004578/1.522, allocations: 93.7 kB / 1.075 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008113/1.523, allocations: 0.819 MB / 1.076 GB, free: 12.46 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001709/1.524, allocations: 1.401 MB / 1.077 GB, free: 11.08 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009865/1.525, allocations: 0.543 MB / 1.077 GB, free: 10.53 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001534/1.525, allocations: 309.1 kB / 1.078 GB, free: 10.22 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003007/1.528, allocations: 1.599 MB / 1.079 GB, free: 8.621 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003319/1.532, allocations: 1.906 MB / 1.081 GB, free: 6.672 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006684/1.538, allocations: 3.836 MB / 1.085 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.239e-05/1.538, allocations: 4 kB / 1.085 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007758/1.546, allocations: 4.199 MB / 1.089 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.228e-05/1.546, allocations: 11.98 kB / 1.089 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/1.546, allocations: 4 kB / 1.089 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.732e-05/1.546, allocations: 16 kB / 1.089 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003093/1.549, allocations: 0.6793 MB / 1.09 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.63e-05/1.549, allocations: 20.3 kB / 1.09 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002687/1.552, allocations: 258 kB / 1.09 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002522/1.552, allocations: 116 kB / 1.09 GB, free: 13.53 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.001511/1.554, allocations: 0.7325 MB / 1.091 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006707/1.554, allocations: 250.5 kB / 1.091 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008572/1.563, allocations: 4.628 MB / 1.096 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.448e-05/1.563, allocations: 36 kB / 1.096 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/1.563, allocations: 4 kB / 1.096 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006677/1.57, allocations: 3.956 MB / 1.099 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01517/1.585, allocations: 8.289 MB / 1.108 GB, free: 11.59 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/1.585, allocations: 4 kB / 1.108 GB, free: 11.59 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003365/1.588, allocations: 0.6576 MB / 1.108 GB, free: 10.96 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005486/1.589, allocations: 142.5 kB / 1.108 GB, free: 10.82 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003897/1.589, allocations: 79.98 kB / 1.108 GB, free: 10.74 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004814/1.594, allocations: 5.034 MB / 1.113 GB, free: 5.32 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.289e-06/1.594, allocations: 3.938 kB / 1.113 GB, free: 5.316 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01294/1.607, allocations: 6.832 MB / 1.12 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002318/1.609, allocations: 0.7719 MB / 1.121 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004603/1.61, allocations: 68 kB / 1.121 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002133/1.612, allocations: 95.56 kB / 1.121 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005213/1.612, allocations: 230.8 kB / 1.121 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002426/1.613, allocations: 111.9 kB / 1.121 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001375/1.614, allocations: 0.8606 MB / 1.122 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of sort global known variables: time 8e-08/1.614, allocations: 0 / 1.122 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003022/1.617, allocations: 1.073 MB / 1.123 GB, free: 11.21 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.0007724/1.618, allocations: 339 kB / 1.123 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.006748/1.625, allocations: 3.824 MB / 1.127 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/1.625, allocations: 0.8125 kB / 1.127 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.004121/1.629, allocations: 2.359 MB / 1.129 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005763/1.635, allocations: 1.065 MB / 1.131 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/1.646, allocations: 6.685 MB / 1.137 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002004/1.648, allocations: 1.935 MB / 1.139 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.004471/1.653, allocations: 1.223 MB / 1.14 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001277/1.654, allocations: 239.4 kB / 1.14 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of SimCode: time 1.773e-06/1.654, allocations: 4 kB / 1.14 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of Templates: time 0.08906/1.743, allocations: 48.75 MB / 1.188 GB, free: 9.523 MB / 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)