Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.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: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.357/1.357, allocations: 252 MB / 267.9 MB, free: 10.94 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.001008/0.001008, allocations: 173.1 kB / 327.5 MB, free: 2.168 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.888/1.888, allocations: 205.4 MB / 0.5785 GB, free: 20.19 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.0007375/0.0007378, allocations: 95.67 kB / 0.6831 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004231/0.0004236, allocations: 13.19 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2033, allocations: 106.3 MB / 0.9012 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.707/4.91, allocations: 2.204 GB / 3.105 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003512/4.911, allocations: 96.83 kB / 3.105 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.141/7.051, allocations: 0.5588 GB / 3.664 GB, free: 147.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.532e-06/7.051, allocations: 4 kB / 3.664 GB, free: 147.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002394/7.052, allocations: 36 kB / 3.664 GB, free: 147.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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.007327/7.059, allocations: 2.508 MB / 3.666 GB, free: 145 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/7.059, allocations: 8.031 kB / 3.666 GB, free: 145 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003544/7.063, allocations: 0.4941 MB / 3.667 GB, free: 144.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004741/7.067, allocations: 2.103 MB / 3.669 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/7.067, allocations: 93.69 kB / 3.669 GB, free: 142.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004814/7.068, allocations: 124.3 kB / 3.669 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002671/7.071, allocations: 1.405 MB / 3.671 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/7.071, allocations: 0 / 3.671 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/7.071, allocations: 28 kB / 3.671 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/7.071, allocations: 16 kB / 3.671 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002736/7.074, allocations: 1.683 MB / 3.672 GB, free: 138.9 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.009397/7.083, allocations: 5.844 MB / 3.678 GB, free: 132.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002592/7.086, allocations: 1.508 MB / 3.679 GB, free: 131.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/7.087, allocations: 0.7558 MB / 3.68 GB, free: 130.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004037/7.087, allocations: 450 kB / 3.681 GB, free: 130.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/7.087, allocations: 39.06 kB / 3.681 GB, free: 130 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=57): time 2.755e-06/7.087, allocations: 4 kB / 3.681 GB, free: 130 MB / 0.8855 GB Notification: Performance of matching and sorting (n=57): time 0.00556/7.093, allocations: 2.615 MB / 3.683 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/7.093, allocations: 63.95 kB / 3.683 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005167/7.098, allocations: 2.911 MB / 3.686 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004049/7.099, allocations: 61.7 kB / 3.686 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007926/7.099, allocations: 0.7115 MB / 3.687 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/7.1, allocations: 197.2 kB / 3.687 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/7.1, allocations: 39.98 kB / 3.687 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001322/7.1, allocations: 381.8 kB / 3.687 GB, free: 122.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002416/7.102, allocations: 1.722 MB / 3.689 GB, free: 121.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002818/7.105, allocations: 2.199 MB / 3.691 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004562/7.11, allocations: 3.263 MB / 3.694 GB, free: 115.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/7.11, allocations: 0 / 3.694 GB, free: 115.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.006845/7.117, allocations: 4.171 MB / 3.699 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001928/7.117, allocations: 247.4 kB / 3.699 GB, free: 111 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/7.117, allocations: 8 kB / 3.699 GB, free: 111 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000639/7.118, allocations: 156.8 kB / 3.699 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001662/7.119, allocations: 439.3 kB / 3.699 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008653/7.12, allocations: 1.224 MB / 3.701 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003162/7.123, allocations: 369.6 kB / 3.701 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002552/7.124, allocations: 143.9 kB / 3.701 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/7.124, allocations: 4 kB / 3.701 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004893/7.129, allocations: 3.955 MB / 3.705 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/7.129, allocations: 4 kB / 3.705 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/7.129, allocations: 12.56 kB / 3.705 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/7.13, allocations: 423.4 kB / 3.705 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.819e-05/7.13, allocations: 12 kB / 3.705 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002545/7.133, allocations: 302.4 kB / 3.706 GB, free: 103.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002326/7.133, allocations: 140 kB / 3.706 GB, free: 103.8 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.001015/7.134, allocations: 0.5214 MB / 3.706 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008136/7.135, allocations: 169.6 kB / 3.706 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003742/7.138, allocations: 1.985 MB / 3.708 GB, free: 101.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/7.138, allocations: 8 kB / 3.708 GB, free: 101.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/7.138, allocations: 0 / 3.708 GB, free: 101.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/7.138, allocations: 7.984 kB / 3.708 GB, free: 101.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007787/7.146, allocations: 3.943 MB / 3.712 GB, free: 97.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/7.146, allocations: 0 / 3.712 GB, free: 97.05 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008291/7.147, allocations: 204 kB / 3.712 GB, free: 96.85 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003816/7.147, allocations: 128.8 kB / 3.713 GB, free: 96.72 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.612e-05/7.148, allocations: 39.97 kB / 3.713 GB, free: 96.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006846/7.148, allocations: 1.224 MB / 3.714 GB, free: 95.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/7.148, allocations: 4 kB / 3.714 GB, free: 95.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003616/7.152, allocations: 1.988 MB / 3.716 GB, free: 93.36 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00153/7.153, allocations: 0.5997 MB / 3.716 GB, free: 92.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000792/7.154, allocations: 19.98 kB / 3.716 GB, free: 92.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001898/7.156, allocations: 115.8 kB / 3.716 GB, free: 92.61 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/7.156, allocations: 56.44 kB / 3.716 GB, free: 92.55 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/7.156, allocations: 83.95 kB / 3.717 GB, free: 92.47 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003516/7.16, allocations: 2.043 MB / 3.719 GB, free: 90.41 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.3e-07/7.16, allocations: 0 / 3.719 GB, free: 90.41 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004297/7.164, allocations: 1.042 MB / 3.72 GB, free: 89.36 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.003099/7.167, allocations: 1.596 MB / 3.721 GB, free: 87.72 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00695/7.174, allocations: 5.359 MB / 3.726 GB, free: 82.37 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/7.174, allocations: 0 / 3.726 GB, free: 82.37 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0013/7.176, allocations: 0.7572 MB / 3.727 GB, free: 81.61 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00473/7.18, allocations: 0.5079 MB / 3.728 GB, free: 81.11 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005599/7.186, allocations: 3.373 MB / 3.731 GB, free: 77.68 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/7.187, allocations: 1.334 MB / 3.732 GB, free: 76.32 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002846/7.19, allocations: 0.6162 MB / 3.733 GB, free: 75.71 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009629/7.191, allocations: 179.3 kB / 3.733 GB, free: 75.54 MB / 0.8855 GB Notification: Performance of SimCode: time 9.02e-07/7.191, allocations: 0 / 3.733 GB, free: 75.54 MB / 0.8855 GB Notification: Performance of Templates: time 0.06808/7.259, allocations: 50.46 MB / 3.782 GB, free: 25.27 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)