Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/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_latest_Buildings.Fluid.Actuators.Dampers.Examples.Damper") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.625/1.625, allocations: 297.8 MB / 313.7 MB, free: 140 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001007/0.001008, allocations: 176.5 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 223.2 MB / 0.6626 GB, free: 4.242 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007706/0.0007709, allocations: 94.11 kB / 0.7808 GB, free: 50.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000399/0.0003993, allocations: 19.98 kB / 0.9088 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6648/0.6652, allocations: 120.3 MB / 1.026 GB, free: 55.89 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.944/4.609, allocations: 1.91 GB / 2.936 GB, free: 286.5 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003658/4.609, allocations: 99 kB / 2.936 GB, free: 286.5 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 1.749/6.358, allocations: 0.5868 GB / 3.523 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.014e-06/6.358, allocations: 0 / 3.523 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0002571/6.358, allocations: 32 kB / 3.523 GB, free: 101.6 MB / 0.9792 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.01044/6.369, allocations: 2.789 MB / 3.525 GB, free: 98.76 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/6.369, allocations: 12.03 kB / 3.525 GB, free: 98.75 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00413/6.373, allocations: 398.1 kB / 3.526 GB, free: 98.36 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005771/6.379, allocations: 2.286 MB / 3.528 GB, free: 96 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/6.379, allocations: 85.69 kB / 3.528 GB, free: 95.92 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009829/6.38, allocations: 132.4 kB / 3.528 GB, free: 95.79 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002721/6.383, allocations: 1.362 MB / 3.53 GB, free: 94.36 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/6.383, allocations: 7.938 kB / 3.53 GB, free: 94.35 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/6.383, allocations: 24 kB / 3.53 GB, free: 94.32 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/6.383, allocations: 24 kB / 3.53 GB, free: 94.3 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002601/6.386, allocations: 1.593 MB / 3.531 GB, free: 92.71 MB / 0.9792 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.01452/6.4, allocations: 7.051 MB / 3.538 GB, free: 85.46 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002551/6.403, allocations: 1.427 MB / 3.54 GB, free: 84.03 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/6.404, allocations: 0.7245 MB / 3.54 GB, free: 83.3 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004069/6.404, allocations: 450 kB / 3.541 GB, free: 82.77 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/6.404, allocations: 39.12 kB / 3.541 GB, free: 82.72 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=57): time 2.836e-06/6.404, allocations: 0 / 3.541 GB, free: 82.72 MB / 0.9792 GB Notification: Performance of matching and sorting (n=57): time 0.006059/6.41, allocations: 2.506 MB / 3.543 GB, free: 80.19 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/6.41, allocations: 59.97 kB / 3.543 GB, free: 80.12 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005373/6.416, allocations: 2.928 MB / 3.546 GB, free: 77.15 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0009736/6.417, allocations: 65.7 kB / 3.546 GB, free: 77.08 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001281/6.418, allocations: 0.7037 MB / 3.547 GB, free: 76.36 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/6.418, allocations: 197.1 kB / 3.547 GB, free: 76.17 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006099/6.419, allocations: 28 kB / 3.547 GB, free: 76.14 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001459/6.419, allocations: 385.8 kB / 3.547 GB, free: 75.76 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003809/6.423, allocations: 2.143 MB / 3.549 GB, free: 73.61 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004112/6.427, allocations: 2.625 MB / 3.552 GB, free: 70.81 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005035/6.432, allocations: 3.007 MB / 3.555 GB, free: 67.74 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/6.432, allocations: 4 kB / 3.555 GB, free: 67.73 MB / 0.9792 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.01026/6.442, allocations: 4.462 MB / 3.559 GB, free: 63.26 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001378/6.443, allocations: 247.2 kB / 3.56 GB, free: 62.94 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/6.443, allocations: 4 kB / 3.56 GB, free: 62.94 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006289/6.443, allocations: 160.7 kB / 3.56 GB, free: 62.78 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002491/6.446, allocations: 411.4 kB / 3.56 GB, free: 62.38 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008271/6.447, allocations: 1.224 MB / 3.561 GB, free: 61.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003468/6.45, allocations: 353.5 kB / 3.562 GB, free: 60.75 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006744/6.451, allocations: 143.9 kB / 3.562 GB, free: 60.61 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/6.451, allocations: 4 kB / 3.562 GB, free: 60.61 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008051/6.459, allocations: 4.243 MB / 3.566 GB, free: 56.36 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/6.459, allocations: 4 kB / 3.566 GB, free: 56.36 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/6.459, allocations: 12.19 kB / 3.566 GB, free: 56.35 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002138/6.461, allocations: 407.8 kB / 3.566 GB, free: 55.95 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.199e-05/6.461, allocations: 12 kB / 3.566 GB, free: 55.94 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003139/6.464, allocations: 282.4 kB / 3.567 GB, free: 55.66 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004967/6.465, allocations: 136 kB / 3.567 GB, free: 55.53 MB / 0.9792 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.001323/6.466, allocations: 0.5219 MB / 3.567 GB, free: 55 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009118/6.467, allocations: 173.6 kB / 3.567 GB, free: 54.82 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003669/6.471, allocations: 1.909 MB / 3.569 GB, free: 52.91 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/6.471, allocations: 11.94 kB / 3.569 GB, free: 52.9 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.902e-06/6.471, allocations: 0 / 3.569 GB, free: 52.9 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/6.471, allocations: 3.984 kB / 3.569 GB, free: 52.89 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007926/6.479, allocations: 3.834 MB / 3.573 GB, free: 48.96 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.006e-06/6.479, allocations: 4 kB / 3.573 GB, free: 48.96 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008153/6.48, allocations: 180 kB / 3.573 GB, free: 48.78 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000397/6.48, allocations: 136.7 kB / 3.573 GB, free: 48.64 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.95e-05/6.48, allocations: 39.97 kB / 3.573 GB, free: 48.61 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007221/6.481, allocations: 1.228 MB / 3.575 GB, free: 47.33 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/6.481, allocations: 3.938 kB / 3.575 GB, free: 47.32 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003681/6.485, allocations: 1.91 MB / 3.576 GB, free: 45.36 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001725/6.486, allocations: 0.6075 MB / 3.577 GB, free: 44.73 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009407/6.487, allocations: 12 kB / 3.577 GB, free: 44.72 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00202/6.489, allocations: 95.88 kB / 3.577 GB, free: 44.63 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/6.49, allocations: 64.36 kB / 3.577 GB, free: 44.57 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/6.49, allocations: 83.97 kB / 3.577 GB, free: 44.48 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.003847/6.494, allocations: 2.055 MB / 3.579 GB, free: 42.41 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.6e-07/6.494, allocations: 0 / 3.579 GB, free: 42.41 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.006513/6.5, allocations: 1.202 MB / 3.58 GB, free: 41.21 MB / 0.9792 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.003558/6.504, allocations: 1.603 MB / 3.582 GB, free: 39.56 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01156/6.515, allocations: 5.955 MB / 3.588 GB, free: 33.61 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/6.515, allocations: 0 / 3.588 GB, free: 33.61 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001347/6.517, allocations: 0.7182 MB / 3.589 GB, free: 32.89 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004794/6.521, allocations: 0.5103 MB / 3.589 GB, free: 32.38 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005624/6.527, allocations: 3.364 MB / 3.592 GB, free: 28.96 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/6.528, allocations: 1.334 MB / 3.594 GB, free: 27.6 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.006386/6.535, allocations: 0.8688 MB / 3.595 GB, free: 26.73 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00216/6.537, allocations: 187.3 kB / 3.595 GB, free: 26.55 MB / 0.9792 GB Notification: Performance of SimCode: time 1.462e-06/6.537, allocations: 3.938 kB / 3.595 GB, free: 26.55 MB / 0.9792 GB Notification: Performance of Templates: time 0.62/7.157, allocations: 62.52 MB / 3.656 GB, free: 178.4 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.Damper.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)