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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.566/1.566, allocations: 289.9 MB / 297.4 MB, free: 6.367 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.00107/0.00107, allocations: 176.9 kB / 366.7 MB, free: 1.668 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.389/1.389, allocations: 205.2 MB / 0.626 GB, free: 7.191 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.0008778/0.0008779, allocations: 96.27 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.286e-05/1.288e-05, allocations: 0 / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.645/0.645, allocations: 116.3 MB / 0.9732 GB, free: 76.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.418/5.063, allocations: 2.086 GB / 3.059 GB, free: 43.07 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/5.063, allocations: 89.23 kB / 3.059 GB, free: 42.98 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.145/7.208, allocations: 0.5707 GB / 3.63 GB, free: 206.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.553e-06/7.208, allocations: 0 / 3.63 GB, free: 206.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001081/7.209, allocations: 40.16 kB / 3.63 GB, free: 206.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.003388/7.212, allocations: 1.823 MB / 3.632 GB, free: 205.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/7.212, allocations: 8.031 kB / 3.632 GB, free: 205.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002905/7.215, allocations: 0.4987 MB / 3.632 GB, free: 205 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002783/7.218, allocations: 2.004 MB / 3.634 GB, free: 203 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/7.218, allocations: 20 kB / 3.634 GB, free: 202.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/7.218, allocations: 76 kB / 3.634 GB, free: 202.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001724/7.22, allocations: 1.408 MB / 3.636 GB, free: 201.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/7.221, allocations: 1.194 MB / 3.637 GB, free: 200.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/7.221, allocations: 7.125 kB / 3.637 GB, free: 200.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.505e-05/7.221, allocations: 3.953 kB / 3.637 GB, free: 200.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/7.221, allocations: 16 kB / 3.637 GB, free: 200.2 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.006312/7.228, allocations: 5.622 MB / 3.642 GB, free: 194.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002655/7.23, allocations: 1.484 MB / 3.644 GB, free: 193 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007051/7.231, allocations: 0.6591 MB / 3.644 GB, free: 192.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003752/7.231, allocations: 453.4 kB / 3.645 GB, free: 191.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/7.231, allocations: 39.12 kB / 3.645 GB, free: 191.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 3.136e-06/7.231, allocations: 0 / 3.645 GB, free: 191.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.005294/7.237, allocations: 1.992 MB / 3.647 GB, free: 189.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/7.237, allocations: 59.97 kB / 3.647 GB, free: 189.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002928/7.24, allocations: 2.396 MB / 3.649 GB, free: 187.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002216/7.24, allocations: 29.64 kB / 3.649 GB, free: 187.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004186/7.24, allocations: 0.7034 MB / 3.65 GB, free: 186.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000157/7.24, allocations: 185.2 kB / 3.65 GB, free: 186.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.444e-05/7.241, allocations: 3.938 kB / 3.65 GB, free: 186.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.225e-05/7.241, allocations: 381.9 kB / 3.65 GB, free: 185.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/7.242, allocations: 1.574 MB / 3.652 GB, free: 184.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002077/7.245, allocations: 2.039 MB / 3.654 GB, free: 182.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004758/7.249, allocations: 2.165 MB / 3.656 GB, free: 179.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/7.249, allocations: 4 kB / 3.656 GB, free: 179.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.006674/7.256, allocations: 4.26 MB / 3.66 GB, free: 175.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003489/7.256, allocations: 2.069 MB / 3.662 GB, free: 173.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/7.256, allocations: 8 kB / 3.662 GB, free: 173.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003776/7.257, allocations: 108.5 kB / 3.662 GB, free: 173.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/7.258, allocations: 411 kB / 3.663 GB, free: 173 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009369/7.259, allocations: 1.279 MB / 3.664 GB, free: 171.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002881/7.262, allocations: 309.5 kB / 3.664 GB, free: 171.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002119/7.262, allocations: 140 kB / 3.664 GB, free: 171.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/7.262, allocations: 4.625 kB / 3.664 GB, free: 171.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00593/7.268, allocations: 4.026 MB / 3.668 GB, free: 167.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/7.268, allocations: 8 kB / 3.668 GB, free: 167.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/7.268, allocations: 12 kB / 3.668 GB, free: 167.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/7.27, allocations: 419.5 kB / 3.669 GB, free: 166.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/7.27, allocations: 15.94 kB / 3.669 GB, free: 166.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002376/7.272, allocations: 246.4 kB / 3.669 GB, free: 166.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001905/7.272, allocations: 144 kB / 3.669 GB, free: 166.3 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.000378/7.273, allocations: 169.8 kB / 3.669 GB, free: 166.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003398/7.273, allocations: 157.8 kB / 3.67 GB, free: 166 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004558/7.278, allocations: 2.151 MB / 3.672 GB, free: 163.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.587e-06/7.278, allocations: 11.98 kB / 3.672 GB, free: 163.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/7.278, allocations: 0 / 3.672 GB, free: 163.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/7.278, allocations: 0 / 3.672 GB, free: 163.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00708/7.285, allocations: 4.046 MB / 3.676 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/7.285, allocations: 0 / 3.676 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008581/7.286, allocations: 203.9 kB / 3.676 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003121/7.286, allocations: 120.5 kB / 3.676 GB, free: 159.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.119e-05/7.286, allocations: 31.98 kB / 3.676 GB, free: 159.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000884/7.287, allocations: 1.271 MB / 3.677 GB, free: 158 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/7.287, allocations: 7.984 kB / 3.677 GB, free: 158 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004296/7.291, allocations: 2.329 MB / 3.679 GB, free: 155.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008602/7.292, allocations: 0.5881 MB / 3.68 GB, free: 155 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002991/7.293, allocations: 8 kB / 3.68 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/7.294, allocations: 103.9 kB / 3.68 GB, free: 154.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.697e-05/7.294, allocations: 60.44 kB / 3.68 GB, free: 154.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/7.294, allocations: 87.97 kB / 3.68 GB, free: 154.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001906/7.296, allocations: 1.786 MB / 3.682 GB, free: 152.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/7.296, allocations: 0 / 3.682 GB, free: 152.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002628/7.299, allocations: 0.9548 MB / 3.683 GB, free: 151.9 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.002135/7.301, allocations: 1.772 MB / 3.685 GB, free: 150.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004264/7.305, allocations: 4.975 MB / 3.69 GB, free: 145.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/7.305, allocations: 0 / 3.69 GB, free: 145.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000743/7.306, allocations: 0.6399 MB / 3.69 GB, free: 144.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001998/7.308, allocations: 354.5 kB / 3.691 GB, free: 144.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/7.311, allocations: 2.271 MB / 3.693 GB, free: 142.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000634/7.311, allocations: 1.364 MB / 3.694 GB, free: 140.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003023/7.314, allocations: 0.9186 MB / 3.695 GB, free: 139.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002859/7.315, allocations: 107.4 kB / 3.695 GB, free: 139.6 MB / 0.948 GB Notification: Performance of SimCode: time 4.11e-07/7.315, allocations: 0 / 3.695 GB, free: 139.6 MB / 0.948 GB Notification: Performance of Templates: time 0.0486/7.363, allocations: 36.7 MB / 3.731 GB, free: 103.2 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)