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.006744/0.006744, allocations: 100.7 kB / 15.73 MB, free: 6.469 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.001219/0.001219, allocations: 196.7 kB / 16.67 MB, free: 6.379 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002359/0.002359, allocations: 278.8 kB / 290.8 MB, free: 1.949 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9586/0.9586, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 99.84 kB / 0.6814 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2465, allocations: 86.97 MB / 0.7664 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors): time 0.8489/1.095, allocations: 218.5 MB / 0.9797 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02656/1.122, allocations: 20.44 MB / 0.9997 GB, free: 3.609 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003663/1.126, allocations: 59.75 kB / 0.9998 GB, free: 3.551 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003923/1.13, allocations: 1.243 MB / 1.001 GB, free: 2.301 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0129/1.143, allocations: 4.081 MB / 1.005 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00479/1.148, allocations: 1.544 MB / 1.006 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01035/1.158, allocations: 6.969 MB / 1.013 GB, free: 5.676 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003884/1.162, allocations: 2.356 MB / 1.016 GB, free: 3.277 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005506/1.167, allocations: 2.403 MB / 1.018 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005461/1.173, allocations: 2.46 MB / 1.02 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0008209/1.174, allocations: 340 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008751/1.183, allocations: 3.461 MB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002042/1.185, allocations: 1.45 MB / 1.025 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003169/1.188, allocations: 1.871 MB / 1.027 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01161/1.199, allocations: 5.768 MB / 1.033 GB, free: 1.5 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/1.199, allocations: 0 / 1.033 GB, free: 1.5 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.104e-06/1.199, allocations: 0 / 1.033 GB, free: 1.5 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001209/1.2, allocations: 0 / 1.033 GB, free: 1.5 MB / 0.7794 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.01119/1.211, allocations: 3.948 MB / 1.037 GB, free: 13.49 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/1.211, allocations: 8.031 kB / 1.037 GB, free: 13.48 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004904/1.216, allocations: 0.8314 MB / 1.038 GB, free: 12.64 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004705/1.221, allocations: 1.937 MB / 1.039 GB, free: 10.65 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/1.221, allocations: 201.4 kB / 1.04 GB, free: 10.45 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004587/1.221, allocations: 271.9 kB / 1.04 GB, free: 10.18 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005645/1.227, allocations: 3.275 MB / 1.043 GB, free: 6.867 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.822e-05/1.227, allocations: 7.984 kB / 1.043 GB, free: 6.859 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002616/1.227, allocations: 112 kB / 1.043 GB, free: 6.75 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001265/1.227, allocations: 121.4 kB / 1.043 GB, free: 6.629 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006838/1.234, allocations: 4.623 MB / 1.048 GB, free: 1.992 MB / 0.795 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.01985/1.254, allocations: 10.92 MB / 1.059 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006535/1.261, allocations: 4.867 MB / 1.063 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00375/1.264, allocations: 2.532 MB / 1.066 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001305/1.266, allocations: 0.8602 MB / 1.067 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.501e-05/1.266, allocations: 81.7 kB / 1.067 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=399): time 5.651e-06/1.266, allocations: 0 / 1.067 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=399): time 0.0099/1.276, allocations: 6.026 MB / 1.073 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/1.276, allocations: 94.55 kB / 1.073 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/1.278, allocations: 1.228 MB / 1.074 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0002615/1.278, allocations: 93.7 kB / 1.074 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006016/1.279, allocations: 0.8134 MB / 1.075 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001176/1.28, allocations: 1.332 MB / 1.076 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007922/1.281, allocations: 0.5508 MB / 1.077 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001112/1.281, allocations: 305.1 kB / 1.077 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002335/1.283, allocations: 1.607 MB / 1.078 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002502/1.286, allocations: 1.901 MB / 1.08 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005225/1.291, allocations: 3.834 MB / 1.084 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/1.291, allocations: 11.94 kB / 1.084 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006311/1.297, allocations: 4.183 MB / 1.088 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/1.297, allocations: 7.938 kB / 1.088 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/1.297, allocations: 4 kB / 1.088 GB, free: 7.574 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.125e-05/1.297, allocations: 20.39 kB / 1.088 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002677/1.3, allocations: 0.6904 MB / 1.089 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.692e-05/1.3, allocations: 21.33 kB / 1.089 GB, free: 6.844 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002653/1.303, allocations: 237.3 kB / 1.089 GB, free: 6.609 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002131/1.303, allocations: 112 kB / 1.089 GB, free: 6.5 MB / 0.8419 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.001526/1.304, allocations: 0.728 MB / 1.09 GB, free: 5.762 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006441/1.305, allocations: 249 kB / 1.09 GB, free: 5.516 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007041/1.312, allocations: 4.62 MB / 1.095 GB, free: 0.8516 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-05/1.312, allocations: 43.98 kB / 1.095 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.464e-05/1.312, allocations: 0 / 1.095 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.4394/1.752, allocations: 3.953 MB / 1.099 GB, free: 288.7 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01421/1.766, allocations: 8.268 MB / 1.107 GB, free: 285.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/1.766, allocations: 5.812 kB / 1.107 GB, free: 285.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002891/1.769, allocations: 0.6626 MB / 1.107 GB, free: 285.6 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004842/1.769, allocations: 136 kB / 1.107 GB, free: 285.5 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002135/1.77, allocations: 84.45 kB / 1.107 GB, free: 285.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003032/1.773, allocations: 5.035 MB / 1.112 GB, free: 280.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/1.773, allocations: 0 / 1.112 GB, free: 280.6 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01191/1.785, allocations: 6.828 MB / 1.119 GB, free: 278.1 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002342/1.787, allocations: 0.7578 MB / 1.12 GB, free: 277.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004675/1.787, allocations: 69.11 kB / 1.12 GB, free: 277.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002012/1.789, allocations: 92.08 kB / 1.12 GB, free: 277.5 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005332/1.79, allocations: 222.1 kB / 1.12 GB, free: 277.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002364/1.79, allocations: 112.6 kB / 1.12 GB, free: 277.5 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001515/1.792, allocations: 0.8678 MB / 1.121 GB, free: 277.1 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/1.792, allocations: 0 / 1.121 GB, free: 277.1 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003342/1.795, allocations: 1.072 MB / 1.122 GB, free: 276.9 MB / 0.8419 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.0007338/1.796, allocations: 335.2 kB / 1.122 GB, free: 276.8 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.006873/1.803, allocations: 4.057 MB / 1.126 GB, free: 275.4 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/1.803, allocations: 3.156 kB / 1.126 GB, free: 275.4 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.004233/1.807, allocations: 2.552 MB / 1.129 GB, free: 274.3 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005611/1.813, allocations: 1.083 MB / 1.13 GB, free: 274 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/1.824, allocations: 6.59 MB / 1.136 GB, free: 271.1 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002018/1.826, allocations: 1.937 MB / 1.138 GB, free: 270.3 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.004706/1.831, allocations: 1.223 MB / 1.14 GB, free: 270.1 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001019/1.832, allocations: 244.4 kB / 1.14 GB, free: 270.1 MB / 0.8419 GB Notification: Performance of SimCode: time 1.213e-06/1.832, allocations: 0 / 1.14 GB, free: 270.1 MB / 0.8419 GB Notification: Performance of Templates: time 0.0709/1.903, allocations: 49.06 MB / 1.188 GB, free: 232 MB / 0.8419 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)