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.65/1.65, allocations: 285.4 MB / 298 MB, free: 6.008 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.001059/0.001059, allocations: 188.8 kB / 366.4 MB, free: 2.113 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.461/1.461, allocations: 205.1 MB / 0.6248 GB, free: 7.742 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.0007878/0.000788, allocations: 96.7 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.113e-05/3.175e-05, allocations: 4 kB / 0.8583 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6885/0.6886, allocations: 115.3 MB / 0.9709 GB, free: 77.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.671/5.359, allocations: 2.086 GB / 3.056 GB, free: 52.88 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/5.36, allocations: 95.38 kB / 3.057 GB, free: 52.79 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.261/7.621, allocations: 0.5778 GB / 3.634 GB, free: 210 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.004e-06/7.621, allocations: 0 / 3.634 GB, free: 210 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002815/7.621, allocations: 39.78 kB / 3.634 GB, free: 210 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.006398/7.628, allocations: 1.828 MB / 3.636 GB, free: 208.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/7.628, allocations: 6.781 kB / 3.636 GB, free: 208.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003729/7.631, allocations: 0.4969 MB / 3.637 GB, free: 208.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003875/7.635, allocations: 2.007 MB / 3.639 GB, free: 207.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.691e-05/7.635, allocations: 91.66 kB / 3.639 GB, free: 207.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002301/7.636, allocations: 124.5 kB / 3.639 GB, free: 207.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/7.638, allocations: 1.288 MB / 3.64 GB, free: 206.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/7.638, allocations: 3.938 kB / 3.64 GB, free: 206.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.362e-05/7.638, allocations: 26.56 kB / 3.64 GB, free: 206.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/7.638, allocations: 23.64 kB / 3.64 GB, free: 206.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001893/7.64, allocations: 1.464 MB / 3.642 GB, free: 205.1 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.008269/7.648, allocations: 5.827 MB / 3.647 GB, free: 199.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/7.65, allocations: 1.352 MB / 3.649 GB, free: 197.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008355/7.651, allocations: 0.6622 MB / 3.649 GB, free: 197.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004474/7.651, allocations: 446 kB / 3.65 GB, free: 196.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/7.651, allocations: 42.72 kB / 3.65 GB, free: 196.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 3.897e-06/7.651, allocations: 0 / 3.65 GB, free: 196.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.003207/7.655, allocations: 1.564 MB / 3.651 GB, free: 195 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/7.655, allocations: 59.92 kB / 3.651 GB, free: 194.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003872/7.659, allocations: 2.633 MB / 3.654 GB, free: 192.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003179/7.659, allocations: 64.55 kB / 3.654 GB, free: 192.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005119/7.659, allocations: 0.7113 MB / 3.655 GB, free: 191.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/7.66, allocations: 192.4 kB / 3.655 GB, free: 191.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.643e-05/7.66, allocations: 32 kB / 3.655 GB, free: 191.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000111/7.66, allocations: 381.9 kB / 3.655 GB, free: 190.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001782/7.662, allocations: 1.601 MB / 3.657 GB, free: 189.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002071/7.664, allocations: 2.076 MB / 3.659 GB, free: 187.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/7.666, allocations: 1.76 MB / 3.661 GB, free: 185.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/7.666, allocations: 3.938 kB / 3.661 GB, free: 185.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.004971/7.671, allocations: 3.955 MB / 3.664 GB, free: 181.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004065/7.671, allocations: 2.075 MB / 3.666 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/7.671, allocations: 8 kB / 3.666 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006028/7.672, allocations: 148 kB / 3.667 GB, free: 178.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001728/7.673, allocations: 418.9 kB / 3.667 GB, free: 178.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008578/7.674, allocations: 1.196 MB / 3.668 GB, free: 177.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003753/7.678, allocations: 374.1 kB / 3.668 GB, free: 176.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000421/7.678, allocations: 144 kB / 3.669 GB, free: 176.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/7.678, allocations: 4 kB / 3.669 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005055/7.684, allocations: 3.746 MB / 3.672 GB, free: 173.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/7.684, allocations: 4 kB / 3.672 GB, free: 173 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/7.684, allocations: 12 kB / 3.672 GB, free: 173 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/7.685, allocations: 414.2 kB / 3.673 GB, free: 172.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.469e-05/7.685, allocations: 19.64 kB / 3.673 GB, free: 172.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002977/7.688, allocations: 294.7 kB / 3.673 GB, free: 172.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002671/7.689, allocations: 136 kB / 3.673 GB, free: 172.2 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 () * 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.000463/7.689, allocations: 218 kB / 3.673 GB, free: 172 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008256/7.69, allocations: 165.7 kB / 3.673 GB, free: 171.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003034/7.693, allocations: 1.802 MB / 3.675 GB, free: 170 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/7.693, allocations: 8 kB / 3.675 GB, free: 170 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/7.693, allocations: 0 / 3.675 GB, free: 170 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/7.693, allocations: 3.984 kB / 3.675 GB, free: 170 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007183/7.7, allocations: 3.742 MB / 3.679 GB, free: 166.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.445e-06/7.7, allocations: 7.938 kB / 3.679 GB, free: 166.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009303/7.701, allocations: 204 kB / 3.679 GB, free: 166 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000397/7.702, allocations: 120.7 kB / 3.679 GB, free: 165.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/7.702, allocations: 35.98 kB / 3.679 GB, free: 165.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000693/7.702, allocations: 1.212 MB / 3.68 GB, free: 164.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/7.702, allocations: 7.969 kB / 3.68 GB, free: 164.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002963/7.705, allocations: 1.946 MB / 3.682 GB, free: 162.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001791/7.707, allocations: 0.5958 MB / 3.683 GB, free: 161.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001036/7.708, allocations: 19.94 kB / 3.683 GB, free: 161.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002049/7.71, allocations: 119.9 kB / 3.683 GB, free: 161.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/7.71, allocations: 56.38 kB / 3.683 GB, free: 161.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/7.711, allocations: 87.97 kB / 3.683 GB, free: 161.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003447/7.714, allocations: 1.99 MB / 3.685 GB, free: 159.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.21e-07/7.714, allocations: 0 / 3.685 GB, free: 159.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004949/7.719, allocations: 1.037 MB / 3.686 GB, free: 158.5 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 () * 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.003704/7.723, allocations: 1.598 MB / 3.688 GB, free: 157.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00608/7.729, allocations: 5.094 MB / 3.693 GB, free: 152 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/7.729, allocations: 0 / 3.693 GB, free: 152 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/7.73, allocations: 0.6512 MB / 3.693 GB, free: 151.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003443/7.733, allocations: 0.4956 MB / 3.694 GB, free: 150.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004252/7.738, allocations: 2.342 MB / 3.696 GB, free: 148.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000832/7.738, allocations: 1.358 MB / 3.697 GB, free: 147.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004605/7.743, allocations: 0.9914 MB / 3.698 GB, free: 146.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004316/7.744, allocations: 115.4 kB / 3.699 GB, free: 146 MB / 0.948 GB Notification: Performance of SimCode: time 1.292e-06/7.744, allocations: 0 / 3.699 GB, free: 146 MB / 0.948 GB Notification: Performance of Templates: time 0.07136/7.815, allocations: 54.97 MB / 3.752 GB, free: 91.23 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)