Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Actuators.Dampers.Examples.Damper.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Actuators.Dampers.Examples.Damper") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.351/4.351, allocations: 0.5623 GB / 0.5769 GB, free: 66.93 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004482/0.004481, allocations: 357.6 kB / 0.644 GB, free: 21.61 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.925/3.925, allocations: 410.7 MB / 1.112 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001785/0.001784, allocations: 194.7 kB / 1.225 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0004772/0.0004774, allocations: 12.62 kB / 1.348 GB, free: 320.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1568, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.Damper): time 0.1602/0.317, allocations: 164.1 MB / 1.621 GB, free: 56.35 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01441/0.3314, allocations: 8.71 MB / 1.629 GB, free: 47.62 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001299/0.3328, allocations: 31.75 kB / 1.63 GB, free: 47.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001451/0.3342, allocations: 492.9 kB / 1.63 GB, free: 47.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.004746/0.339, allocations: 1.654 MB / 1.632 GB, free: 45.44 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.008251/0.3473, allocations: 2.822 MB / 1.634 GB, free: 42.68 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.003037/0.3503, allocations: 2.75 MB / 1.637 GB, free: 39.92 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001057/0.3514, allocations: 0.8089 MB / 1.638 GB, free: 39.09 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0019/0.3533, allocations: 1.07 MB / 1.639 GB, free: 38.02 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001281/0.3547, allocations: 0.9964 MB / 1.64 GB, free: 37.02 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0002447/0.3549, allocations: 72 kB / 1.64 GB, free: 36.95 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002685/0.3576, allocations: 1.243 MB / 1.641 GB, free: 35.7 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0006641/0.3583, allocations: 0.6465 MB / 1.642 GB, free: 35.05 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0004465/0.3588, allocations: 312.7 kB / 1.642 GB, free: 34.74 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.002514/0.3613, allocations: 2.128 MB / 1.644 GB, free: 32.61 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.073e-06/0.3613, allocations: 0 / 1.644 GB, free: 32.61 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3613, allocations: 0 / 1.644 GB, free: 32.61 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.961e-05/0.3614, allocations: 4 kB / 1.644 GB, free: 32.61 MB / 0.8073 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.005835/0.3672, allocations: 2.273 MB / 1.646 GB, free: 30.28 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.3673, allocations: 10.97 kB / 1.646 GB, free: 30.27 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002769/0.3701, allocations: 457.1 kB / 1.647 GB, free: 29.82 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004048/0.3741, allocations: 1.971 MB / 1.649 GB, free: 27.8 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.344e-05/0.3743, allocations: 73.3 kB / 1.649 GB, free: 27.73 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/0.3745, allocations: 100 kB / 1.649 GB, free: 27.63 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002503/0.377, allocations: 1.268 MB / 1.65 GB, free: 26.29 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3e-05/0.377, allocations: 0 / 1.65 GB, free: 26.29 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.833e-05/0.3771, allocations: 28 kB / 1.65 GB, free: 26.27 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.3772, allocations: 16 kB / 1.65 GB, free: 26.25 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003211/0.3804, allocations: 1.477 MB / 1.652 GB, free: 24.77 MB / 0.8073 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.007921/0.3884, allocations: 5.204 MB / 1.657 GB, free: 19.38 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002943/0.3913, allocations: 1.306 MB / 1.658 GB, free: 18.06 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/0.3928, allocations: 0.6739 MB / 1.659 GB, free: 17.39 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004153/0.3932, allocations: 450 kB / 1.659 GB, free: 16.86 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.3932, allocations: 39.12 kB / 1.659 GB, free: 16.81 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=57): time 4.087e-06/0.3932, allocations: 4 kB / 1.659 GB, free: 16.81 MB / 0.8073 GB Notification: Performance of matching and sorting (n=57): time 0.00571/0.399, allocations: 2.311 MB / 1.661 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.399, allocations: 59.97 kB / 1.661 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005171/0.4042, allocations: 3.076 MB / 1.664 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001993/0.4045, allocations: 49.7 kB / 1.664 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005671/0.405, allocations: 0.6989 MB / 1.665 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/0.4052, allocations: 193.2 kB / 1.665 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.351e-05/0.4053, allocations: 20 kB / 1.665 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.4054, allocations: 381.8 kB / 1.666 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002784/0.4082, allocations: 2.022 MB / 1.668 GB, free: 7.914 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003201/0.4115, allocations: 2.478 MB / 1.67 GB, free: 5.27 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002971/0.4145, allocations: 2.139 MB / 1.672 GB, free: 3.133 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.4145, allocations: 4 kB / 1.672 GB, free: 3.129 MB / 0.8073 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.5198/0.9343, allocations: 4.656 MB / 1.677 GB, free: 216 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001335/0.9345, allocations: 250.9 kB / 1.677 GB, free: 215.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.114e-05/0.9345, allocations: 9.766 kB / 1.677 GB, free: 215.7 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007769/0.9353, allocations: 150.1 kB / 1.677 GB, free: 215.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001818/0.9371, allocations: 278.5 kB / 1.677 GB, free: 215.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/0.9381, allocations: 1.221 MB / 1.679 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002884/0.9411, allocations: 369.5 kB / 1.679 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001874/0.9413, allocations: 54.09 kB / 1.679 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.9413, allocations: 3.906 kB / 1.679 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008544/0.9498, allocations: 4.437 MB / 1.683 GB, free: 214.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.257e-05/0.9499, allocations: 6.406 kB / 1.683 GB, free: 214.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.9499, allocations: 15.91 kB / 1.683 GB, free: 214.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001804/0.9518, allocations: 271.1 kB / 1.684 GB, free: 214.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.428e-05/0.9518, allocations: 11.22 kB / 1.684 GB, free: 214.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003031/0.9549, allocations: 296.1 kB / 1.684 GB, free: 214.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001806/0.9551, allocations: 54.36 kB / 1.684 GB, free: 214.3 MB / 0.8073 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 (121): * Single equations (assignments): 113 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * 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.001072/0.9561, allocations: 0.5042 MB / 1.684 GB, free: 214 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004569/0.9566, allocations: 171.2 kB / 1.685 GB, free: 213.9 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004574/0.9612, allocations: 1.693 MB / 1.686 GB, free: 213.4 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.9612, allocations: 6.094 kB / 1.686 GB, free: 213.4 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.035e-06/0.9613, allocations: 2.281 kB / 1.686 GB, free: 213.4 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.9613, allocations: 7.422 kB / 1.686 GB, free: 213.4 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008015/0.9693, allocations: 3.318 MB / 1.69 GB, free: 212.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.896e-06/0.9694, allocations: 3.719 kB / 1.69 GB, free: 212.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001246/0.9706, allocations: 178.9 kB / 1.69 GB, free: 212.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005651/0.9712, allocations: 139.4 kB / 1.69 GB, free: 212.2 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.43e-05/0.9713, allocations: 23.64 kB / 1.69 GB, free: 212.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000948/0.9723, allocations: 1.225 MB / 1.691 GB, free: 211.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.689e-06/0.9723, allocations: 3.672 kB / 1.691 GB, free: 211.1 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004332/0.9766, allocations: 1.723 MB / 1.693 GB, free: 210.4 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/0.9777, allocations: 451.7 kB / 1.693 GB, free: 210.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003388/0.9781, allocations: 18.03 kB / 1.693 GB, free: 210.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002104/0.9802, allocations: 112.7 kB / 1.693 GB, free: 210.1 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.9803, allocations: 52.44 kB / 1.693 GB, free: 210.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-05/0.9805, allocations: 29.78 kB / 1.693 GB, free: 210.1 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.00432/0.9848, allocations: 2.184 MB / 1.696 GB, free: 209.3 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.036e-06/0.9848, allocations: 3.875 kB / 1.696 GB, free: 209.3 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00297/0.9878, allocations: 0.7963 MB / 1.696 GB, free: 209.2 MB / 0.8073 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.001106/0.9889, allocations: 406.1 kB / 1.697 GB, free: 209.1 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01022/0.9992, allocations: 5.819 MB / 1.702 GB, free: 207.3 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.537e-06/0.9992, allocations: 1.25 kB / 1.702 GB, free: 207.3 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001958/1.001, allocations: 0.7527 MB / 1.703 GB, free: 207.2 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003458/1.005, allocations: 0.4966 MB / 1.704 GB, free: 207.1 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005193/1.01, allocations: 3.371 MB / 1.707 GB, free: 205.4 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/1.011, allocations: 1.359 MB / 1.708 GB, free: 204.7 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002789/1.014, allocations: 455.2 kB / 1.709 GB, free: 204.6 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007673/1.015, allocations: 146.2 kB / 1.709 GB, free: 204.6 MB / 0.8073 GB Notification: Performance of SimCode: time 1.579e-06/1.015, allocations: 5.047 kB / 1.709 GB, free: 204.6 MB / 0.8073 GB Notification: Performance of Templates: time 0.0641/1.079, allocations: 31.52 MB / 1.74 GB, free: 176 MB / 0.8073 GB