Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume") translateModel(BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.923/0.923, allocations: 140.1 MB / 156 MB, free: 5.176 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001215/0.001215, allocations: 179.2 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.172/2.172, allocations: 205.4 MB / 426.3 MB, free: 8.492 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 82.41 kB / 0.4945 GB, free: 8.426 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.00193/0.00193, allocations: 267.3 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005127/0.0005127, allocations: 16 kB / 0.662 GB, free: 6.828 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5597/0.5603, allocations: 79.3 MB / 0.7395 GB, free: 46.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.017/1.577, allocations: 417.9 MB / 1.148 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003787/1.578, allocations: 92.2 kB / 1.148 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.699/3.277, allocations: 327.3 MB / 1.467 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.026e-06/3.277, allocations: 0 / 1.467 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002266/3.277, allocations: 31.44 kB / 1.467 GB, free: 150.9 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.005485/3.283, allocations: 1.507 MB / 1.469 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/3.283, allocations: 11.69 kB / 1.469 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008596/3.284, allocations: 141.8 kB / 1.469 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003031/3.287, allocations: 0.9662 MB / 1.47 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/3.287, allocations: 68.34 kB / 1.47 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002801/3.287, allocations: 77.09 kB / 1.47 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002064/3.289, allocations: 0.8647 MB / 1.471 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.444e-05/3.289, allocations: 3.938 kB / 1.471 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.4e-05/3.29, allocations: 30.16 kB / 1.471 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/3.29, allocations: 19.38 kB / 1.471 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/3.291, allocations: 0.6263 MB / 1.472 GB, free: 149.7 MB / 0.6823 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.006776/3.298, allocations: 3.777 MB / 1.475 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/3.299, allocations: 0.565 MB / 1.476 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005073/3.3, allocations: 300.4 kB / 1.476 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009777/3.301, allocations: 1.24 MB / 1.477 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006175/3.301, allocations: 332.7 kB / 1.478 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=63): time 5.18e-06/3.301, allocations: 3.625 kB / 1.478 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=63): time 0.002626/3.304, allocations: 1.141 MB / 1.479 GB, free: 146 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.855e-05/3.304, allocations: 89.25 kB / 1.479 GB, free: 146 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/3.306, allocations: 0.8612 MB / 1.48 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.266e-05/3.306, allocations: 44.31 kB / 1.48 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004488/3.306, allocations: 457.5 kB / 1.48 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/3.306, allocations: 222 kB / 1.48 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/3.306, allocations: 10.66 kB / 1.48 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.00011/3.306, allocations: 335.6 kB / 1.481 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004118/3.307, allocations: 203.9 kB / 1.481 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005855/3.308, allocations: 345.7 kB / 1.481 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009479/3.308, allocations: 0.5366 MB / 1.482 GB, free: 145 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/3.309, allocations: 0 / 1.482 GB, free: 145 MB / 0.6823 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001525/3.31, allocations: 0.7169 MB / 1.482 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001198/3.31, allocations: 158.5 kB / 1.483 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/3.31, allocations: 3.938 kB / 1.483 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006846/3.311, allocations: 112.8 kB / 1.483 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004473/3.311, allocations: 118.3 kB / 1.483 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006323/3.312, allocations: 0.6604 MB / 1.483 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000974/3.313, allocations: 98.38 kB / 1.484 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.708e-05/3.313, allocations: 26.55 kB / 1.484 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/3.313, allocations: 4.5 kB / 1.484 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001038/3.314, allocations: 0.5741 MB / 1.484 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/3.314, allocations: 3.562 kB / 1.484 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004523/3.315, allocations: 117.8 kB / 1.484 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004006/3.315, allocations: 113.3 kB / 1.484 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005277/3.316, allocations: 0.6596 MB / 1.485 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009054/3.316, allocations: 90.53 kB / 1.485 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.311e-05/3.317, allocations: 32.22 kB / 1.485 GB, free: 143.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0006729/3.317, allocations: 333.4 kB / 1.485 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002923/3.318, allocations: 102.6 kB / 1.485 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002102/3.32, allocations: 0.9608 MB / 1.486 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.393e-05/3.32, allocations: 7.219 kB / 1.486 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/3.32, allocations: 0 / 1.486 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001235/3.321, allocations: 0.8701 MB / 1.487 GB, free: 143 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003608/3.325, allocations: 1.877 MB / 1.489 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/3.325, allocations: 3.969 kB / 1.489 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004334/3.325, allocations: 103.9 kB / 1.489 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006739/3.326, allocations: 157.3 kB / 1.489 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.465e-05/3.326, allocations: 27.38 kB / 1.489 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008634/3.327, allocations: 1.247 MB / 1.491 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/3.327, allocations: 7 kB / 1.491 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002188/3.329, allocations: 1.283 MB / 1.492 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006559/3.33, allocations: 278.7 kB / 1.492 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000243/3.33, allocations: 17.41 kB / 1.492 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007827/3.331, allocations: 56.17 kB / 1.492 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/3.331, allocations: 52.28 kB / 1.492 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.701e-05/3.331, allocations: 28.19 kB / 1.492 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001055/3.332, allocations: 0.5982 MB / 1.493 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.31e-07/3.332, allocations: 0 / 1.493 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002415/3.334, allocations: 0.6073 MB / 1.493 GB, free: 141 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002632/3.337, allocations: 0.9275 MB / 1.494 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002216/3.339, allocations: 0.9324 MB / 1.495 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/3.339, allocations: 3 kB / 1.495 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008179/3.34, allocations: 385.5 kB / 1.496 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002491/3.343, allocations: 424.7 kB / 1.496 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004706/3.347, allocations: 2.543 MB / 1.499 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009139/3.348, allocations: 1.07 MB / 1.5 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001141/3.349, allocations: 225.5 kB / 1.5 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002657/3.35, allocations: 86.02 kB / 1.5 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.402e-06/3.35, allocations: 3.375 kB / 1.5 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.04205/3.392, allocations: 22.37 MB / 1.522 GB, free: 138 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)