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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.648/1.648, allocations: 293 MB / 309 MB, free: 4.797 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.001024/0.001024, allocations: 175.3 kB / 378.7 MB, free: 1.035 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.866/1.866, allocations: 205.4 MB / 0.6383 GB, free: 8.141 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.0009977/0.0009972, allocations: 85.89 kB / 0.7527 GB, free: 62.8 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004463/0.0004466, allocations: 12 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3147, allocations: 116.4 MB / 0.9904 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.965/6.279, allocations: 2.087 GB / 3.077 GB, free: 128.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003687/6.28, allocations: 97.91 kB / 3.077 GB, free: 128 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.628/8.908, allocations: 0.5766 GB / 3.654 GB, free: 170.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.305e-06/8.908, allocations: 0 / 3.654 GB, free: 170.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003025/8.908, allocations: 40.31 kB / 3.654 GB, free: 170.8 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.01033/8.918, allocations: 2.514 MB / 3.656 GB, free: 169.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/8.918, allocations: 9.688 kB / 3.656 GB, free: 169.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005112/8.923, allocations: 0.4921 MB / 3.657 GB, free: 169.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00989/8.933, allocations: 2.104 MB / 3.659 GB, free: 169.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003073/8.934, allocations: 93.12 kB / 3.659 GB, free: 169.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001149/8.935, allocations: 128.3 kB / 3.659 GB, free: 169.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005756/8.941, allocations: 1.4 MB / 3.661 GB, free: 169.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.618e-05/8.941, allocations: 1.969 kB / 3.661 GB, free: 169.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002237/8.941, allocations: 31.22 kB / 3.661 GB, free: 169.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/8.941, allocations: 20.41 kB / 3.661 GB, free: 169.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004531/8.946, allocations: 1.676 MB / 3.662 GB, free: 169.1 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.01452/8.96, allocations: 5.842 MB / 3.668 GB, free: 166.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003233/8.963, allocations: 1.51 MB / 3.669 GB, free: 166.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001505/8.965, allocations: 0.7574 MB / 3.67 GB, free: 166.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004759/8.965, allocations: 447.4 kB / 3.671 GB, free: 166.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/8.965, allocations: 47.53 kB / 3.671 GB, free: 166.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 3.908e-06/8.966, allocations: 0 / 3.671 GB, free: 166.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.007129/8.973, allocations: 2.614 MB / 3.673 GB, free: 165.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/8.973, allocations: 56.94 kB / 3.673 GB, free: 165.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007197/8.98, allocations: 2.914 MB / 3.676 GB, free: 165.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003703/8.98, allocations: 69.06 kB / 3.676 GB, free: 165.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001017/8.981, allocations: 0.7097 MB / 3.677 GB, free: 165.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002467/8.982, allocations: 190.3 kB / 3.677 GB, free: 165.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/8.982, allocations: 33.72 kB / 3.677 GB, free: 165.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001694/8.982, allocations: 382.8 kB / 3.677 GB, free: 164.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003186/8.985, allocations: 1.717 MB / 3.679 GB, free: 164.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003503/8.989, allocations: 2.197 MB / 3.681 GB, free: 164.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005784/8.994, allocations: 3.267 MB / 3.684 GB, free: 164.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.424e-05/8.994, allocations: 1.094 kB / 3.684 GB, free: 164.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.009088/9.004, allocations: 4.181 MB / 3.689 GB, free: 164 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002085/9.004, allocations: 245.8 kB / 3.689 GB, free: 163.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.321e-05/9.004, allocations: 8.844 kB / 3.689 GB, free: 163.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007014/9.005, allocations: 158.8 kB / 3.689 GB, free: 163.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001949/9.007, allocations: 431.2 kB / 3.689 GB, free: 163.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009541/9.008, allocations: 1.22 MB / 3.691 GB, free: 162.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003448/9.011, allocations: 381.5 kB / 3.691 GB, free: 162.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003152/9.011, allocations: 144.4 kB / 3.691 GB, free: 162.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/9.011, allocations: 3.594 kB / 3.691 GB, free: 162.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006225/9.018, allocations: 3.961 MB / 3.695 GB, free: 162.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/9.018, allocations: 3.75 kB / 3.695 GB, free: 162.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/9.018, allocations: 11.19 kB / 3.695 GB, free: 162.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/9.019, allocations: 418 kB / 3.695 GB, free: 162.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.719e-05/9.019, allocations: 15.88 kB / 3.695 GB, free: 162.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003039/9.022, allocations: 302.9 kB / 3.696 GB, free: 162.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002681/9.023, allocations: 142.2 kB / 3.696 GB, free: 162.3 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.001284/9.024, allocations: 0.5179 MB / 3.696 GB, free: 162.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001057/9.025, allocations: 170.4 kB / 3.696 GB, free: 162 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004247/9.029, allocations: 1.991 MB / 3.698 GB, free: 161.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/9.029, allocations: 9.594 kB / 3.698 GB, free: 161.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/9.029, allocations: 0 / 3.698 GB, free: 161.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/9.029, allocations: 3.609 kB / 3.698 GB, free: 161.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00924/9.039, allocations: 3.939 MB / 3.702 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/9.039, allocations: 7.281 kB / 3.702 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008723/9.039, allocations: 194.9 kB / 3.702 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000396/9.04, allocations: 137.5 kB / 3.703 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.623e-05/9.04, allocations: 38.53 kB / 3.703 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007466/9.041, allocations: 1.223 MB / 3.704 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/9.041, allocations: 2.562 kB / 3.704 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00411/9.045, allocations: 1.993 MB / 3.706 GB, free: 158.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001911/9.047, allocations: 0.5948 MB / 3.706 GB, free: 158.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001018/9.048, allocations: 13.34 kB / 3.706 GB, free: 158.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002147/9.05, allocations: 119.9 kB / 3.706 GB, free: 158.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/9.05, allocations: 57.48 kB / 3.706 GB, free: 158.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001464/9.05, allocations: 84.58 kB / 3.707 GB, free: 158.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.004639/9.055, allocations: 2.046 MB / 3.709 GB, free: 157.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.4e-07/9.055, allocations: 0 / 3.709 GB, free: 157.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00714/9.062, allocations: 1.042 MB / 3.71 GB, free: 157.4 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.00478/9.067, allocations: 1.598 MB / 3.711 GB, free: 156.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00818/9.075, allocations: 5.357 MB / 3.716 GB, free: 155.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/9.075, allocations: 0 / 3.716 GB, free: 155.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001435/9.077, allocations: 0.7544 MB / 3.717 GB, free: 155.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005278/9.082, allocations: 0.5141 MB / 3.718 GB, free: 155.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006323/9.088, allocations: 3.378 MB / 3.721 GB, free: 153.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/9.089, allocations: 1.327 MB / 3.722 GB, free: 152.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00337/9.093, allocations: 0.613 MB / 3.723 GB, free: 152.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00126/9.094, allocations: 181.1 kB / 3.723 GB, free: 152.9 MB / 0.948 GB Notification: Performance of SimCode: time 9.12e-07/9.094, allocations: 0 / 3.723 GB, free: 152.9 MB / 0.948 GB Notification: Performance of Templates: time 0.08395/9.178, allocations: 50.45 MB / 3.772 GB, free: 148.3 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)