Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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) 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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.475/1.475, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 183 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.033/2.033, allocations: 205.4 MB / 0.5775 GB, free: 20.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008423/0.0008424, allocations: 88.61 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003434, allocations: 6.938 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.249, allocations: 106.3 MB / 0.9001 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.081/1.33, allocations: 442.4 MB / 1.332 GB, free: 6.414 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/1.33, allocations: 95.14 kB / 1.332 GB, free: 6.363 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.287/2.617, allocations: 330.4 MB / 1.655 GB, free: 98.69 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.703e-06/2.617, allocations: 0 / 1.655 GB, free: 98.69 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001784/2.617, allocations: 27.98 kB / 1.655 GB, free: 98.66 MB / 0.8855 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.004473/2.622, allocations: 1.53 MB / 1.657 GB, free: 97.08 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/2.622, allocations: 8.031 kB / 1.657 GB, free: 97.07 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004177/2.622, allocations: 130.8 kB / 1.657 GB, free: 96.94 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005987/2.623, allocations: 134.4 kB / 1.657 GB, free: 96.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002565/2.625, allocations: 0.9767 MB / 1.658 GB, free: 95.79 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.076e-05/2.626, allocations: 65.94 kB / 1.658 GB, free: 95.72 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002012/2.626, allocations: 87.98 kB / 1.658 GB, free: 95.63 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/2.627, allocations: 0.8498 MB / 1.659 GB, free: 94.74 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.415e-05/2.627, allocations: 7.906 kB / 1.659 GB, free: 94.73 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.789e-05/2.628, allocations: 32 kB / 1.659 GB, free: 94.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/2.628, allocations: 16 kB / 1.659 GB, free: 94.68 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/2.629, allocations: 0.6284 MB / 1.659 GB, free: 94.05 MB / 0.8855 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.005998/2.635, allocations: 3.781 MB / 1.663 GB, free: 90.06 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/2.636, allocations: 0.5797 MB / 1.664 GB, free: 89.47 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001019/2.637, allocations: 1.239 MB / 1.665 GB, free: 87.95 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008185/2.638, allocations: 338.9 kB / 1.665 GB, free: 87.61 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=63): time 5.41e-06/2.638, allocations: 0 / 1.665 GB, free: 87.61 MB / 0.8855 GB Notification: Performance of matching and sorting (n=63): time 0.00348/2.642, allocations: 1.135 MB / 1.666 GB, free: 86.43 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/2.642, allocations: 81.67 kB / 1.666 GB, free: 86.33 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001468/2.643, allocations: 0.7859 MB / 1.667 GB, free: 85.52 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.433e-05/2.643, allocations: 37.7 kB / 1.667 GB, free: 85.48 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004367/2.644, allocations: 464.2 kB / 1.668 GB, free: 85.02 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/2.644, allocations: 224.8 kB / 1.668 GB, free: 84.79 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/2.644, allocations: 8 kB / 1.668 GB, free: 84.79 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.429e-05/2.644, allocations: 334 kB / 1.668 GB, free: 84.45 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005545/2.645, allocations: 201.2 kB / 1.668 GB, free: 84.26 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006698/2.645, allocations: 348.7 kB / 1.669 GB, free: 83.87 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006331/2.646, allocations: 242.1 kB / 1.669 GB, free: 83.63 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/2.646, allocations: 0 / 1.669 GB, free: 83.63 MB / 0.8855 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001862/2.648, allocations: 0.7133 MB / 1.67 GB, free: 82.91 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001949/2.648, allocations: 0.8793 MB / 1.67 GB, free: 81.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/2.648, allocations: 4 kB / 1.67 GB, free: 81.95 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008171/2.649, allocations: 108.7 kB / 1.671 GB, free: 81.84 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000702/2.65, allocations: 115.9 kB / 1.671 GB, free: 81.73 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006278/2.65, allocations: 0.6731 MB / 1.671 GB, free: 81.03 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/2.652, allocations: 103.4 kB / 1.671 GB, free: 80.93 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.996e-05/2.652, allocations: 27.98 kB / 1.671 GB, free: 80.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/2.652, allocations: 4 kB / 1.671 GB, free: 80.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001462/2.653, allocations: 0.5683 MB / 1.672 GB, free: 80.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/2.653, allocations: 4.281 kB / 1.672 GB, free: 80.32 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006187/2.654, allocations: 108.7 kB / 1.672 GB, free: 80.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006124/2.654, allocations: 115.8 kB / 1.672 GB, free: 80.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005382/2.655, allocations: 0.6654 MB / 1.673 GB, free: 79.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009817/2.656, allocations: 87.47 kB / 1.673 GB, free: 79.32 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.088e-05/2.656, allocations: 27.98 kB / 1.673 GB, free: 79.3 MB / 0.8855 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.0006467/2.657, allocations: 339.5 kB / 1.673 GB, free: 78.96 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001984/2.657, allocations: 98.78 kB / 1.673 GB, free: 78.86 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002617/2.66, allocations: 0.9617 MB / 1.674 GB, free: 77.88 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/2.66, allocations: 8 kB / 1.674 GB, free: 77.87 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/2.66, allocations: 0 / 1.674 GB, free: 77.87 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001886/2.662, allocations: 0.8659 MB / 1.675 GB, free: 76.95 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004505/2.666, allocations: 1.893 MB / 1.677 GB, free: 74.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.445e-06/2.666, allocations: 0 / 1.677 GB, free: 74.99 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007944/2.667, allocations: 111.9 kB / 1.677 GB, free: 74.88 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009168/2.668, allocations: 165.5 kB / 1.677 GB, free: 74.71 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.136e-05/2.668, allocations: 23.95 kB / 1.677 GB, free: 74.69 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/2.669, allocations: 1.241 MB / 1.679 GB, free: 73.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/2.669, allocations: 0 / 1.679 GB, free: 73.39 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002999/2.672, allocations: 1.319 MB / 1.68 GB, free: 72.04 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007424/2.673, allocations: 271.6 kB / 1.68 GB, free: 71.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/2.673, allocations: 19.95 kB / 1.68 GB, free: 71.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/2.674, allocations: 63.84 kB / 1.68 GB, free: 71.67 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/2.674, allocations: 52.53 kB / 1.68 GB, free: 71.61 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-05/2.674, allocations: 23.98 kB / 1.68 GB, free: 71.59 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001208/2.675, allocations: 0.613 MB / 1.681 GB, free: 70.96 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.21e-07/2.675, allocations: 0 / 1.681 GB, free: 70.96 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002462/2.678, allocations: 0.6275 MB / 1.681 GB, free: 70.34 MB / 0.8855 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.005545/2.683, allocations: 2.828 MB / 1.684 GB, free: 67.62 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002605/2.686, allocations: 0.922 MB / 1.685 GB, free: 66.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/2.686, allocations: 0 / 1.685 GB, free: 66.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/2.687, allocations: 396.4 kB / 1.686 GB, free: 66.32 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003088/2.69, allocations: 416.3 kB / 1.686 GB, free: 65.91 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/2.703, allocations: 7.443 MB / 1.693 GB, free: 58.22 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006344/2.704, allocations: 1.092 MB / 1.694 GB, free: 57.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00148/2.705, allocations: 211.2 kB / 1.694 GB, free: 56.89 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006929/2.706, allocations: 407.3 kB / 1.695 GB, free: 56.49 MB / 0.8855 GB Notification: Performance of SimCode: time 1.313e-06/2.706, allocations: 0 / 1.695 GB, free: 56.49 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06309/2.769, allocations: 32.7 MB / 1.727 GB, free: 24.09 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001629/2.769, allocations: 265.1 kB / 1.727 GB, free: 23.73 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.482/6.251, allocations: 0 / 1.727 GB, free: 23.73 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)