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.001255/0.001255, allocations: 106.7 kB / 16.27 MB, free: 5.977 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.001157/0.001157, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.354/1.354, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002397/0.002397, allocations: 283 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9506/0.9506, allocations: 169.2 MB / 0.4988 GB, free: 4.523 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 93.33 kB / 0.5959 GB, free: 4.086 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1688, allocations: 86.97 MB / 0.6808 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors): time 0.555/0.7238, allocations: 218.5 MB / 0.8942 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02815/0.752, allocations: 20.42 MB / 0.9141 GB, free: 13.64 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002797/0.7548, allocations: 55.75 kB / 0.9142 GB, free: 13.59 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003578/0.7584, allocations: 1.255 MB / 0.9154 GB, free: 12.33 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01087/0.7694, allocations: 4.086 MB / 0.9194 GB, free: 8.227 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004277/0.7737, allocations: 1.533 MB / 0.9209 GB, free: 6.699 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008052/0.7818, allocations: 6.963 MB / 0.9277 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003903/0.7857, allocations: 2.359 MB / 0.93 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004509/0.7902, allocations: 2.352 MB / 0.9323 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004911/0.7952, allocations: 2.458 MB / 0.9347 GB, free: 8.496 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001356/0.7966, allocations: 344 kB / 0.935 GB, free: 8.16 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007916/0.8045, allocations: 3.461 MB / 0.9384 GB, free: 4.691 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002285/0.8068, allocations: 1.454 MB / 0.9398 GB, free: 3.234 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004202/0.811, allocations: 1.867 MB / 0.9417 GB, free: 1.359 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01082/0.8219, allocations: 5.722 MB / 0.9472 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.8219, allocations: 0 / 0.9472 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.324e-06/0.8219, allocations: 0 / 0.9472 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001861/0.8221, allocations: 4 kB / 0.9473 GB, free: 11.62 MB / 0.7012 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.01182/0.834, allocations: 3.945 MB / 0.9511 GB, free: 7.609 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.834, allocations: 16.03 kB / 0.9511 GB, free: 7.594 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005529/0.8396, allocations: 0.8352 MB / 0.9519 GB, free: 6.754 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004288/0.8439, allocations: 1.878 MB / 0.9538 GB, free: 4.82 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001717/0.8441, allocations: 197.4 kB / 0.954 GB, free: 4.625 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007156/0.8448, allocations: 268 kB / 0.9542 GB, free: 4.363 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006036/0.8509, allocations: 3.29 MB / 0.9574 GB, free: 1.031 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.546e-05/0.851, allocations: 11.91 kB / 0.9574 GB, free: 1.02 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003034/0.8513, allocations: 108 kB / 0.9575 GB, free: 0.9141 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000124/0.8514, allocations: 121.4 kB / 0.9577 GB, free: 0.793 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00763/0.8591, allocations: 4.619 MB / 0.9622 GB, free: 12.16 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.01786/0.877, allocations: 10.98 MB / 0.9729 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006514/0.8835, allocations: 4.862 MB / 0.9776 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004051/0.8876, allocations: 2.524 MB / 0.9801 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001227/0.8889, allocations: 0.8602 MB / 0.9809 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.897e-05/0.889, allocations: 81.69 kB / 0.981 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=399): time 7.454e-06/0.889, allocations: 0 / 0.981 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of matching and sorting (n=399): time 0.01167/0.9007, allocations: 6.019 MB / 0.9869 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.418e-05/0.9008, allocations: 94.53 kB / 0.987 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002076/0.9028, allocations: 1.236 MB / 0.9882 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004685/0.9033, allocations: 93.7 kB / 0.9883 GB, free: 428 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.3227/1.226, allocations: 0.8018 MB / 0.9891 GB, free: 243.8 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001894/1.228, allocations: 1.331 MB / 0.9904 GB, free: 243 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001072/1.229, allocations: 0.5528 MB / 0.9909 GB, free: 243 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.386e-05/1.229, allocations: 302.5 kB / 0.9912 GB, free: 242.7 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002541/1.232, allocations: 1.605 MB / 0.9928 GB, free: 242.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002317/1.234, allocations: 1.912 MB / 0.9946 GB, free: 242 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004722/1.239, allocations: 3.835 MB / 0.9984 GB, free: 240.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-05/1.239, allocations: 0 / 0.9984 GB, free: 240.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006011/1.245, allocations: 4.191 MB / 1.002 GB, free: 238.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/1.245, allocations: 9.312 kB / 1.002 GB, free: 238.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/1.245, allocations: 3.594 kB / 1.002 GB, free: 238.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.463e-05/1.245, allocations: 17.69 kB / 1.003 GB, free: 238.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002686/1.248, allocations: 0.6864 MB / 1.003 GB, free: 238.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.024e-05/1.248, allocations: 17.19 kB / 1.003 GB, free: 238.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002451/1.25, allocations: 240.1 kB / 1.003 GB, free: 238.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002038/1.25, allocations: 114.6 kB / 1.004 GB, free: 238.5 MB / 0.7325 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.001352/1.252, allocations: 0.7283 MB / 1.004 GB, free: 238 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006849/1.252, allocations: 238.2 kB / 1.004 GB, free: 237.9 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006349/1.259, allocations: 4.644 MB / 1.009 GB, free: 236 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.874e-05/1.259, allocations: 36.22 kB / 1.009 GB, free: 236 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.586e-05/1.259, allocations: 3.062 kB / 1.009 GB, free: 236 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004748/1.264, allocations: 3.959 MB / 1.013 GB, free: 234.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01267/1.276, allocations: 8.271 MB / 1.021 GB, free: 231.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/1.276, allocations: 3.719 kB / 1.021 GB, free: 231.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002981/1.279, allocations: 0.6653 MB / 1.022 GB, free: 231.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004945/1.28, allocations: 140 kB / 1.022 GB, free: 231.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002278/1.28, allocations: 82.12 kB / 1.022 GB, free: 231.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003088/1.283, allocations: 5.048 MB / 1.027 GB, free: 226.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.283, allocations: 0 / 1.027 GB, free: 226.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01086/1.294, allocations: 6.81 MB / 1.033 GB, free: 223.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001764/1.296, allocations: 0.7674 MB / 1.034 GB, free: 223.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005273/1.296, allocations: 71.06 kB / 1.034 GB, free: 223 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002158/1.299, allocations: 90.7 kB / 1.034 GB, free: 223 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004607/1.299, allocations: 226.6 kB / 1.035 GB, free: 223 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002237/1.299, allocations: 109.1 kB / 1.035 GB, free: 222.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001332/1.301, allocations: 0.8577 MB / 1.035 GB, free: 222.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.301, allocations: 0 / 1.035 GB, free: 222.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003227/1.304, allocations: 1.072 MB / 1.037 GB, free: 222.4 MB / 0.7325 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.0006575/1.305, allocations: 335.5 kB / 1.037 GB, free: 222.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02369/1.328, allocations: 11.49 MB / 1.048 GB, free: 220.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/1.328, allocations: 0 / 1.048 GB, free: 220.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003265/1.332, allocations: 2.559 MB / 1.051 GB, free: 219.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005343/1.337, allocations: 1.071 MB / 1.052 GB, free: 219.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/1.347, allocations: 6.808 MB / 1.058 GB, free: 214.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001629/1.349, allocations: 1.939 MB / 1.06 GB, free: 213.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001581/1.35, allocations: 277.3 kB / 1.06 GB, free: 213 MB / 0.7325 GB Notification: Performance of SimCode: time 1.042e-06/1.35, allocations: 0 / 1.06 GB, free: 213 MB / 0.7325 GB Notification: Performance of Templates: time 0.06861/1.419, allocations: 58.06 MB / 1.117 GB, free: 159.5 MB / 0.7325 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)