Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.645/2.645, allocations: 287.5 MB / 303.2 MB, free: 8.23 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.001454/0.001453, allocations: 184.7 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.1/2.1, allocations: 205.4 MB / 0.6305 GB, free: 10.59 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.00093/0.0009299, allocations: 85.06 kB / 0.7438 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000502/0.0005022, allocations: 11.55 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2232, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.682/6.905, allocations: 2.086 GB / 3.065 GB, free: 233.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003432/6.906, allocations: 99.94 kB / 3.065 GB, free: 233.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.551/9.457, allocations: 0.5766 GB / 3.642 GB, free: 12.21 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.864e-06/9.457, allocations: 3.938 kB / 3.642 GB, free: 12.21 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001655/9.457, allocations: 36 kB / 3.642 GB, free: 12.17 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.009108/9.466, allocations: 2.507 MB / 3.644 GB, free: 9.602 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/9.466, allocations: 12.03 kB / 3.644 GB, free: 9.59 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005123/9.471, allocations: 0.4902 MB / 3.645 GB, free: 9.098 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005775/9.477, allocations: 2.111 MB / 3.647 GB, free: 6.941 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.355e-05/9.477, allocations: 85.69 kB / 3.647 GB, free: 6.859 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003091/9.478, allocations: 128.4 kB / 3.647 GB, free: 6.734 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003601/9.481, allocations: 1.405 MB / 3.648 GB, free: 5.258 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/9.481, allocations: 0 / 3.648 GB, free: 5.258 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001362/9.482, allocations: 35.94 kB / 3.648 GB, free: 5.223 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/9.482, allocations: 16 kB / 3.648 GB, free: 5.207 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005076/9.487, allocations: 1.675 MB / 3.65 GB, free: 3.531 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.7376/10.22, allocations: 5.832 MB / 3.656 GB, free: 198.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009633/10.23, allocations: 1.512 MB / 3.657 GB, free: 198.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004582/10.24, allocations: 0.7533 MB / 3.658 GB, free: 198.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008934/10.24, allocations: 454.3 kB / 3.658 GB, free: 198.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/10.24, allocations: 39.8 kB / 3.658 GB, free: 198.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 5.47e-06/10.24, allocations: 0 / 3.658 GB, free: 198.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.01358/10.25, allocations: 2.618 MB / 3.661 GB, free: 198.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/10.25, allocations: 59.31 kB / 3.661 GB, free: 198.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009031/10.26, allocations: 2.91 MB / 3.664 GB, free: 198 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004699/10.26, allocations: 61.27 kB / 3.664 GB, free: 197.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001048/10.26, allocations: 0.7213 MB / 3.665 GB, free: 197.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004038/10.26, allocations: 199 kB / 3.665 GB, free: 197.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/10.26, allocations: 31.06 kB / 3.665 GB, free: 197.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001751/10.26, allocations: 382.4 kB / 3.665 GB, free: 197.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004934/10.27, allocations: 1.722 MB / 3.667 GB, free: 197.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005523/10.28, allocations: 2.197 MB / 3.669 GB, free: 196.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008904/10.28, allocations: 3.263 MB / 3.672 GB, free: 196.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.009e-05/10.28, allocations: 1.969 kB / 3.672 GB, free: 196.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.01191/10.3, allocations: 4.178 MB / 3.676 GB, free: 196.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001815/10.3, allocations: 256 kB / 3.676 GB, free: 196.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/10.3, allocations: 3.688 kB / 3.676 GB, free: 196.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009441/10.3, allocations: 165.1 kB / 3.677 GB, free: 196.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003527/10.3, allocations: 429.6 kB / 3.677 GB, free: 196.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/10.3, allocations: 1.218 MB / 3.678 GB, free: 195.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00475/10.31, allocations: 372.8 kB / 3.679 GB, free: 195 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006111/10.31, allocations: 142.1 kB / 3.679 GB, free: 195 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/10.31, allocations: 3.938 kB / 3.679 GB, free: 195 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0101/10.32, allocations: 3.963 MB / 3.683 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/10.32, allocations: 3.938 kB / 3.683 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/10.32, allocations: 10.75 kB / 3.683 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003117/10.32, allocations: 417.6 kB / 3.683 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-05/10.32, allocations: 15.44 kB / 3.683 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004318/10.33, allocations: 299.8 kB / 3.683 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005818/10.33, allocations: 139.6 kB / 3.683 GB, free: 194.8 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.001397/10.33, allocations: 0.5236 MB / 3.684 GB, free: 194.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008605/10.33, allocations: 166.7 kB / 3.684 GB, free: 194.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006911/10.34, allocations: 1.988 MB / 3.686 GB, free: 194.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/10.34, allocations: 5.562 kB / 3.686 GB, free: 194.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/10.34, allocations: 4.328 kB / 3.686 GB, free: 194.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/10.34, allocations: 7.453 kB / 3.686 GB, free: 194.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01413/10.35, allocations: 3.93 MB / 3.69 GB, free: 194 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/10.35, allocations: 3.125 kB / 3.69 GB, free: 194 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001837/10.35, allocations: 200.4 kB / 3.69 GB, free: 194 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007117/10.35, allocations: 130.4 kB / 3.69 GB, free: 194 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002337/10.35, allocations: 42.72 kB / 3.69 GB, free: 194 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/10.35, allocations: 1.224 MB / 3.691 GB, free: 192.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/10.35, allocations: 5.844 kB / 3.691 GB, free: 192.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007296/10.36, allocations: 1.992 MB / 3.693 GB, free: 192.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002401/10.36, allocations: 0.5937 MB / 3.694 GB, free: 192.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008909/10.36, allocations: 12.69 kB / 3.694 GB, free: 192.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003292/10.37, allocations: 119.2 kB / 3.694 GB, free: 192.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002641/10.37, allocations: 49.5 kB / 3.694 GB, free: 192.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002727/10.37, allocations: 85.2 kB / 3.694 GB, free: 192.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006281/10.37, allocations: 2.049 MB / 3.696 GB, free: 192.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.51e-07/10.37, allocations: 0 / 3.696 GB, free: 192.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005748/10.38, allocations: 1.04 MB / 3.697 GB, free: 192.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 () * 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.003981/10.38, allocations: 1.615 MB / 3.699 GB, free: 191.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01284/10.4, allocations: 5.36 MB / 3.704 GB, free: 191.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/10.4, allocations: 0 / 3.704 GB, free: 191.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002628/10.4, allocations: 0.7506 MB / 3.705 GB, free: 191.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006695/10.41, allocations: 0.509 MB / 3.705 GB, free: 191.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007768/10.41, allocations: 3.374 MB / 3.709 GB, free: 190.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/10.42, allocations: 1.319 MB / 3.71 GB, free: 189.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004098/10.42, allocations: 0.6262 MB / 3.71 GB, free: 189.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001264/10.42, allocations: 180.1 kB / 3.711 GB, free: 189.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.052e-06/10.42, allocations: 0 / 3.711 GB, free: 189.8 MB / 0.948 GB Notification: Performance of Templates: time 0.1161/10.54, allocations: 50.23 MB / 3.76 GB, free: 188.7 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)