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.0009746/0.0009746, allocations: 104.9 kB / 16.36 MB, free: 5.875 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.0009659/0.000966, allocations: 191 kB / 17.29 MB, free: 5.516 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002129/0.002129, allocations: 296.7 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.93/0.93, allocations: 169.2 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 89.73 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1482, allocations: 86.97 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors): time 0.4593/0.6076, allocations: 218.5 MB / 0.895 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.027/0.6346, allocations: 20.43 MB / 0.9149 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002106/0.6367, allocations: 59.69 kB / 0.915 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002735/0.6395, allocations: 1.255 MB / 0.9162 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.009309/0.6488, allocations: 4.083 MB / 0.9202 GB, free: 9.91 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003828/0.6527, allocations: 1.537 MB / 0.9217 GB, free: 8.375 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008052/0.6607, allocations: 6.976 MB / 0.9285 GB, free: 1.375 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003053/0.6638, allocations: 2.349 MB / 0.9308 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004048/0.6679, allocations: 2.368 MB / 0.9331 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004043/0.6719, allocations: 2.455 MB / 0.9355 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0005404/0.6725, allocations: 344 kB / 0.9358 GB, free: 9.816 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006582/0.6791, allocations: 3.457 MB / 0.9392 GB, free: 6.352 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001464/0.6806, allocations: 1.457 MB / 0.9406 GB, free: 4.891 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002453/0.683, allocations: 1.863 MB / 0.9424 GB, free: 3.02 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.007578/0.6906, allocations: 5.768 MB / 0.9481 GB, free: 13.24 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.6906, allocations: 4 kB / 0.9481 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6906, allocations: 0 / 0.9481 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.019e-05/0.6907, allocations: 0 / 0.9481 GB, free: 13.23 MB / 0.7169 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.008984/0.6997, allocations: 3.941 MB / 0.9519 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.6997, allocations: 8.031 kB / 0.9519 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004751/0.7045, allocations: 0.8391 MB / 0.9528 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003705/0.7082, allocations: 1.933 MB / 0.9546 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.7084, allocations: 210.2 kB / 0.9548 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003852/0.7088, allocations: 264 kB / 0.9551 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004992/0.7138, allocations: 3.287 MB / 0.9583 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.388e-05/0.7138, allocations: 3.906 kB / 0.9583 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002419/0.7141, allocations: 112 kB / 0.9584 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000113/0.7142, allocations: 121.4 kB / 0.9585 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2544/0.9686, allocations: 4.62 MB / 0.963 GB, free: 246.5 MB / 0.7169 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.01679/0.9854, allocations: 10.91 MB / 0.9737 GB, free: 240.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006408/0.9918, allocations: 4.872 MB / 0.9785 GB, free: 238.2 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003911/0.9958, allocations: 2.518 MB / 0.9809 GB, free: 237.2 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001037/0.9968, allocations: 0.8642 MB / 0.9818 GB, free: 236.4 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.391e-05/0.9969, allocations: 83.16 kB / 0.9818 GB, free: 236.3 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=399): time 5.25e-06/0.9969, allocations: 0 / 0.9818 GB, free: 236.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=399): time 0.01034/1.007, allocations: 6.018 MB / 0.9877 GB, free: 233.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/1.007, allocations: 93.89 kB / 0.9878 GB, free: 233.9 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002024/1.009, allocations: 1.231 MB / 0.989 GB, free: 233.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003512/1.01, allocations: 96.67 kB / 0.9891 GB, free: 233.3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004637/1.01, allocations: 0.8089 MB / 0.9899 GB, free: 232.7 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009919/1.011, allocations: 1.332 MB / 0.9912 GB, free: 231.6 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009836/1.012, allocations: 0.5465 MB / 0.9917 GB, free: 231.4 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.321e-05/1.012, allocations: 309.2 kB / 0.992 GB, free: 231.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002558/1.015, allocations: 1.607 MB / 0.9936 GB, free: 230.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002819/1.018, allocations: 1.905 MB / 0.9954 GB, free: 229.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005319/1.023, allocations: 3.829 MB / 0.9992 GB, free: 228.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/1.023, allocations: 5.281 kB / 0.9992 GB, free: 228.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006274/1.029, allocations: 4.195 MB / 1.003 GB, free: 226 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/1.029, allocations: 13.47 kB / 1.003 GB, free: 226 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/1.029, allocations: 7.156 kB / 1.003 GB, free: 226 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.07e-05/1.029, allocations: 15.66 kB / 1.003 GB, free: 226 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002608/1.032, allocations: 0.6799 MB / 1.004 GB, free: 225.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.23e-05/1.032, allocations: 19.81 kB / 1.004 GB, free: 225.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002295/1.034, allocations: 238.1 kB / 1.004 GB, free: 225.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002073/1.035, allocations: 114.9 kB / 1.004 GB, free: 225.6 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.001163/1.036, allocations: 0.7291 MB / 1.005 GB, free: 225.1 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004513/1.036, allocations: 243.9 kB / 1.005 GB, free: 225 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005929/1.042, allocations: 4.63 MB / 1.01 GB, free: 222.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-05/1.042, allocations: 42.06 kB / 1.01 GB, free: 222.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/1.042, allocations: 3.984 kB / 1.01 GB, free: 222.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004603/1.047, allocations: 3.949 MB / 1.014 GB, free: 220.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01033/1.057, allocations: 8.282 MB / 1.022 GB, free: 212.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/1.057, allocations: 0 / 1.022 GB, free: 212.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002642/1.06, allocations: 0.6589 MB / 1.022 GB, free: 211.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004144/1.06, allocations: 146.4 kB / 1.023 GB, free: 211.4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002232/1.061, allocations: 83.97 kB / 1.023 GB, free: 211.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002537/1.063, allocations: 5.027 MB / 1.028 GB, free: 205.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/1.063, allocations: 3.312 kB / 1.028 GB, free: 205.9 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007845/1.071, allocations: 6.831 MB / 1.034 GB, free: 199 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001461/1.072, allocations: 0.7666 MB / 1.035 GB, free: 198.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003531/1.073, allocations: 74.25 kB / 1.035 GB, free: 198.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00174/1.075, allocations: 88.3 kB / 1.035 GB, free: 198.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003726/1.075, allocations: 222.8 kB / 1.035 GB, free: 197.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002066/1.075, allocations: 112.9 kB / 1.035 GB, free: 197.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009086/1.076, allocations: 0.8606 MB / 1.036 GB, free: 196.9 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/1.076, allocations: 2.438 kB / 1.036 GB, free: 196.9 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001824/1.078, allocations: 1.066 MB / 1.037 GB, free: 195.8 MB / 0.7169 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.0005302/1.078, allocations: 345.3 kB / 1.038 GB, free: 195.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00467/1.083, allocations: 4.062 MB / 1.042 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.083, allocations: 0 / 1.042 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002649/1.086, allocations: 2.554 MB / 1.044 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003611/1.089, allocations: 1.075 MB / 1.045 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007697/1.097, allocations: 6.6 MB / 1.052 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001205/1.098, allocations: 1.931 MB / 1.054 GB, free: 179.3 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002724/1.101, allocations: 1.223 MB / 1.055 GB, free: 178.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008367/1.102, allocations: 239.4 kB / 1.055 GB, free: 177.9 MB / 0.7169 GB Notification: Performance of SimCode: time 4.71e-07/1.102, allocations: 0 / 1.055 GB, free: 177.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.05793/1.16, allocations: 47.61 MB / 1.101 GB, free: 130.9 MB / 0.7169 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)