Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper") translateModel(BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7858/0.7858, allocations: 141.7 MB / 154.3 MB, free: 15.47 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 187.2 kB / 187.3 MB, free: 11.87 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 221.3 MB / 441.4 MB, free: 4.637 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009033/0.0009036, allocations: 92.81 kB / 0.5124 GB, free: 24.14 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002451/0.002451, allocations: 274.9 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.126e-05/4.138e-05, allocations: 4 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4471/0.4471, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.459/4.907, allocations: 1.878 GB / 2.642 GB, free: 169.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/4.907, allocations: 95.91 kB / 2.642 GB, free: 169.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.908/6.815, allocations: 0.5886 GB / 3.231 GB, free: 105.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.693e-06/6.815, allocations: 4 kB / 3.231 GB, free: 105.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001246/6.815, allocations: 35.98 kB / 3.231 GB, free: 105.7 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.004251/6.819, allocations: 2.09 MB / 3.233 GB, free: 103.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/6.819, allocations: 8.031 kB / 3.233 GB, free: 103.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002812/6.822, allocations: 401.2 kB / 3.233 GB, free: 103.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004794/6.827, allocations: 2.185 MB / 3.236 GB, free: 100.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.467e-05/6.827, allocations: 89.31 kB / 3.236 GB, free: 100.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004653/6.827, allocations: 120 kB / 3.236 GB, free: 100.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/6.829, allocations: 1.292 MB / 3.237 GB, free: 99.37 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/6.829, allocations: 0 / 3.237 GB, free: 99.37 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.921e-05/6.829, allocations: 28 kB / 3.237 GB, free: 99.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/6.829, allocations: 16 kB / 3.237 GB, free: 99.33 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/6.831, allocations: 1.465 MB / 3.239 GB, free: 97.86 MB / 0.698 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.01101/6.842, allocations: 7.049 MB / 3.245 GB, free: 90.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/6.844, allocations: 1.341 MB / 3.247 GB, free: 89.26 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007717/6.845, allocations: 0.6544 MB / 3.247 GB, free: 88.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003758/6.845, allocations: 450 kB / 3.248 GB, free: 88.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/6.845, allocations: 43.12 kB / 3.248 GB, free: 88.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=57): time 2.555e-06/6.845, allocations: 3.938 kB / 3.248 GB, free: 88.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=57): time 0.003019/6.848, allocations: 1.553 MB / 3.249 GB, free: 86.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/6.848, allocations: 59.97 kB / 3.249 GB, free: 86.38 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003122/6.851, allocations: 2.634 MB / 3.252 GB, free: 83.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005135/6.852, allocations: 61.7 kB / 3.252 GB, free: 83.64 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00053/6.852, allocations: 0.7041 MB / 3.253 GB, free: 82.92 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/6.853, allocations: 197.1 kB / 3.253 GB, free: 82.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/6.853, allocations: 36 kB / 3.253 GB, free: 82.69 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.708e-05/6.853, allocations: 381.8 kB / 3.253 GB, free: 82.31 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002589/6.856, allocations: 2.061 MB / 3.255 GB, free: 80.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002862/6.858, allocations: 2.535 MB / 3.258 GB, free: 77.54 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002115/6.861, allocations: 1.671 MB / 3.259 GB, free: 75.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/6.861, allocations: 4 kB / 3.259 GB, free: 75.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.006425/6.867, allocations: 4.287 MB / 3.264 GB, free: 71.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003426/6.867, allocations: 2.073 MB / 3.266 GB, free: 69.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/6.867, allocations: 11.94 kB / 3.266 GB, free: 69.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005781/6.868, allocations: 136.8 kB / 3.266 GB, free: 69.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002359/6.87, allocations: 407.4 kB / 3.266 GB, free: 68.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007112/6.871, allocations: 1.216 MB / 3.267 GB, free: 67.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002837/6.874, allocations: 357.2 kB / 3.268 GB, free: 67.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003562/6.874, allocations: 136 kB / 3.268 GB, free: 67 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/6.874, allocations: 5.094 kB / 3.268 GB, free: 67 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005489/6.88, allocations: 4.083 MB / 3.272 GB, free: 62.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/6.88, allocations: 12 kB / 3.272 GB, free: 62.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/6.88, allocations: 12 kB / 3.272 GB, free: 62.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002022/6.882, allocations: 400.1 kB / 3.272 GB, free: 62.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/6.882, allocations: 23.88 kB / 3.272 GB, free: 62.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002637/6.885, allocations: 270.3 kB / 3.273 GB, free: 62.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003472/6.885, allocations: 140 kB / 3.273 GB, free: 62.07 MB / 0.698 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 () * 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.0004591/6.885, allocations: 213.8 kB / 3.273 GB, free: 61.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000426/6.886, allocations: 173.6 kB / 3.273 GB, free: 61.69 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002669/6.889, allocations: 1.786 MB / 3.275 GB, free: 59.89 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/6.889, allocations: 4 kB / 3.275 GB, free: 59.89 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/6.889, allocations: 3.953 kB / 3.275 GB, free: 59.88 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/6.889, allocations: 7.984 kB / 3.275 GB, free: 59.88 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005448/6.894, allocations: 3.693 MB / 3.278 GB, free: 56.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/6.894, allocations: 0 / 3.278 GB, free: 56.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008052/6.895, allocations: 188 kB / 3.279 GB, free: 55.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003459/6.895, allocations: 124.8 kB / 3.279 GB, free: 55.78 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.976e-05/6.895, allocations: 35.97 kB / 3.279 GB, free: 55.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005725/6.896, allocations: 1.212 MB / 3.28 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/6.896, allocations: 0 / 3.28 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002492/6.898, allocations: 1.954 MB / 3.282 GB, free: 52.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001158/6.9, allocations: 0.6114 MB / 3.282 GB, free: 51.77 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003167/6.9, allocations: 12 kB / 3.282 GB, free: 51.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/6.901, allocations: 103.9 kB / 3.283 GB, free: 51.65 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/6.901, allocations: 52.39 kB / 3.283 GB, free: 51.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/6.902, allocations: 87.95 kB / 3.283 GB, free: 51.52 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002402/6.904, allocations: 2.002 MB / 3.285 GB, free: 49.49 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/6.904, allocations: 4 kB / 3.285 GB, free: 49.48 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003468/6.907, allocations: 1.206 MB / 3.286 GB, free: 48.28 MB / 0.698 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.002206/6.91, allocations: 1.596 MB / 3.287 GB, free: 46.63 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007875/6.918, allocations: 5.788 MB / 3.293 GB, free: 40.85 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/6.918, allocations: 0 / 3.293 GB, free: 40.85 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000937/6.919, allocations: 0.6556 MB / 3.294 GB, free: 40.19 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002764/6.921, allocations: 493.8 kB / 3.294 GB, free: 39.71 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003213/6.925, allocations: 2.346 MB / 3.296 GB, free: 37.31 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005949/6.925, allocations: 1.364 MB / 3.298 GB, free: 35.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.005105/6.93, allocations: 1.245 MB / 3.299 GB, free: 34.67 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007663/6.931, allocations: 111.4 kB / 3.299 GB, free: 34.57 MB / 0.698 GB Notification: Performance of SimCode: time 6.81e-07/6.931, allocations: 0 / 3.299 GB, free: 34.57 MB / 0.698 GB Notification: Performance of Templates: time 0.4628/7.394, allocations: 66.96 MB / 3.364 GB, free: 131.4 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)