Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.409/1.409, allocations: 251.5 MB / 267.4 MB, free: 11.13 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 180.8 kB / 326.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 205 MB / 0.5767 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008721/0.0008717, allocations: 91.78 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003548, allocations: 8.719 kB / 0.7938 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2167, allocations: 105.4 MB / 0.8968 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.Damper): time 0.6477/0.8644, allocations: 179.9 MB / 1.072 GB, free: 1.855 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01423/0.8787, allocations: 9.41 MB / 1.082 GB, free: 1.625 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001331/0.8801, allocations: 37.55 kB / 1.082 GB, free: 1.621 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.8812, allocations: 390.1 kB / 1.082 GB, free: 1.617 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003799/0.885, allocations: 1.446 MB / 1.083 GB, free: 1.543 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005101/0.8901, allocations: 1.829 MB / 1.085 GB, free: 1.473 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003669/0.8938, allocations: 3.205 MB / 1.088 GB, free: 1.465 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.8948, allocations: 0.8527 MB / 1.089 GB, free: 1.379 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001516/0.8964, allocations: 1.004 MB / 1.09 GB, free: 1.375 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001156/0.8975, allocations: 1.044 MB / 1.091 GB, free: 1.363 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002115/0.8978, allocations: 72.5 kB / 1.091 GB, free: 1.363 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003367/0.9011, allocations: 1.796 MB / 1.093 GB, free: 1.348 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005094/0.9017, allocations: 0.6627 MB / 1.094 GB, free: 1.34 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000773/0.9024, allocations: 0.8754 MB / 1.095 GB, free: 1.34 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003329/0.9058, allocations: 2.871 MB / 1.097 GB, free: 1.164 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.9058, allocations: 4 kB / 1.097 GB, free: 1.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9058, allocations: 0 / 1.097 GB, free: 1.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.314e-05/0.9058, allocations: 3.781 kB / 1.097 GB, free: 1.16 MB / 0.698 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.004934/0.9108, allocations: 2.256 MB / 1.1 GB, free: 16.01 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.9108, allocations: 8.188 kB / 1.1 GB, free: 16.01 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002202/0.913, allocations: 453.8 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0029/0.916, allocations: 2.022 MB / 1.102 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.044e-05/0.9161, allocations: 72.56 kB / 1.102 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.9162, allocations: 92.84 kB / 1.102 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002144/0.9184, allocations: 1.272 MB / 1.103 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.9184, allocations: 7.922 kB / 1.103 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.048e-05/0.9185, allocations: 30.28 kB / 1.103 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.9185, allocations: 20.75 kB / 1.103 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002534/0.921, allocations: 1.475 MB / 1.105 GB, free: 15.22 MB / 0.7136 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.006068/0.9271, allocations: 5.217 MB / 1.11 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002153/0.9293, allocations: 1.318 MB / 1.111 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001/0.9303, allocations: 0.6779 MB / 1.112 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004725/0.9308, allocations: 449.3 kB / 1.112 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.9308, allocations: 42.22 kB / 1.112 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=57): time 3.066e-06/0.9308, allocations: 0 / 1.112 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=57): time 0.004538/0.9354, allocations: 2.317 MB / 1.115 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.9354, allocations: 57.75 kB / 1.115 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005284/0.9407, allocations: 3.095 MB / 1.118 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001995/0.9409, allocations: 52.75 kB / 1.118 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004801/0.9414, allocations: 0.692 MB / 1.118 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/0.9416, allocations: 199.5 kB / 1.119 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/0.9419, allocations: 194.3 kB / 1.119 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.821e-05/0.942, allocations: 309.1 kB / 1.119 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002107/0.9441, allocations: 2.03 MB / 1.121 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002622/0.9467, allocations: 2.488 MB / 1.124 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004122/0.9508, allocations: 3.658 MB / 1.127 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.9509, allocations: 0 / 1.127 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.005974/0.9568, allocations: 4.694 MB / 1.132 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002067/0.9571, allocations: 247.9 kB / 1.132 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.583e-05/0.9571, allocations: 9.234 kB / 1.132 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006579/0.9578, allocations: 164.5 kB / 1.132 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.9589, allocations: 270.6 kB / 1.132 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008941/0.9598, allocations: 1.221 MB / 1.134 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002657/0.9625, allocations: 366.9 kB / 1.134 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.9626, allocations: 49.05 kB / 1.134 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.465e-06/0.9626, allocations: 6.094 kB / 1.134 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005374/0.968, allocations: 4.454 MB / 1.138 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.968, allocations: 9.594 kB / 1.138 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.968, allocations: 16.38 kB / 1.138 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.969, allocations: 269.5 kB / 1.139 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/0.9691, allocations: 16.2 kB / 1.139 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/0.9713, allocations: 291 kB / 1.139 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.312e-05/0.9714, allocations: 49.72 kB / 1.139 GB, free: 7.562 MB / 0.7136 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 (preInd.idx_sorted[13],preInd.idx_sorted[12],preInd.idx_sorted[11],preInd.idx_sorted[10],preInd.idx_sorted[9],preInd.idx_sorted[8],preInd.idx_sorted[7],preInd.idx_sorted[6],preInd.idx_sorted[5],preInd.idx_sorted[4],preInd.idx_sorted[3],preInd.idx_sorted[2],preInd.idx_sorted[1],preIndFrom_dp.idx_sorted[13],preIndFrom_dp.idx_sorted[12],preIndFrom_dp.idx_sorted[11],preIndFrom_dp.idx_sorted[10],preIndFrom_dp.idx_sorted[9],preIndFrom_dp.idx_sorted[8],preIndFrom_dp.idx_sorted[7],preIndFrom_dp.idx_sorted[6],preIndFrom_dp.idx_sorted[5],preIndFrom_dp.idx_sorted[4],preIndFrom_dp.idx_sorted[3],preIndFrom_dp.idx_sorted[2],preIndFrom_dp.idx_sorted[1],preIndDpFixed_nominal.idx_sorted[13],preIndDpFixed_nominal.idx_sorted[12],preIndDpFixed_nominal.idx_sorted[11],preIndDpFixed_nominal.idx_sorted[10],preIndDpFixed_nominal.idx_sorted[9],preIndDpFixed_nominal.idx_sorted[8],preIndDpFixed_nominal.idx_sorted[7],preIndDpFixed_nominal.idx_sorted[6],preIndDpFixed_nominal.idx_sorted[5],preIndDpFixed_nominal.idx_sorted[4],preIndDpFixed_nominal.idx_sorted[3],preIndDpFixed_nominal.idx_sorted[2],preIndDpFixed_nominal.idx_sorted[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 112 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0008667/0.9723, allocations: 0.5009 MB / 1.139 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006549/0.973, allocations: 169.9 kB / 1.14 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003419/0.9764, allocations: 1.698 MB / 1.141 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.9764, allocations: 7.984 kB / 1.141 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.9764, allocations: 0 / 1.141 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/0.9775, allocations: 438.3 kB / 1.142 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000538/0.9781, allocations: 12 kB / 1.142 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001667/0.9798, allocations: 119.7 kB / 1.142 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.9799, allocations: 40.5 kB / 1.142 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00328/0.9832, allocations: 1.632 MB / 1.143 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004249/0.9874, allocations: 2.622 MB / 1.146 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001119/0.9886, allocations: 0.6602 MB / 1.147 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003358/0.9919, allocations: 2.207 MB / 1.149 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of Backend: time 3.8e-07/0.9919, allocations: 0 / 1.149 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00867/1.001, allocations: 5.643 MB / 1.154 GB, free: 8.672 MB / 0.7292 GB Notification: Performance of SimCode: time 0.00665/1.007, allocations: 3.845 MB / 1.158 GB, free: 4.785 MB / 0.7292 GB Notification: Performance of Templates: time 0.06398/1.071, allocations: 38.54 MB / 1.196 GB, free: 14.61 MB / 0.7761 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)