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.787/1.787, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001005/0.001004, allocations: 184.8 kB / 361.4 MB, free: 6.844 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.504/1.504, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0008794/0.0008796, allocations: 88.94 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.984e-05/2.018e-05, allocations: 4 kB / 0.8517 GB, free: 2.742 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6872/0.6872, allocations: 115.3 MB / 0.9644 GB, free: 79.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.495/5.182, allocations: 2.085 GB / 3.049 GB, free: 30.14 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/5.182, allocations: 91.38 kB / 3.049 GB, free: 30.09 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.249/7.431, allocations: 0.5707 GB / 3.62 GB, free: 206.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.874e-06/7.431, allocations: 3.906 kB / 3.62 GB, free: 206.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001092/7.431, allocations: 49.48 kB / 3.62 GB, free: 206.2 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.003526/7.435, allocations: 1.808 MB / 3.622 GB, free: 204.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/7.435, allocations: 10.94 kB / 3.622 GB, free: 204.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003093/7.438, allocations: 0.5084 MB / 3.622 GB, free: 204.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002888/7.441, allocations: 2.005 MB / 3.624 GB, free: 203.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/7.441, allocations: 24 kB / 3.624 GB, free: 203.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/7.441, allocations: 79.98 kB / 3.624 GB, free: 203.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001769/7.443, allocations: 1.396 MB / 3.626 GB, free: 201.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/7.445, allocations: 1.192 MB / 3.627 GB, free: 200.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/7.445, allocations: 3.938 kB / 3.627 GB, free: 200.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.515e-05/7.445, allocations: 7.953 kB / 3.627 GB, free: 200.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/7.445, allocations: 20 kB / 3.627 GB, free: 200.5 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.006301/7.451, allocations: 5.622 MB / 3.632 GB, free: 194.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002638/7.454, allocations: 1.489 MB / 3.634 GB, free: 193.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007133/7.454, allocations: 0.6582 MB / 3.635 GB, free: 192.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003793/7.455, allocations: 457.4 kB / 3.635 GB, free: 192 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/7.455, allocations: 39.12 kB / 3.635 GB, free: 192 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 2.975e-06/7.455, allocations: 0 / 3.635 GB, free: 192 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.005011/7.46, allocations: 1.992 MB / 3.637 GB, free: 190 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/7.46, allocations: 59.97 kB / 3.637 GB, free: 189.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002817/7.463, allocations: 2.392 MB / 3.639 GB, free: 187.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002671/7.463, allocations: 29.7 kB / 3.639 GB, free: 187.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004182/7.463, allocations: 0.6955 MB / 3.64 GB, free: 186.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00014/7.464, allocations: 185.2 kB / 3.64 GB, free: 186.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.235e-05/7.464, allocations: 4 kB / 3.64 GB, free: 186.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.762e-05/7.464, allocations: 377.9 kB / 3.641 GB, free: 186.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/7.465, allocations: 1.577 MB / 3.642 GB, free: 184.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/7.467, allocations: 2.036 MB / 3.644 GB, free: 182.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003985/7.471, allocations: 2.165 MB / 3.646 GB, free: 180.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/7.471, allocations: 0 / 3.646 GB, free: 180.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.006758/7.478, allocations: 4.269 MB / 3.65 GB, free: 175.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003772/7.478, allocations: 2.061 MB / 3.652 GB, free: 173.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/7.478, allocations: 8 kB / 3.652 GB, free: 173.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004245/7.479, allocations: 112.6 kB / 3.653 GB, free: 173.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/7.48, allocations: 415.4 kB / 3.653 GB, free: 173.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009584/7.481, allocations: 1.267 MB / 3.654 GB, free: 171.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002813/7.484, allocations: 325.5 kB / 3.655 GB, free: 171.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001959/7.484, allocations: 136 kB / 3.655 GB, free: 171.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/7.484, allocations: 4 kB / 3.655 GB, free: 171.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005854/7.49, allocations: 4.018 MB / 3.659 GB, free: 167.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/7.49, allocations: 8.625 kB / 3.659 GB, free: 167.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/7.49, allocations: 12.06 kB / 3.659 GB, free: 167.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/7.492, allocations: 423.4 kB / 3.659 GB, free: 167 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/7.492, allocations: 15.94 kB / 3.659 GB, free: 167 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002419/7.494, allocations: 250.4 kB / 3.659 GB, free: 166.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001791/7.494, allocations: 140 kB / 3.659 GB, free: 166.6 MB / 0.948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: preIndFrom_dp.m_flow_x:VARIABLE(unit = "kg/s" protected = true ) type: Real 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 (195): * Single equations (assignments): 190 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003847/7.495, allocations: 169.8 kB / 3.66 GB, free: 166.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003737/7.495, allocations: 157.8 kB / 3.66 GB, free: 166.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004699/7.5, allocations: 2.155 MB / 3.662 GB, free: 164.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/7.5, allocations: 4 kB / 3.662 GB, free: 164.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/7.5, allocations: 0 / 3.662 GB, free: 164.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/7.5, allocations: 11.98 kB / 3.662 GB, free: 164.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007699/7.507, allocations: 4.038 MB / 3.666 GB, free: 160 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.391e-06/7.507, allocations: 4.234 kB / 3.666 GB, free: 160 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008666/7.508, allocations: 203.7 kB / 3.666 GB, free: 159.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003172/7.509, allocations: 120.8 kB / 3.666 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.417e-05/7.509, allocations: 27.97 kB / 3.666 GB, free: 159.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009319/7.51, allocations: 1.279 MB / 3.667 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/7.51, allocations: 4 kB / 3.667 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004771/7.514, allocations: 2.329 MB / 3.67 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/7.516, allocations: 0.5843 MB / 3.67 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002956/7.516, allocations: 15.92 kB / 3.67 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/7.517, allocations: 107.9 kB / 3.67 GB, free: 155.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/7.517, allocations: 52.39 kB / 3.67 GB, free: 155.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/7.517, allocations: 91.95 kB / 3.67 GB, free: 155 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002034/7.52, allocations: 1.786 MB / 3.672 GB, free: 153.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/7.52, allocations: 0 / 3.672 GB, free: 153.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002987/7.523, allocations: 0.9479 MB / 3.673 GB, free: 152.2 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.002417/7.525, allocations: 1.772 MB / 3.675 GB, free: 150.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004673/7.53, allocations: 4.971 MB / 3.68 GB, free: 145.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/7.53, allocations: 4.438 kB / 3.68 GB, free: 145.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007941/7.53, allocations: 0.6423 MB / 3.68 GB, free: 145 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002959/7.533, allocations: 365.7 kB / 3.681 GB, free: 144.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003627/7.537, allocations: 2.259 MB / 3.683 GB, free: 142.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007116/7.538, allocations: 1.364 MB / 3.684 GB, free: 140.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003517/7.541, allocations: 0.9156 MB / 3.685 GB, free: 140 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002837/7.542, allocations: 107.4 kB / 3.685 GB, free: 139.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.233e-06/7.542, allocations: 4 kB / 3.685 GB, free: 139.9 MB / 0.948 GB Notification: Performance of Templates: time 0.05014/7.592, allocations: 36.67 MB / 3.721 GB, free: 103.4 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)