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 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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 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.8796/0.8796, allocations: 143.4 MB / 158.3 MB, free: 5.789 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 187.8 kB / 191.5 MB, free: 5.781 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.665/1.665, allocations: 223.2 MB / 447.7 MB, free: 4.832 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009897/0.00099, allocations: 84.33 kB / 0.5188 GB, free: 1.199 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001819/0.001819, allocations: 265.7 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004985/0.0004985, allocations: 11.55 kB / 0.6928 GB, free: 59.58 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.212, allocations: 82.8 MB / 0.7737 GB, free: 13.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.501/1.713, allocations: 420.2 MB / 1.184 GB, free: 265.2 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003327/1.714, allocations: 98.31 kB / 1.184 GB, free: 265.1 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.212/2.925, allocations: 336.7 MB / 1.513 GB, free: 157.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.927e-06/2.925, allocations: 3.969 kB / 1.513 GB, free: 157.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001335/2.926, allocations: 26.16 kB / 1.513 GB, free: 157.5 MB / 0.7136 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.003911/2.929, allocations: 1.523 MB / 1.514 GB, free: 156.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.213e-05/2.93, allocations: 12.8 kB / 1.514 GB, free: 156.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003621/2.93, allocations: 132.8 kB / 1.515 GB, free: 156.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00216/2.932, allocations: 0.9688 MB / 1.516 GB, free: 156.4 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/2.932, allocations: 60.75 kB / 1.516 GB, free: 156.4 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/2.932, allocations: 82.5 kB / 1.516 GB, free: 156.4 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/2.934, allocations: 0.8554 MB / 1.517 GB, free: 156.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/2.934, allocations: 2.875 kB / 1.517 GB, free: 156.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.94e-05/2.934, allocations: 33.09 kB / 1.517 GB, free: 156.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/2.934, allocations: 19.03 kB / 1.517 GB, free: 156.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/2.935, allocations: 0.6239 MB / 1.517 GB, free: 156.2 MB / 0.7136 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.004772/2.94, allocations: 3.801 MB / 1.521 GB, free: 154.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/2.941, allocations: 0.5695 MB / 1.521 GB, free: 154.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009117/2.942, allocations: 1.247 MB / 1.523 GB, free: 152.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005764/2.943, allocations: 332.1 kB / 1.523 GB, free: 152.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=63): time 3.857e-06/2.943, allocations: 0 / 1.523 GB, free: 152.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=63): time 0.002409/2.945, allocations: 1.138 MB / 1.524 GB, free: 152.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/2.945, allocations: 92.14 kB / 1.524 GB, free: 152.4 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/2.946, allocations: 0.7645 MB / 1.525 GB, free: 152.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.387e-05/2.946, allocations: 40.95 kB / 1.525 GB, free: 152.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003689/2.947, allocations: 463.9 kB / 1.525 GB, free: 152.1 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/2.947, allocations: 215.1 kB / 1.526 GB, free: 151.9 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/2.947, allocations: 14.34 kB / 1.526 GB, free: 151.9 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001136/2.947, allocations: 337.2 kB / 1.526 GB, free: 151.6 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004305/2.947, allocations: 201.9 kB / 1.526 GB, free: 151.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000506/2.948, allocations: 339.9 kB / 1.526 GB, free: 151.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005732/2.949, allocations: 248.4 kB / 1.527 GB, free: 151.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/2.949, allocations: 0 / 1.527 GB, free: 151.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001341/2.95, allocations: 0.715 MB / 1.527 GB, free: 151.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003077/2.95, allocations: 0.8819 MB / 1.528 GB, free: 150.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/2.95, allocations: 3.719 kB / 1.528 GB, free: 150.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006539/2.951, allocations: 104.1 kB / 1.528 GB, free: 150.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004697/2.951, allocations: 128.6 kB / 1.529 GB, free: 150.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006025/2.952, allocations: 0.6567 MB / 1.529 GB, free: 149.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008845/2.953, allocations: 102.3 kB / 1.529 GB, free: 149.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.669e-05/2.953, allocations: 32.06 kB / 1.529 GB, free: 149.9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/2.953, allocations: 5.25 kB / 1.529 GB, free: 149.9 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001039/2.954, allocations: 0.5791 MB / 1.53 GB, free: 149.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/2.954, allocations: 3.844 kB / 1.53 GB, free: 149.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004458/2.955, allocations: 108.6 kB / 1.53 GB, free: 149.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004147/2.955, allocations: 112.5 kB / 1.53 GB, free: 149.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005829/2.956, allocations: 0.6598 MB / 1.531 GB, free: 149.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007747/2.956, allocations: 93.33 kB / 1.531 GB, free: 149.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.406e-05/2.956, allocations: 30.66 kB / 1.531 GB, free: 149.3 MB / 0.7136 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.0007156/2.957, allocations: 331.7 kB / 1.531 GB, free: 149.1 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/2.957, allocations: 98.59 kB / 1.531 GB, free: 149.1 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/2.959, allocations: 0.9612 MB / 1.532 GB, free: 149 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/2.959, allocations: 11.53 kB / 1.532 GB, free: 149 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/2.959, allocations: 3.953 kB / 1.532 GB, free: 149 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001182/2.96, allocations: 0.8625 MB / 1.533 GB, free: 148.7 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003014/2.963, allocations: 1.889 MB / 1.535 GB, free: 148.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/2.963, allocations: 2.953 kB / 1.535 GB, free: 148.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000454/2.964, allocations: 103.2 kB / 1.535 GB, free: 148.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006544/2.965, allocations: 165.5 kB / 1.535 GB, free: 148.3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.222e-05/2.965, allocations: 21.84 kB / 1.535 GB, free: 148.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007917/2.965, allocations: 1.247 MB / 1.536 GB, free: 147.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/2.965, allocations: 3.938 kB / 1.536 GB, free: 147.3 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001945/2.967, allocations: 1.308 MB / 1.538 GB, free: 147 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005562/2.968, allocations: 277.6 kB / 1.538 GB, free: 146.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/2.968, allocations: 14.28 kB / 1.538 GB, free: 146.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006137/2.969, allocations: 65.66 kB / 1.538 GB, free: 146.8 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/2.969, allocations: 44.38 kB / 1.538 GB, free: 146.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.786e-05/2.969, allocations: 32.48 kB / 1.538 GB, free: 146.8 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008088/2.97, allocations: 0.6128 MB / 1.539 GB, free: 146.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/2.97, allocations: 0 / 1.539 GB, free: 146.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002055/2.972, allocations: 0.6194 MB / 1.539 GB, free: 146.6 MB / 0.7136 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.002299/2.974, allocations: 0.9451 MB / 1.54 GB, free: 146.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002211/2.976, allocations: 0.935 MB / 1.541 GB, free: 146.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/2.976, allocations: 0 / 1.541 GB, free: 146.4 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007662/2.977, allocations: 385.1 kB / 1.541 GB, free: 146.4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/2.979, allocations: 415.7 kB / 1.542 GB, free: 146.4 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004124/2.983, allocations: 2.543 MB / 1.544 GB, free: 145.4 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005873/2.984, allocations: 1.089 MB / 1.545 GB, free: 144.6 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00101/2.985, allocations: 223.6 kB / 1.546 GB, free: 144.6 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/2.985, allocations: 85.03 kB / 1.546 GB, free: 144.6 MB / 0.7136 GB Notification: Performance of SimCode: time 1.673e-06/2.985, allocations: 3.031 kB / 1.546 GB, free: 144.6 MB / 0.7136 GB Notification: Performance of Templates: time 0.04123/3.027, allocations: 22.29 MB / 1.567 GB, free: 143.3 MB / 0.7136 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)