Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.71/1.71, allocations: 288.4 MB / 304.3 MB, free: 8.105 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.00104/0.00104, allocations: 185.5 kB / 372.9 MB, free: 10.15 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.748/1.748, allocations: 205.4 MB / 0.6317 GB, free: 9.918 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008161/0.0008161, allocations: 97.11 kB / 0.745 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006223/0.0006223, allocations: 12.47 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.23, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.108/5.338, allocations: 2.086 GB / 3.067 GB, free: 229.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003799/5.339, allocations: 95.94 kB / 3.067 GB, free: 229.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.742/7.08, allocations: 0.5766 GB / 3.643 GB, free: 7.602 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.304e-06/7.081, allocations: 0 / 3.643 GB, free: 7.602 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001204/7.081, allocations: 39.98 kB / 3.643 GB, free: 7.562 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.006598/7.087, allocations: 2.519 MB / 3.646 GB, free: 4.98 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/7.087, allocations: 8.031 kB / 3.646 GB, free: 4.973 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003137/7.09, allocations: 0.4941 MB / 3.646 GB, free: 4.477 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003344/7.094, allocations: 2.111 MB / 3.648 GB, free: 2.324 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.784e-05/7.094, allocations: 85.69 kB / 3.648 GB, free: 2.238 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001913/7.094, allocations: 128.4 kB / 3.648 GB, free: 2.113 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00215/7.096, allocations: 1.396 MB / 3.65 GB, free: 0.6484 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/7.096, allocations: 15.92 kB / 3.65 GB, free: 0.6328 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.585e-05/7.096, allocations: 28 kB / 3.65 GB, free: 0.6055 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/7.096, allocations: 16 kB / 3.65 GB, free: 0.5898 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6204/7.717, allocations: 1.668 MB / 3.652 GB, free: 202.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.01252/7.729, allocations: 5.831 MB / 3.657 GB, free: 199.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003765/7.733, allocations: 1.507 MB / 3.659 GB, free: 199.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001731/7.735, allocations: 0.7594 MB / 3.659 GB, free: 199.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004728/7.735, allocations: 455.9 kB / 3.66 GB, free: 199.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/7.735, allocations: 37.59 kB / 3.66 GB, free: 199.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 2.565e-06/7.735, allocations: 2.969 kB / 3.66 GB, free: 199.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.007143/7.743, allocations: 2.62 MB / 3.662 GB, free: 199.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/7.743, allocations: 57.84 kB / 3.663 GB, free: 199.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005214/7.748, allocations: 2.914 MB / 3.665 GB, free: 198.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000257/7.748, allocations: 64.69 kB / 3.665 GB, free: 198.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006075/7.749, allocations: 0.7137 MB / 3.666 GB, free: 198.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/7.749, allocations: 192.5 kB / 3.666 GB, free: 198.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-05/7.749, allocations: 31.59 kB / 3.666 GB, free: 198.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001219/7.749, allocations: 380.9 kB / 3.667 GB, free: 198.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002715/7.752, allocations: 1.719 MB / 3.668 GB, free: 198.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00305/7.755, allocations: 2.204 MB / 3.671 GB, free: 197.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004618/7.76, allocations: 3.254 MB / 3.674 GB, free: 197.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/7.76, allocations: 3.219 kB / 3.674 GB, free: 197.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.006354/7.766, allocations: 4.185 MB / 3.678 GB, free: 197.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001389/7.766, allocations: 255.4 kB / 3.678 GB, free: 197 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/7.766, allocations: 7.406 kB / 3.678 GB, free: 197 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006316/7.767, allocations: 150.9 kB / 3.678 GB, free: 197 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001829/7.769, allocations: 426.5 kB / 3.679 GB, free: 197 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009186/7.77, allocations: 1.231 MB / 3.68 GB, free: 195.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003234/7.773, allocations: 364.5 kB / 3.68 GB, free: 195.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003506/7.773, allocations: 140.5 kB / 3.68 GB, free: 195.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/7.773, allocations: 3.312 kB / 3.68 GB, free: 195.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00717/7.78, allocations: 3.959 MB / 3.684 GB, free: 195.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/7.78, allocations: 4.844 kB / 3.684 GB, free: 195.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/7.78, allocations: 13.19 kB / 3.684 GB, free: 195.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002048/7.783, allocations: 418.3 kB / 3.685 GB, free: 195.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.907e-05/7.783, allocations: 20.95 kB / 3.685 GB, free: 195.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003066/7.786, allocations: 295.8 kB / 3.685 GB, free: 195.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002955/7.786, allocations: 141.1 kB / 3.685 GB, free: 195.7 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.001364/7.787, allocations: 0.5227 MB / 3.686 GB, free: 195.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007819/7.788, allocations: 173.4 kB / 3.686 GB, free: 195.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00459/7.793, allocations: 1.974 MB / 3.688 GB, free: 195.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/7.793, allocations: 13.66 kB / 3.688 GB, free: 195.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/7.793, allocations: 4.078 kB / 3.688 GB, free: 195.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/7.793, allocations: 6.719 kB / 3.688 GB, free: 195.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00897/7.802, allocations: 3.933 MB / 3.691 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/7.802, allocations: 2.406 kB / 3.691 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009516/7.803, allocations: 201.5 kB / 3.692 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004264/7.803, allocations: 133.8 kB / 3.692 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.368e-05/7.803, allocations: 39.91 kB / 3.692 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000796/7.804, allocations: 1.225 MB / 3.693 GB, free: 193.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/7.804, allocations: 6.469 kB / 3.693 GB, free: 193.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004307/7.808, allocations: 1.99 MB / 3.695 GB, free: 193.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001381/7.81, allocations: 0.5967 MB / 3.696 GB, free: 193.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003098/7.81, allocations: 18.72 kB / 3.696 GB, free: 193.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001525/7.812, allocations: 122.4 kB / 3.696 GB, free: 193.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/7.812, allocations: 50.27 kB / 3.696 GB, free: 193.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/7.812, allocations: 83.12 kB / 3.696 GB, free: 193.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003368/7.815, allocations: 2.048 MB / 3.698 GB, free: 193.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/7.815, allocations: 0 / 3.698 GB, free: 193.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00403/7.819, allocations: 1.04 MB / 3.699 GB, free: 193.1 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.003372/7.823, allocations: 1.609 MB / 3.7 GB, free: 192.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007852/7.831, allocations: 5.356 MB / 3.706 GB, free: 192.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.595e-06/7.831, allocations: 0 / 3.706 GB, free: 192.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001407/7.832, allocations: 0.7544 MB / 3.706 GB, free: 192.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004051/7.836, allocations: 0.5067 MB / 3.707 GB, free: 192.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004762/7.841, allocations: 3.388 MB / 3.71 GB, free: 191.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000754/7.842, allocations: 1.324 MB / 3.711 GB, free: 190.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002488/7.844, allocations: 0.6321 MB / 3.712 GB, free: 190.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005938/7.845, allocations: 174.2 kB / 3.712 GB, free: 190.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.032e-06/7.845, allocations: 0 / 3.712 GB, free: 190.6 MB / 0.948 GB Notification: Performance of Templates: time 0.08119/7.926, allocations: 50.47 MB / 3.762 GB, free: 189.5 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)