Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.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.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Actuators_Dampers_Examples_Damper",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.223/2.223, allocations: 248.7 MB / 256.2 MB, free: 7.078 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001492/0.001492, allocations: 183.4 kB / 315.4 MB, free: 4.004 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.458/2.458, allocations: 205.3 MB / 0.5662 GB, free: 0.5391 MB / 410.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: 86.53 kB / 0.6704 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.818e-05/2.807e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2276, allocations: 106.2 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.328/7.556, allocations: 2.204 GB / 3.088 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003322/7.556, allocations: 94.66 kB / 3.088 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.133/10.69, allocations: 0.5529 GB / 3.641 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.577e-06/10.69, allocations: 0 / 3.641 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000268/10.69, allocations: 40.3 kB / 3.641 GB, free: 186.4 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.006041/10.7, allocations: 1.821 MB / 3.643 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/10.7, allocations: 10.84 kB / 3.643 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005639/10.7, allocations: 0.4959 MB / 3.643 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006756/10.71, allocations: 2.007 MB / 3.645 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.868e-05/10.71, allocations: 24.88 kB / 3.645 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003935/10.71, allocations: 78.22 kB / 3.645 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003573/10.71, allocations: 1.403 MB / 3.646 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003017/10.72, allocations: 1.195 MB / 3.648 GB, free: 185 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/10.72, allocations: 7.219 kB / 3.648 GB, free: 185 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/10.72, allocations: 7.906 kB / 3.648 GB, free: 184.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/10.72, allocations: 14.62 kB / 3.648 GB, free: 184.9 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.01345/10.73, allocations: 5.628 MB / 3.653 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0053/10.73, allocations: 1.485 MB / 3.655 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001528/10.74, allocations: 0.6502 MB / 3.655 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006022/10.74, allocations: 453.6 kB / 3.656 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/10.74, allocations: 44.55 kB / 3.656 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=57): time 4.047e-06/10.74, allocations: 0 / 3.656 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57): time 0.009505/10.75, allocations: 1.991 MB / 3.658 GB, free: 182 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.47e-05/10.75, allocations: 57.69 kB / 3.658 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006073/10.75, allocations: 2.398 MB / 3.66 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004864/10.75, allocations: 28.73 kB / 3.66 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009002/10.75, allocations: 0.6983 MB / 3.661 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003624/10.75, allocations: 188.6 kB / 3.661 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/10.75, allocations: 5.781 kB / 3.661 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001424/10.75, allocations: 378.2 kB / 3.661 GB, free: 181 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002956/10.76, allocations: 1.575 MB / 3.663 GB, free: 181 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003466/10.76, allocations: 2.036 MB / 3.665 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007753/10.77, allocations: 2.17 MB / 3.667 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.587e-05/10.77, allocations: 3.75 kB / 3.667 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.01298/10.78, allocations: 4.263 MB / 3.671 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004466/10.78, allocations: 2.059 MB / 3.673 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/10.78, allocations: 3.844 kB / 3.673 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006654/10.78, allocations: 118.1 kB / 3.673 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003315/10.79, allocations: 413.3 kB / 3.674 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/10.79, allocations: 1.276 MB / 3.675 GB, free: 177 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004331/10.79, allocations: 311.3 kB / 3.675 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005611/10.79, allocations: 142.9 kB / 3.675 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/10.79, allocations: 6.312 kB / 3.675 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01169/10.8, allocations: 4.02 MB / 3.679 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.523e-05/10.8, allocations: 7.844 kB / 3.679 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.671e-05/10.8, allocations: 15.66 kB / 3.679 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003134/10.81, allocations: 420.7 kB / 3.68 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.488e-05/10.81, allocations: 12.78 kB / 3.68 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004101/10.81, allocations: 250.4 kB / 3.68 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006389/10.81, allocations: 131.9 kB / 3.68 GB, free: 176.8 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: preIndFrom_dp.m_flow_x:VARIABLE(unit = "kg/s" protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 39 (preIndDpFixed_nominal.idx_sorted[1],preIndDpFixed_nominal.idx_sorted[2],preIndDpFixed_nominal.idx_sorted[3],preIndDpFixed_nominal.idx_sorted[4],preIndDpFixed_nominal.idx_sorted[5],preIndDpFixed_nominal.idx_sorted[6],preIndDpFixed_nominal.idx_sorted[7],preIndDpFixed_nominal.idx_sorted[8],preIndDpFixed_nominal.idx_sorted[9],preIndDpFixed_nominal.idx_sorted[10],preIndDpFixed_nominal.idx_sorted[11],preIndDpFixed_nominal.idx_sorted[12],preIndDpFixed_nominal.idx_sorted[13],preIndFrom_dp.idx_sorted[1],preIndFrom_dp.idx_sorted[2],preIndFrom_dp.idx_sorted[3],preIndFrom_dp.idx_sorted[4],preIndFrom_dp.idx_sorted[5],preIndFrom_dp.idx_sorted[6],preIndFrom_dp.idx_sorted[7],preIndFrom_dp.idx_sorted[8],preIndFrom_dp.idx_sorted[9],preIndFrom_dp.idx_sorted[10],preIndFrom_dp.idx_sorted[11],preIndFrom_dp.idx_sorted[12],preIndFrom_dp.idx_sorted[13],preInd.idx_sorted[1],preInd.idx_sorted[2],preInd.idx_sorted[3],preInd.idx_sorted[4],preInd.idx_sorted[5],preInd.idx_sorted[6],preInd.idx_sorted[7],preInd.idx_sorted[8],preInd.idx_sorted[9],preInd.idx_sorted[10],preInd.idx_sorted[11],preInd.idx_sorted[12],preInd.idx_sorted[13]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 190 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006187/10.81, allocations: 176.5 kB / 3.68 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008316/10.82, allocations: 1.898 MB / 3.682 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007758/10.82, allocations: 161.9 kB / 3.682 GB, free: 176.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008825/10.83, allocations: 2.151 MB / 3.684 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/10.83, allocations: 7.125 kB / 3.684 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/10.83, allocations: 0 / 3.684 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/10.83, allocations: 6.688 kB / 3.684 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01376/10.85, allocations: 4.049 MB / 3.688 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/10.85, allocations: 3.875 kB / 3.688 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00172/10.85, allocations: 208.5 kB / 3.689 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005684/10.85, allocations: 116.5 kB / 3.689 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001491/10.85, allocations: 35.33 kB / 3.689 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001645/10.85, allocations: 1.275 MB / 3.69 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/10.85, allocations: 6.531 kB / 3.69 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008672/10.86, allocations: 2.33 MB / 3.692 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002101/10.86, allocations: 0.5813 MB / 3.693 GB, free: 174 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006899/10.86, allocations: 4.062 kB / 3.693 GB, free: 174 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003045/10.86, allocations: 114.3 kB / 3.693 GB, free: 174 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002516/10.86, allocations: 54.64 kB / 3.693 GB, free: 174 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002557/10.86, allocations: 84.31 kB / 3.693 GB, free: 174 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00405/10.87, allocations: 1.79 MB / 3.695 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.12e-07/10.87, allocations: 0 / 3.695 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004705/10.87, allocations: 0.9511 MB / 3.696 GB, free: 173.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01174/10.89, allocations: 4.904 MB / 3.7 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.008757/10.89, allocations: 4.968 MB / 3.705 GB, free: 170 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/10.89, allocations: 4 kB / 3.705 GB, free: 170 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001612/10.9, allocations: 0.6355 MB / 3.706 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003991/10.9, allocations: 359.1 kB / 3.706 GB, free: 169.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008686/10.91, allocations: 2.688 MB / 3.709 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/10.91, allocations: 1.368 MB / 3.71 GB, free: 168 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.006249/10.92, allocations: 0.9091 MB / 3.711 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001632/10.92, allocations: 0.645 MB / 3.712 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.493e-06/10.92, allocations: 0 / 3.712 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1676/11.09, allocations: 53.36 MB / 3.764 GB, free: 133.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002798/11.09, allocations: 169.4 kB / 3.764 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.012/16.1, allocations: 0 / 3.764 GB, free: 133.7 MB / 0.8698 GB