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.001408/0.001408, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001954/0.001954, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.56/1.56, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002287/0.002287, allocations: 275 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.311/1.311, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 101.5 kB / 0.5952 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2523, allocations: 86.98 MB / 0.6802 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors): time 0.8979/1.15, allocations: 218.5 MB / 0.8935 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03488/1.185, allocations: 20.42 MB / 0.9135 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005361/1.191, allocations: 59.69 kB / 0.9135 GB, free: 8.555 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005053/1.196, allocations: 1.247 MB / 0.9148 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01556/1.211, allocations: 4.086 MB / 0.9187 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00608/1.218, allocations: 1.534 MB / 0.9202 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01275/1.23, allocations: 6.967 MB / 0.9271 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005259/1.236, allocations: 2.364 MB / 0.9294 GB, free: 8.27 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007274/1.243, allocations: 2.356 MB / 0.9317 GB, free: 5.906 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006447/1.249, allocations: 2.45 MB / 0.9341 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001477/1.251, allocations: 344 kB / 0.9344 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01108/1.262, allocations: 3.469 MB / 0.9378 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003221/1.265, allocations: 1.454 MB / 0.9392 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.005156/1.27, allocations: 1.867 MB / 0.941 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01496/1.285, allocations: 5.722 MB / 0.9466 GB, free: 6.582 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.398e-06/1.286, allocations: 0 / 0.9466 GB, free: 6.582 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.504e-06/1.286, allocations: 4 kB / 0.9466 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002245/1.286, allocations: 0 / 0.9466 GB, free: 6.578 MB / 0.6544 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.014/1.3, allocations: 3.945 MB / 0.9505 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.095e-05/1.3, allocations: 16.03 kB / 0.9505 GB, free: 2.555 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005536/1.305, allocations: 0.8236 MB / 0.9513 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005741/1.311, allocations: 1.879 MB / 0.9531 GB, free: 15.79 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002256/1.311, allocations: 205.3 kB / 0.9533 GB, free: 15.59 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009922/1.312, allocations: 264 kB / 0.9536 GB, free: 15.33 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00909/1.322, allocations: 3.279 MB / 0.9568 GB, free: 12.01 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.294e-05/1.322, allocations: 7.906 kB / 0.9568 GB, free: 12 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003242/1.322, allocations: 116 kB / 0.9569 GB, free: 11.89 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001995/1.322, allocations: 121.4 kB / 0.957 GB, free: 11.77 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009633/1.332, allocations: 4.623 MB / 0.9615 GB, free: 7.129 MB / 0.67 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.02533/1.357, allocations: 10.99 MB / 0.9722 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007794/1.365, allocations: 4.864 MB / 0.977 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00477/1.37, allocations: 2.52 MB / 0.9794 GB, free: 4.043 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001293/1.371, allocations: 0.8643 MB / 0.9803 GB, free: 3.012 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.057e-05/1.371, allocations: 77.7 kB / 0.9804 GB, free: 2.926 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=399): time 5.671e-06/1.371, allocations: 3.938 kB / 0.9804 GB, free: 2.922 MB / 0.6856 GB Notification: Performance of matching and sorting (n=399): time 0.01281/1.384, allocations: 6.023 MB / 0.9863 GB, free: 12.81 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.949e-05/1.384, allocations: 98.48 kB / 0.9863 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002168/1.386, allocations: 1.232 MB / 0.9875 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0004838/1.387, allocations: 97.7 kB / 0.9876 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001017/1.388, allocations: 0.8018 MB / 0.9884 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001976/1.39, allocations: 1.332 MB / 0.9897 GB, free: 9.199 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009527/1.391, allocations: 0.5469 MB / 0.9903 GB, free: 8.645 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001203/1.391, allocations: 305.1 kB / 0.9906 GB, free: 8.344 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002832/1.394, allocations: 1.599 MB / 0.9921 GB, free: 6.742 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003143/1.397, allocations: 1.905 MB / 0.994 GB, free: 4.793 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006882/1.404, allocations: 3.834 MB / 0.9977 GB, free: 0.8984 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.364e-05/1.404, allocations: 0 / 0.9977 GB, free: 0.8984 MB / 0.7012 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00784/1.412, allocations: 4.195 MB / 1.002 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.81e-05/1.412, allocations: 11.94 kB / 1.002 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/1.412, allocations: 4 kB / 1.002 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.572e-05/1.412, allocations: 16 kB / 1.002 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003005/1.415, allocations: 0.6869 MB / 1.003 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.843e-05/1.415, allocations: 20 kB / 1.003 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00291/1.418, allocations: 245.3 kB / 1.003 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002795/1.418, allocations: 116 kB / 1.003 GB, free: 11.58 MB / 0.7169 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.001666/1.42, allocations: 0.7253 MB / 1.004 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008326/1.421, allocations: 245.1 kB / 1.004 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007853/1.429, allocations: 4.633 MB / 1.008 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.858e-05/1.429, allocations: 43.94 kB / 1.008 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.547e-05/1.429, allocations: 0 / 1.008 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00629/1.435, allocations: 3.954 MB / 1.012 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01517/1.45, allocations: 8.284 MB / 1.02 GB, free: 9.504 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/1.45, allocations: 0 / 1.02 GB, free: 9.504 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003236/1.454, allocations: 0.6553 MB / 1.021 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005607/1.454, allocations: 142.5 kB / 1.021 GB, free: 8.699 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004332/1.455, allocations: 87.91 kB / 1.021 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004849/1.459, allocations: 5.04 MB / 1.026 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/1.46, allocations: 4 kB / 1.026 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01567/1.475, allocations: 6.822 MB / 1.033 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004022/1.479, allocations: 0.7627 MB / 1.034 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001609/1.481, allocations: 68 kB / 1.034 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004787/1.486, allocations: 88.59 kB / 1.034 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001744/1.488, allocations: 226.8 kB / 1.034 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001223/1.489, allocations: 112 kB / 1.034 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003638/1.492, allocations: 0.8606 MB / 1.035 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.272e-06/1.493, allocations: 0 / 1.035 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.007911/1.5, allocations: 1.069 MB / 1.036 GB, free: 9.074 MB / 0.7481 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.002077/1.503, allocations: 352.2 kB / 1.036 GB, free: 8.719 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.03735/1.54, allocations: 11.48 MB / 1.047 GB, free: 13.23 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.481e-05/1.54, allocations: 4.812 kB / 1.047 GB, free: 13.22 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.007792/1.548, allocations: 2.544 MB / 1.05 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01015/1.558, allocations: 1.085 MB / 1.051 GB, free: 9.574 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02139/1.58, allocations: 6.65 MB / 1.057 GB, free: 2.875 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003861/1.583, allocations: 1.943 MB / 1.059 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.3833/1.967, allocations: 1.217 MB / 1.061 GB, free: 289.5 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001771/1.969, allocations: 240.3 kB / 1.061 GB, free: 289.5 MB / 0.7637 GB Notification: Performance of SimCode: time 1.693e-06/1.969, allocations: 0 / 1.061 GB, free: 289.5 MB / 0.7637 GB Notification: Performance of Templates: time 0.08523/2.054, allocations: 47.66 MB / 1.107 GB, free: 270.2 MB / 0.7637 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)