Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.777/1.777, allocations: 292.6 MB / 307.5 MB, free: 5.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001451/0.001451, allocations: 181 kB / 377.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.933/1.933, allocations: 205.4 MB / 0.6367 GB, free: 8.648 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009124/0.0009122, allocations: 91.17 kB / 0.751 GB, free: 62.8 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000444/0.0004441, allocations: 8 kB / 0.8748 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.333, allocations: 116.3 MB / 0.9884 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.908/7.241, allocations: 2.087 GB / 3.075 GB, free: 94.34 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000393/7.241, allocations: 91.78 kB / 3.075 GB, free: 94.29 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.681/9.923, allocations: 0.5784 GB / 3.653 GB, free: 176.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.823e-06/9.923, allocations: 0 / 3.653 GB, free: 176.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003355/9.923, allocations: 36.28 kB / 3.653 GB, free: 176.6 MB / 0.948 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.0117/9.935, allocations: 2.535 MB / 3.656 GB, free: 175.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/9.935, allocations: 11 kB / 3.656 GB, free: 175.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004842/9.94, allocations: 0.4906 MB / 3.656 GB, free: 175.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006944/9.947, allocations: 2.057 MB / 3.658 GB, free: 175 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/9.947, allocations: 92.66 kB / 3.659 GB, free: 175 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006284/9.947, allocations: 125.3 kB / 3.659 GB, free: 175 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003336/9.951, allocations: 1.389 MB / 3.66 GB, free: 174.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.372e-05/9.951, allocations: 6.688 kB / 3.66 GB, free: 174.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/9.951, allocations: 30.91 kB / 3.66 GB, free: 174.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.513e-05/9.951, allocations: 16.94 kB / 3.66 GB, free: 174.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003427/9.954, allocations: 1.673 MB / 3.662 GB, free: 174.7 MB / 0.948 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.01231/9.967, allocations: 5.849 MB / 3.667 GB, free: 172.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003036/9.97, allocations: 1.527 MB / 3.669 GB, free: 172.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004791/9.97, allocations: 451.5 kB / 3.669 GB, free: 171.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/9.97, allocations: 38.53 kB / 3.669 GB, free: 171.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 2.996e-06/9.97, allocations: 0 / 3.669 GB, free: 171.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.006492/9.977, allocations: 2.611 MB / 3.672 GB, free: 171.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/9.977, allocations: 58.78 kB / 3.672 GB, free: 171.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006127/9.983, allocations: 2.69 MB / 3.675 GB, free: 170.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005249/9.984, allocations: 64.95 kB / 3.675 GB, free: 170.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001052/9.985, allocations: 0.7104 MB / 3.675 GB, free: 169.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002923/9.985, allocations: 192 kB / 3.676 GB, free: 169.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002399/9.985, allocations: 34.77 kB / 3.676 GB, free: 169.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001763/9.985, allocations: 382.4 kB / 3.676 GB, free: 169.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002571/9.988, allocations: 1.715 MB / 3.678 GB, free: 168.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003226/9.991, allocations: 2.193 MB / 3.68 GB, free: 167.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003168/9.994, allocations: 1.863 MB / 3.682 GB, free: 167.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.658e-05/9.994, allocations: 2.875 kB / 3.682 GB, free: 167.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.00923/10, allocations: 4.18 MB / 3.686 GB, free: 165.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001057/10, allocations: 2.076 MB / 3.688 GB, free: 163.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.125e-05/10, allocations: 5.469 kB / 3.688 GB, free: 163.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008259/10.01, allocations: 153.1 kB / 3.688 GB, free: 163.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001999/10.01, allocations: 424.5 kB / 3.688 GB, free: 163.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/10.01, allocations: 1.229 MB / 3.689 GB, free: 162.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004057/10.01, allocations: 364.4 kB / 3.69 GB, free: 162 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004566/10.01, allocations: 141.2 kB / 3.69 GB, free: 162 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/10.01, allocations: 5.688 kB / 3.69 GB, free: 162 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006328/10.02, allocations: 3.958 MB / 3.694 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/10.02, allocations: 6.469 kB / 3.694 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/10.02, allocations: 14.56 kB / 3.694 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/10.02, allocations: 423.7 kB / 3.694 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.143e-05/10.02, allocations: 19.39 kB / 3.694 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00343/10.03, allocations: 296.2 kB / 3.695 GB, free: 160.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003624/10.03, allocations: 138.9 kB / 3.695 GB, free: 160.5 MB / 0.948 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.001781/10.03, allocations: 0.5205 MB / 3.695 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001349/10.03, allocations: 169.8 kB / 3.695 GB, free: 160.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004544/10.03, allocations: 1.986 MB / 3.697 GB, free: 159.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/10.03, allocations: 7.625 kB / 3.697 GB, free: 159.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/10.03, allocations: 3.953 kB / 3.697 GB, free: 159.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/10.03, allocations: 3.375 kB / 3.697 GB, free: 159.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009486/10.04, allocations: 3.937 MB / 3.701 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/10.04, allocations: 3.562 kB / 3.701 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009275/10.04, allocations: 201.3 kB / 3.701 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004364/10.04, allocations: 135.7 kB / 3.701 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000121/10.04, allocations: 37.12 kB / 3.701 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000797/10.05, allocations: 1.229 MB / 3.703 GB, free: 157 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/10.05, allocations: 6.922 kB / 3.703 GB, free: 157 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004253/10.05, allocations: 2.154 MB / 3.705 GB, free: 156.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002013/10.05, allocations: 0.5953 MB / 3.705 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001068/10.05, allocations: 14.91 kB / 3.705 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002297/10.05, allocations: 119.8 kB / 3.705 GB, free: 155.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/10.05, allocations: 54.94 kB / 3.706 GB, free: 155.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001379/10.06, allocations: 84.45 kB / 3.706 GB, free: 155.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003874/10.06, allocations: 2.043 MB / 3.708 GB, free: 154.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.91e-07/10.06, allocations: 0 / 3.708 GB, free: 154.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005437/10.06, allocations: 1.038 MB / 3.709 GB, free: 154.7 MB / 0.948 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.003773/10.07, allocations: 1.607 MB / 3.71 GB, free: 154.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008203/10.08, allocations: 5.341 MB / 3.715 GB, free: 152.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/10.08, allocations: 0 / 3.715 GB, free: 152.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001454/10.08, allocations: 0.7487 MB / 3.716 GB, free: 152.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00359/10.08, allocations: 494.3 kB / 3.717 GB, free: 152.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006607/10.09, allocations: 3.36 MB / 3.72 GB, free: 150.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/10.09, allocations: 1.367 MB / 3.721 GB, free: 150.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003176/10.09, allocations: 0.6228 MB / 3.722 GB, free: 150 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/10.09, allocations: 175.8 kB / 3.722 GB, free: 149.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.453e-06/10.09, allocations: 0 / 3.722 GB, free: 149.9 MB / 0.948 GB Notification: Performance of Templates: time 0.08102/10.17, allocations: 49.24 MB / 3.77 GB, free: 120.4 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & ./Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)