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 loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.226/2.226, allocations: 251.1 MB / 266.7 MB, free: 11.65 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.001495/0.001494, allocations: 187.8 kB / 326.2 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.54/2.54, allocations: 205.4 MB / 0.5772 GB, free: 20.82 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.001027/0.001026, allocations: 88.39 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004944/0.0004946, allocations: 11.78 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2534, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.481/7.734, allocations: 2.203 GB / 3.103 GB, free: 241 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004028/7.735, allocations: 102.7 kB / 3.103 GB, free: 241 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.563/10.3, allocations: 0.5588 GB / 3.662 GB, free: 103 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.647e-06/10.3, allocations: 0 / 3.662 GB, free: 103 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001812/10.3, allocations: 43.92 kB / 3.662 GB, free: 102.9 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.01061/10.31, allocations: 2.534 MB / 3.664 GB, free: 100.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/10.31, allocations: 11.97 kB / 3.664 GB, free: 100.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005864/10.31, allocations: 0.4941 MB / 3.665 GB, free: 99.82 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006553/10.32, allocations: 2.049 MB / 3.667 GB, free: 97.73 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.937e-05/10.32, allocations: 89.69 kB / 3.667 GB, free: 97.64 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000333/10.32, allocations: 124.4 kB / 3.667 GB, free: 97.52 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003759/10.33, allocations: 1.405 MB / 3.668 GB, free: 96.04 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/10.33, allocations: 3.938 kB / 3.668 GB, free: 96.04 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001472/10.33, allocations: 32 kB / 3.668 GB, free: 96.01 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/10.33, allocations: 16 kB / 3.668 GB, free: 95.99 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005166/10.33, allocations: 1.668 MB / 3.67 GB, free: 94.32 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.01331/10.34, allocations: 5.848 MB / 3.676 GB, free: 88.28 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005017/10.35, allocations: 1.508 MB / 3.677 GB, free: 86.76 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002355/10.35, allocations: 0.7635 MB / 3.678 GB, free: 86 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005575/10.35, allocations: 450 kB / 3.678 GB, free: 85.46 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/10.35, allocations: 39.12 kB / 3.678 GB, free: 85.41 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=57): time 3.447e-06/10.35, allocations: 0 / 3.678 GB, free: 85.41 MB / 0.8855 GB Notification: Performance of matching and sorting (n=57): time 0.009806/10.36, allocations: 2.615 MB / 3.681 GB, free: 82.77 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/10.36, allocations: 59.95 kB / 3.681 GB, free: 82.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0074/10.37, allocations: 2.911 MB / 3.684 GB, free: 79.75 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0005727/10.37, allocations: 61.7 kB / 3.684 GB, free: 79.68 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008823/10.37, allocations: 0.7195 MB / 3.685 GB, free: 78.95 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003576/10.37, allocations: 201.1 kB / 3.685 GB, free: 78.75 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/10.37, allocations: 28 kB / 3.685 GB, free: 78.73 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001349/10.37, allocations: 381.8 kB / 3.685 GB, free: 78.35 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004161/10.38, allocations: 1.718 MB / 3.687 GB, free: 76.63 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004756/10.38, allocations: 2.199 MB / 3.689 GB, free: 74.25 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004563/10.39, allocations: 1.86 MB / 3.691 GB, free: 72.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/10.39, allocations: 11.94 kB / 3.691 GB, free: 72.39 MB / 0.8855 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.01103/10.4, allocations: 4.171 MB / 3.695 GB, free: 68.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001407/10.4, allocations: 247.4 kB / 3.695 GB, free: 67.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/10.4, allocations: 8 kB / 3.695 GB, free: 67.88 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009421/10.4, allocations: 160.8 kB / 3.695 GB, free: 67.71 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003654/10.4, allocations: 439.3 kB / 3.696 GB, free: 67.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/10.4, allocations: 1.22 MB / 3.697 GB, free: 66.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004675/10.41, allocations: 373.6 kB / 3.697 GB, free: 65.65 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000634/10.41, allocations: 143.9 kB / 3.698 GB, free: 65.51 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/10.41, allocations: 4 kB / 3.698 GB, free: 65.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009772/10.42, allocations: 3.959 MB / 3.701 GB, free: 61.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/10.42, allocations: 4 kB / 3.701 GB, free: 61.54 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/10.42, allocations: 12.56 kB / 3.701 GB, free: 61.52 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003232/10.42, allocations: 419.4 kB / 3.702 GB, free: 61.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.259e-05/10.42, allocations: 15.98 kB / 3.702 GB, free: 61.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004379/10.43, allocations: 298.5 kB / 3.702 GB, free: 60.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006557/10.43, allocations: 136 kB / 3.702 GB, free: 60.67 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.001376/10.43, allocations: 0.5135 MB / 3.703 GB, free: 60.15 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009173/10.43, allocations: 177.7 kB / 3.703 GB, free: 59.97 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006502/10.44, allocations: 1.998 MB / 3.705 GB, free: 57.96 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/10.44, allocations: 4 kB / 3.705 GB, free: 57.96 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/10.44, allocations: 0 / 3.705 GB, free: 57.96 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/10.44, allocations: 4 kB / 3.705 GB, free: 57.95 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01267/10.45, allocations: 3.939 MB / 3.709 GB, free: 53.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/10.45, allocations: 4 kB / 3.709 GB, free: 53.91 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001828/10.45, allocations: 204 kB / 3.709 GB, free: 53.71 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006906/10.45, allocations: 140.7 kB / 3.709 GB, free: 53.57 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001544/10.45, allocations: 39.97 kB / 3.709 GB, free: 53.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/10.45, allocations: 1.22 MB / 3.71 GB, free: 52.27 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/10.45, allocations: 7.938 kB / 3.71 GB, free: 52.26 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006728/10.46, allocations: 1.988 MB / 3.712 GB, free: 50.21 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002233/10.46, allocations: 0.5959 MB / 3.713 GB, free: 49.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009124/10.46, allocations: 12 kB / 3.713 GB, free: 49.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003251/10.47, allocations: 123.8 kB / 3.713 GB, free: 49.46 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002651/10.47, allocations: 52.42 kB / 3.713 GB, free: 49.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000268/10.47, allocations: 91.95 kB / 3.713 GB, free: 49.32 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.005533/10.47, allocations: 2.043 MB / 3.715 GB, free: 47.26 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.41e-07/10.47, allocations: 0 / 3.715 GB, free: 47.26 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00524/10.48, allocations: 1.038 MB / 3.716 GB, free: 46.22 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.003643/10.48, allocations: 1.598 MB / 3.718 GB, free: 44.58 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01229/10.49, allocations: 5.351 MB / 3.723 GB, free: 39.24 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/10.49, allocations: 4 kB / 3.723 GB, free: 39.23 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002527/10.5, allocations: 0.7533 MB / 3.724 GB, free: 38.48 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005412/10.5, allocations: 0.5008 MB / 3.724 GB, free: 37.98 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007257/10.51, allocations: 3.376 MB / 3.727 GB, free: 34.55 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/10.51, allocations: 1.334 MB / 3.729 GB, free: 33.19 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004082/10.51, allocations: 0.6113 MB / 3.729 GB, free: 32.58 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001374/10.51, allocations: 175.3 kB / 3.729 GB, free: 32.41 MB / 0.8855 GB Notification: Performance of SimCode: time 1.823e-06/10.51, allocations: 0 / 3.729 GB, free: 32.41 MB / 0.8855 GB Notification: Performance of Templates: time 0.7773/11.29, allocations: 49.43 MB / 3.778 GB, free: 187.2 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & ./Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)