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.217/2.217, allocations: 251 MB / 265.9 MB, free: 11.7 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.001545/0.001545, allocations: 183.9 kB / 325.5 MB, free: 2.898 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.367/2.367, allocations: 205.4 MB / 0.5764 GB, free: 20.8 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.001093/0.001093, allocations: 100.7 kB / 0.6809 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007175/0.0007178, allocations: 14.41 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2401, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.316/7.556, allocations: 2.203 GB / 3.102 GB, free: 241 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003758/7.557, allocations: 98.45 kB / 3.102 GB, free: 241 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.588/10.14, allocations: 0.5606 GB / 3.663 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.264e-06/10.14, allocations: 0 / 3.663 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001929/10.14, allocations: 36 kB / 3.663 GB, free: 100.3 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.01098/10.16, allocations: 2.534 MB / 3.665 GB, free: 97.72 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/10.16, allocations: 8.031 kB / 3.665 GB, free: 97.71 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005246/10.16, allocations: 106.5 kB / 3.666 GB, free: 97.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005753/10.16, allocations: 0.4932 MB / 3.666 GB, free: 97.11 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006698/10.17, allocations: 2.06 MB / 3.668 GB, free: 95 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/10.17, allocations: 89.31 kB / 3.668 GB, free: 94.91 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004098/10.17, allocations: 124 kB / 3.668 GB, free: 94.79 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003887/10.17, allocations: 1.395 MB / 3.67 GB, free: 93.32 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.509e-05/10.17, allocations: 4 kB / 3.67 GB, free: 93.32 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/10.17, allocations: 27.94 kB / 3.67 GB, free: 93.29 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/10.17, allocations: 20 kB / 3.67 GB, free: 93.27 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00535/10.18, allocations: 1.675 MB / 3.671 GB, free: 91.6 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.01371/10.19, allocations: 5.84 MB / 3.677 GB, free: 85.56 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005253/10.2, allocations: 1.525 MB / 3.679 GB, free: 84.03 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005723/10.2, allocations: 450 kB / 3.679 GB, free: 83.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/10.2, allocations: 47.06 kB / 3.679 GB, free: 83.44 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=57): time 3.417e-06/10.2, allocations: 0 / 3.679 GB, free: 83.44 MB / 0.8855 GB Notification: Performance of matching and sorting (n=57): time 0.01005/10.21, allocations: 2.616 MB / 3.682 GB, free: 80.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/10.21, allocations: 55.97 kB / 3.682 GB, free: 80.73 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00689/10.22, allocations: 2.682 MB / 3.684 GB, free: 78.01 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0005524/10.22, allocations: 65.7 kB / 3.684 GB, free: 77.94 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007767/10.22, allocations: 0.712 MB / 3.685 GB, free: 77.22 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000273/10.22, allocations: 193.2 kB / 3.685 GB, free: 77.03 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002003/10.22, allocations: 35.98 kB / 3.685 GB, free: 76.99 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001331/10.22, allocations: 381.8 kB / 3.686 GB, free: 76.61 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003969/10.22, allocations: 1.718 MB / 3.687 GB, free: 74.89 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004711/10.23, allocations: 2.195 MB / 3.689 GB, free: 72.53 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004464/10.23, allocations: 1.861 MB / 3.691 GB, free: 70.67 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.345e-05/10.23, allocations: 0 / 3.691 GB, free: 70.67 MB / 0.8855 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.01102/10.24, allocations: 4.178 MB / 3.695 GB, free: 66.47 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004565/10.24, allocations: 2.082 MB / 3.697 GB, free: 64.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/10.24, allocations: 8 kB / 3.697 GB, free: 64.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00097/10.24, allocations: 152.7 kB / 3.697 GB, free: 64.04 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003574/10.25, allocations: 419.4 kB / 3.698 GB, free: 63.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/10.25, allocations: 1.236 MB / 3.699 GB, free: 62.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004907/10.25, allocations: 369.2 kB / 3.699 GB, free: 61.98 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000702/10.25, allocations: 132 kB / 3.7 GB, free: 61.86 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/10.25, allocations: 8 kB / 3.7 GB, free: 61.85 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009608/10.26, allocations: 3.955 MB / 3.703 GB, free: 57.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.469e-05/10.26, allocations: 7.984 kB / 3.703 GB, free: 57.88 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/10.26, allocations: 16 kB / 3.703 GB, free: 57.86 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003155/10.27, allocations: 412 kB / 3.704 GB, free: 57.46 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.803e-05/10.27, allocations: 23.88 kB / 3.704 GB, free: 57.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004565/10.27, allocations: 306.1 kB / 3.704 GB, free: 57.14 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006874/10.27, allocations: 140 kB / 3.704 GB, free: 57 MB / 0.8855 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 191 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.001361/10.27, allocations: 0.512 MB / 3.705 GB, free: 56.48 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009009/10.27, allocations: 169.7 kB / 3.705 GB, free: 56.31 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006546/10.28, allocations: 1.985 MB / 3.707 GB, free: 54.32 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/10.28, allocations: 11.94 kB / 3.707 GB, free: 54.31 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/10.28, allocations: 7.953 kB / 3.707 GB, free: 54.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/10.28, allocations: 3.984 kB / 3.707 GB, free: 54.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01255/10.29, allocations: 3.939 MB / 3.711 GB, free: 50.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/10.29, allocations: 3.938 kB / 3.711 GB, free: 50.26 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00172/10.3, allocations: 204 kB / 3.711 GB, free: 50.06 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006933/10.3, allocations: 132.8 kB / 3.711 GB, free: 49.93 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001317/10.3, allocations: 43.98 kB / 3.711 GB, free: 49.88 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/10.3, allocations: 1.224 MB / 3.712 GB, free: 48.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.421e-06/10.3, allocations: 3.984 kB / 3.712 GB, free: 48.61 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006795/10.3, allocations: 2.141 MB / 3.714 GB, free: 46.34 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002358/10.31, allocations: 0.5997 MB / 3.715 GB, free: 45.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000876/10.31, allocations: 15.94 kB / 3.715 GB, free: 45.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003279/10.31, allocations: 115.9 kB / 3.715 GB, free: 45.59 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002515/10.31, allocations: 56.44 kB / 3.715 GB, free: 45.54 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002453/10.31, allocations: 83.97 kB / 3.715 GB, free: 45.45 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.005548/10.32, allocations: 2.047 MB / 3.717 GB, free: 43.39 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.61e-07/10.32, allocations: 0 / 3.717 GB, free: 43.39 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005032/10.32, allocations: 1.034 MB / 3.718 GB, free: 42.35 MB / 0.8855 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 () * Number of clocked 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.009458/10.33, allocations: 4.537 MB / 3.723 GB, free: 37.68 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0116/10.34, allocations: 5.343 MB / 3.728 GB, free: 32.34 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/10.34, allocations: 0 / 3.728 GB, free: 32.34 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002514/10.35, allocations: 0.7572 MB / 3.729 GB, free: 31.59 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005008/10.35, allocations: 0.4898 MB / 3.729 GB, free: 31.09 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/10.36, allocations: 7.773 MB / 3.737 GB, free: 23.14 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/10.36, allocations: 1.372 MB / 3.738 GB, free: 21.73 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004072/10.37, allocations: 0.6084 MB / 3.739 GB, free: 21.13 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002245/10.37, allocations: 0.7062 MB / 3.739 GB, free: 20.42 MB / 0.8855 GB Notification: Performance of SimCode: time 1.292e-06/10.37, allocations: 0 / 3.739 GB, free: 20.42 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.836/11.21, allocations: 68.67 MB / 3.806 GB, free: 188.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002614/11.21, allocations: 245.6 kB / 3.807 GB, free: 188.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.503/16.71, allocations: 0 / 3.807 GB, free: 188.6 MB / 0.8855 GB