Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.278/2.278, allocations: 251 MB / 265.9 MB, free: 11.68 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.001583/0.001582, allocations: 180.5 kB / 325.5 MB, free: 2.887 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.415/2.415, allocations: 205.4 MB / 0.5764 GB, free: 20.81 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.001228/0.001228, allocations: 101.7 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005007/0.0005005, allocations: 10.16 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2369, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.353/1.59, allocations: 442.3 MB / 1.331 GB, free: 8.711 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000337/1.591, allocations: 95.02 kB / 1.331 GB, free: 8.66 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.755/3.346, allocations: 330.4 MB / 1.653 GB, free: 101.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.695e-06/3.346, allocations: 0 / 1.653 GB, free: 101.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001243/3.346, allocations: 35.98 kB / 1.654 GB, free: 101.5 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.004597/3.351, allocations: 1.522 MB / 1.655 GB, free: 99.88 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/3.351, allocations: 8.031 kB / 1.655 GB, free: 99.88 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003569/3.351, allocations: 126.8 kB / 1.655 GB, free: 99.74 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005123/3.352, allocations: 138.4 kB / 1.655 GB, free: 99.61 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002961/3.355, allocations: 0.9853 MB / 1.656 GB, free: 98.58 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.376e-05/3.355, allocations: 65.95 kB / 1.656 GB, free: 98.51 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/3.355, allocations: 76 kB / 1.656 GB, free: 98.44 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/3.357, allocations: 0.8499 MB / 1.657 GB, free: 97.54 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.273e-05/3.357, allocations: 0 / 1.657 GB, free: 97.54 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/3.357, allocations: 39.98 kB / 1.657 GB, free: 97.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/3.357, allocations: 20 kB / 1.657 GB, free: 97.48 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/3.359, allocations: 0.6167 MB / 1.658 GB, free: 96.87 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.006749/3.366, allocations: 3.812 MB / 1.662 GB, free: 92.84 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/3.367, allocations: 0.5719 MB / 1.662 GB, free: 92.25 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001129/3.369, allocations: 1.247 MB / 1.663 GB, free: 90.73 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008975/3.369, allocations: 323 kB / 1.664 GB, free: 90.41 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=63): time 4.097e-06/3.37, allocations: 0 / 1.664 GB, free: 90.41 MB / 0.8855 GB Notification: Performance of matching and sorting (n=63): time 0.003888/3.373, allocations: 1.139 MB / 1.665 GB, free: 89.22 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/3.374, allocations: 89.67 kB / 1.665 GB, free: 89.11 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/3.375, allocations: 0.7782 MB / 1.666 GB, free: 88.31 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001415/3.375, allocations: 37.7 kB / 1.666 GB, free: 88.27 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004344/3.376, allocations: 468.2 kB / 1.666 GB, free: 87.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002323/3.376, allocations: 208.9 kB / 1.666 GB, free: 87.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-05/3.376, allocations: 16 kB / 1.666 GB, free: 87.58 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.473e-05/3.376, allocations: 326 kB / 1.667 GB, free: 87.26 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006571/3.377, allocations: 213.2 kB / 1.667 GB, free: 87.05 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007222/3.377, allocations: 349.3 kB / 1.667 GB, free: 86.66 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007163/3.378, allocations: 246.1 kB / 1.667 GB, free: 86.42 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/3.378, allocations: 7.938 kB / 1.667 GB, free: 86.41 MB / 0.8855 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002206/3.38, allocations: 0.7135 MB / 1.668 GB, free: 85.69 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002073/3.381, allocations: 0.8675 MB / 1.669 GB, free: 84.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/3.381, allocations: 7.984 kB / 1.669 GB, free: 84.74 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008697/3.382, allocations: 108.7 kB / 1.669 GB, free: 84.63 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008776/3.382, allocations: 123.8 kB / 1.669 GB, free: 84.51 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007311/3.383, allocations: 0.6615 MB / 1.67 GB, free: 83.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/3.384, allocations: 99.39 kB / 1.67 GB, free: 83.73 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.557e-05/3.385, allocations: 27.98 kB / 1.67 GB, free: 83.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/3.385, allocations: 4 kB / 1.67 GB, free: 83.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001581/3.386, allocations: 0.5761 MB / 1.671 GB, free: 83.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/3.386, allocations: 4 kB / 1.671 GB, free: 83.11 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007276/3.387, allocations: 100.8 kB / 1.671 GB, free: 83.01 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008097/3.388, allocations: 120.1 kB / 1.671 GB, free: 82.89 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007052/3.388, allocations: 0.6577 MB / 1.671 GB, free: 82.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/3.39, allocations: 103.3 kB / 1.671 GB, free: 82.11 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.781e-05/3.39, allocations: 24.19 kB / 1.671 GB, free: 82.09 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.0007484/3.391, allocations: 331 kB / 1.672 GB, free: 81.75 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/3.391, allocations: 110.7 kB / 1.672 GB, free: 81.64 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002732/3.394, allocations: 0.9537 MB / 1.673 GB, free: 80.67 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/3.394, allocations: 8 kB / 1.673 GB, free: 80.66 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/3.394, allocations: 0 / 1.673 GB, free: 80.66 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001852/3.395, allocations: 0.8698 MB / 1.674 GB, free: 79.74 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004486/3.4, allocations: 1.9 MB / 1.676 GB, free: 77.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/3.4, allocations: 0 / 1.676 GB, free: 77.77 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008453/3.401, allocations: 111.8 kB / 1.676 GB, free: 77.66 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009272/3.402, allocations: 161.6 kB / 1.676 GB, free: 77.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.047e-05/3.402, allocations: 16 kB / 1.676 GB, free: 77.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/3.403, allocations: 1.242 MB / 1.677 GB, free: 76.19 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/3.403, allocations: 7.984 kB / 1.677 GB, free: 76.18 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003174/3.406, allocations: 1.307 MB / 1.678 GB, free: 74.83 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007097/3.407, allocations: 279.6 kB / 1.679 GB, free: 74.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002275/3.407, allocations: 20.11 kB / 1.679 GB, free: 74.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009875/3.408, allocations: 63.86 kB / 1.679 GB, free: 74.46 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/3.408, allocations: 48.59 kB / 1.679 GB, free: 74.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.104e-05/3.408, allocations: 27.98 kB / 1.679 GB, free: 74.38 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001134/3.41, allocations: 0.613 MB / 1.679 GB, free: 73.75 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.81e-07/3.41, allocations: 4 kB / 1.679 GB, free: 73.75 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002267/3.412, allocations: 0.6159 MB / 1.68 GB, free: 73.13 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.005776/3.418, allocations: 2.836 MB / 1.683 GB, free: 70.43 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002962/3.421, allocations: 0.9382 MB / 1.684 GB, free: 69.49 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/3.421, allocations: 0 / 1.684 GB, free: 69.49 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/3.422, allocations: 383.5 kB / 1.684 GB, free: 69.12 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003778/3.426, allocations: 413.8 kB / 1.684 GB, free: 68.71 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0148/3.441, allocations: 7.441 MB / 1.692 GB, free: 61.02 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006881/3.441, allocations: 1.088 MB / 1.693 GB, free: 59.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00159/3.443, allocations: 223.1 kB / 1.693 GB, free: 59.68 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008624/3.444, allocations: 407.3 kB / 1.693 GB, free: 59.28 MB / 0.8855 GB Notification: Performance of SimCode: time 1.744e-06/3.444, allocations: 7.938 kB / 1.693 GB, free: 59.27 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09365/3.537, allocations: 32.67 MB / 1.725 GB, free: 26.93 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003281/3.538, allocations: 257.6 kB / 1.725 GB, free: 26.59 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.782/7.32, allocations: 0 / 1.725 GB, free: 26.59 MB / 0.8855 GB