Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.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.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor") translateModel(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 111.6 kB / 16.41 MB, free: 6.504 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.001953/0.001953, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.447/1.447, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002756/0.002756, allocations: 294.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.024/1.024, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002782/0.002782, allocations: 91.84 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5097/0.5125, allocations: 86.98 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor): time 0.2039/0.7164, allocations: 167.3 MB / 0.9305 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01549/0.7319, allocations: 8.507 MB / 0.9388 GB, free: 3.418 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001686/0.7336, allocations: 43.75 kB / 0.9388 GB, free: 3.375 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.00197/0.7356, allocations: 0.5745 MB / 0.9394 GB, free: 2.797 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.004699/0.7403, allocations: 1.57 MB / 0.9409 GB, free: 1.219 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002791/0.7431, allocations: 1 MB / 0.9419 GB, free: 228 kB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.005906/0.749, allocations: 4.095 MB / 0.9459 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002029/0.751, allocations: 1.143 MB / 0.947 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003748/0.7548, allocations: 1.528 MB / 0.9485 GB, free: 9.426 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002694/0.7574, allocations: 1.507 MB / 0.95 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.00041/0.7579, allocations: 188 kB / 0.9501 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002815/0.7607, allocations: 1.108 MB / 0.9512 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008543/0.7615, allocations: 0.6894 MB / 0.9519 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001478/0.763, allocations: 1.023 MB / 0.9529 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004822/0.7678, allocations: 2.774 MB / 0.9556 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.7678, allocations: 0 / 0.9556 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.442e-06/0.7678, allocations: 0 / 0.9556 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.343e-05/0.7679, allocations: 0 / 0.9556 GB, free: 2.125 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: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.4922/1.26, allocations: 2.31 MB / 0.9579 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/1.26, allocations: 9.125 kB / 0.9579 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008525/1.261, allocations: 211.3 kB / 0.9581 GB, free: 189.7 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002608/1.264, allocations: 1.182 MB / 0.9592 GB, free: 189.2 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/1.264, allocations: 116 kB / 0.9593 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003247/1.264, allocations: 147.5 kB / 0.9595 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003798/1.268, allocations: 1.921 MB / 0.9614 GB, free: 188.3 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.839e-05/1.268, allocations: 13.31 kB / 0.9614 GB, free: 188.3 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/1.268, allocations: 61.59 kB / 0.9614 GB, free: 188.3 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.75e-05/1.268, allocations: 39.92 kB / 0.9615 GB, free: 188.3 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004177/1.272, allocations: 2.477 MB / 0.9639 GB, free: 187.6 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.008358/1.281, allocations: 6.119 MB / 0.9699 GB, free: 183.8 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002938/1.284, allocations: 2.585 MB / 0.9724 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001688/1.285, allocations: 1.262 MB / 0.9736 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001227/1.286, allocations: 1.732 MB / 0.9753 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/1.286, allocations: 56.56 kB / 0.9754 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=237): time 4.318e-06/1.286, allocations: 3.5 kB / 0.9754 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=237): time 0.004681/1.291, allocations: 3.436 MB / 0.9787 GB, free: 175.7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/1.291, allocations: 73.41 kB / 0.9788 GB, free: 175.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008443/1.292, allocations: 0.7802 MB / 0.9795 GB, free: 174.8 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001192/1.292, allocations: 63.83 kB / 0.9796 GB, free: 174.8 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/1.292, allocations: 0.4893 MB / 0.9801 GB, free: 174.3 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004534/1.293, allocations: 0.829 MB / 0.9809 GB, free: 173.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003794/1.293, allocations: 347.7 kB / 0.9812 GB, free: 173.2 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.481e-05/1.293, allocations: 310.7 kB / 0.9815 GB, free: 172.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/1.294, allocations: 0.8941 MB / 0.9824 GB, free: 171.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/1.296, allocations: 1.133 MB / 0.9835 GB, free: 170.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002559/1.298, allocations: 2.22 MB / 0.9857 GB, free: 168.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/1.298, allocations: 0 / 0.9857 GB, free: 168.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003227/1.301, allocations: 2.446 MB / 0.9881 GB, free: 166.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/1.301, allocations: 10.56 kB / 0.9881 GB, free: 166.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/1.302, allocations: 4 kB / 0.9881 GB, free: 166 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/1.302, allocations: 12 kB / 0.9881 GB, free: 166 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/1.303, allocations: 431.4 kB / 0.9885 GB, free: 165.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.173e-05/1.303, allocations: 19.92 kB / 0.9885 GB, free: 165.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/1.304, allocations: 163.3 kB / 0.9887 GB, free: 165.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/1.304, allocations: 83.86 kB / 0.9888 GB, free: 165.4 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (261): * Single equations (assignments): 261 * 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.000618/1.305, allocations: 443.7 kB / 0.9892 GB, free: 164.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002507/1.305, allocations: 147.1 kB / 0.9893 GB, free: 164.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003732/1.309, allocations: 2.718 MB / 0.992 GB, free: 162 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/1.309, allocations: 27.94 kB / 0.992 GB, free: 162 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/1.309, allocations: 2.875 kB / 0.992 GB, free: 162 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002646/1.312, allocations: 2.381 MB / 0.9943 GB, free: 159.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005152/1.317, allocations: 4.299 MB / 0.9985 GB, free: 155.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/1.317, allocations: 4 kB / 0.9985 GB, free: 155.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/1.318, allocations: 403.5 kB / 0.9989 GB, free: 154.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005549/1.319, allocations: 109.1 kB / 0.999 GB, free: 154.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001111/1.319, allocations: 47.98 kB / 0.9991 GB, free: 154.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005091/1.319, allocations: 1.12 MB / 1 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.319, allocations: 3.938 kB / 1 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004901/1.324, allocations: 4.059 MB / 1.004 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009966/1.325, allocations: 495.3 kB / 1.005 GB, free: 149 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001996/1.326, allocations: 39.94 kB / 1.005 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008655/1.326, allocations: 55.92 kB / 1.005 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002474/1.327, allocations: 143.2 kB / 1.005 GB, free: 148.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/1.327, allocations: 67.98 kB / 1.005 GB, free: 148.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006018/1.327, allocations: 0.5459 MB / 1.005 GB, free: 148.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/1.327, allocations: 0 / 1.005 GB, free: 148.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001339/1.329, allocations: 0.6577 MB / 1.006 GB, free: 147.5 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.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 (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006726/1.329, allocations: 388.1 kB / 1.006 GB, free: 147.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002859/1.332, allocations: 2.185 MB / 1.009 GB, free: 144.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.332, allocations: 8.062 kB / 1.009 GB, free: 144.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001528/1.334, allocations: 1.151 MB / 1.01 GB, free: 143.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002488/1.336, allocations: 0.5745 MB / 1.01 GB, free: 143.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004583/1.341, allocations: 3.818 MB / 1.014 GB, free: 139.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000574/1.341, allocations: 1.342 MB / 1.015 GB, free: 138 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001715/1.343, allocations: 0.7229 MB / 1.016 GB, free: 137.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004523/1.344, allocations: 163.4 kB / 1.016 GB, free: 137.1 MB / 0.7169 GB Notification: Performance of SimCode: time 1.212e-06/1.344, allocations: 0 / 1.016 GB, free: 137.1 MB / 0.7169 GB Notification: Performance of Templates: time 0.04214/1.386, allocations: 28.7 MB / 1.044 GB, free: 108.8 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)