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.8235/0.8235, allocations: 143.4 MB / 158.3 MB, free: 5.793 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 180 kB / 191.5 MB, free: 5.777 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.34/1.34, allocations: 223.2 MB / 447.7 MB, free: 4.84 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.0008736/0.0008736, allocations: 92.25 kB / 0.5188 GB, free: 1.195 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001635/0.001635, allocations: 270.5 kB / 0.6005 GB, free: 48.78 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004369/0.0004369, allocations: 11.72 kB / 0.6929 GB, free: 59.67 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1482, allocations: 82.8 MB / 0.7737 GB, free: 13.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.243/4.391, allocations: 1.878 GB / 2.652 GB, free: 149.4 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/4.391, allocations: 96.58 kB / 2.652 GB, free: 149.3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.786/6.177, allocations: 0.5891 GB / 3.241 GB, free: 131.6 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.563e-06/6.177, allocations: 0 / 3.241 GB, free: 131.6 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001109/6.177, allocations: 39.98 kB / 3.241 GB, free: 131.6 MB / 0.7136 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.007228/6.185, allocations: 2.797 MB / 3.244 GB, free: 128.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/6.185, allocations: 12.03 kB / 3.244 GB, free: 128.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003117/6.188, allocations: 397.2 kB / 3.244 GB, free: 128.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003783/6.192, allocations: 2.228 MB / 3.246 GB, free: 126 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.403e-05/6.192, allocations: 89.31 kB / 3.246 GB, free: 125.9 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003385/6.192, allocations: 124 kB / 3.247 GB, free: 125.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/6.194, allocations: 1.358 MB / 3.248 GB, free: 124.4 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/6.194, allocations: 0 / 3.248 GB, free: 124.4 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-05/6.194, allocations: 28 kB / 3.248 GB, free: 124.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/6.194, allocations: 16 kB / 3.248 GB, free: 124.3 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002452/6.197, allocations: 1.605 MB / 3.25 GB, free: 122.7 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.01288/6.21, allocations: 7.05 MB / 3.256 GB, free: 115.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00251/6.212, allocations: 1.446 MB / 3.258 GB, free: 114 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004368/6.213, allocations: 454 kB / 3.258 GB, free: 113.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/6.213, allocations: 39.12 kB / 3.258 GB, free: 113.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=57): time 3.617e-06/6.213, allocations: 0 / 3.258 GB, free: 113.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=57): time 0.005586/6.218, allocations: 2.503 MB / 3.261 GB, free: 110.9 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/6.218, allocations: 59.97 kB / 3.261 GB, free: 110.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004364/6.223, allocations: 2.699 MB / 3.263 GB, free: 108.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0009797/6.224, allocations: 65.64 kB / 3.264 GB, free: 108 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001035/6.225, allocations: 0.7002 MB / 3.264 GB, free: 107.3 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/6.225, allocations: 193.2 kB / 3.264 GB, free: 107.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000429/6.225, allocations: 28 kB / 3.264 GB, free: 107.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000123/6.226, allocations: 381.8 kB / 3.265 GB, free: 106.7 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003499/6.229, allocations: 2.147 MB / 3.267 GB, free: 104.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003814/6.233, allocations: 2.624 MB / 3.269 GB, free: 101.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002988/6.236, allocations: 1.732 MB / 3.271 GB, free: 100 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/6.236, allocations: 0 / 3.271 GB, free: 100 MB / 0.7136 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.008373/6.244, allocations: 4.462 MB / 3.275 GB, free: 95.55 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004401/6.245, allocations: 2.074 MB / 3.277 GB, free: 93.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/6.245, allocations: 4 kB / 3.278 GB, free: 93.28 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006232/6.245, allocations: 168.7 kB / 3.278 GB, free: 93.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002247/6.248, allocations: 395.5 kB / 3.278 GB, free: 92.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000798/6.248, allocations: 1.228 MB / 3.279 GB, free: 91.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003152/6.252, allocations: 341.4 kB / 3.28 GB, free: 91.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003583/6.252, allocations: 139.9 kB / 3.28 GB, free: 90.97 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/6.252, allocations: 5.094 kB / 3.28 GB, free: 90.97 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006969/6.259, allocations: 4.243 MB / 3.284 GB, free: 86.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/6.259, allocations: 4 kB / 3.284 GB, free: 86.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/6.259, allocations: 16 kB / 3.284 GB, free: 86.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002142/6.261, allocations: 395.8 kB / 3.284 GB, free: 86.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.971e-05/6.261, allocations: 19.92 kB / 3.284 GB, free: 86.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003331/6.265, allocations: 282.2 kB / 3.285 GB, free: 86.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004383/6.265, allocations: 143.9 kB / 3.285 GB, free: 85.88 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 (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.001302/6.266, allocations: 0.5135 MB / 3.285 GB, free: 85.35 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008967/6.267, allocations: 173.6 kB / 3.285 GB, free: 85.18 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003744/6.271, allocations: 1.906 MB / 3.287 GB, free: 83.27 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/6.271, allocations: 11.94 kB / 3.287 GB, free: 83.26 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/6.271, allocations: 0 / 3.287 GB, free: 83.26 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/6.271, allocations: 11.94 kB / 3.287 GB, free: 83.25 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007732/6.279, allocations: 3.83 MB / 3.291 GB, free: 79.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/6.279, allocations: 4 kB / 3.291 GB, free: 79.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000862/6.28, allocations: 180.1 kB / 3.291 GB, free: 79.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003902/6.28, allocations: 140.7 kB / 3.291 GB, free: 79 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.654e-05/6.28, allocations: 39.92 kB / 3.291 GB, free: 78.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000698/6.281, allocations: 1.232 MB / 3.293 GB, free: 77.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/6.281, allocations: 0 / 3.293 GB, free: 77.68 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003472/6.284, allocations: 2.071 MB / 3.295 GB, free: 75.48 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001696/6.286, allocations: 0.6075 MB / 3.295 GB, free: 74.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007389/6.287, allocations: 16 kB / 3.295 GB, free: 74.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001945/6.289, allocations: 95.88 kB / 3.295 GB, free: 74.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/6.289, allocations: 56.42 kB / 3.295 GB, free: 74.69 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/6.289, allocations: 87.92 kB / 3.295 GB, free: 74.6 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00327/6.292, allocations: 2.051 MB / 3.297 GB, free: 72.53 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.2e-07/6.292, allocations: 0 / 3.297 GB, free: 72.53 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004944/6.297, allocations: 1.206 MB / 3.299 GB, free: 71.32 MB / 0.7136 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.002808/6.3, allocations: 1.617 MB / 3.3 GB, free: 69.66 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01005/6.31, allocations: 5.936 MB / 3.306 GB, free: 63.73 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.794e-06/6.31, allocations: 4 kB / 3.306 GB, free: 63.73 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001242/6.311, allocations: 0.7181 MB / 3.307 GB, free: 63.01 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003006/6.315, allocations: 492 kB / 3.307 GB, free: 62.53 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005065/6.32, allocations: 3.355 MB / 3.31 GB, free: 59.12 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008359/6.32, allocations: 1.37 MB / 3.312 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004333/6.325, allocations: 0.8764 MB / 3.313 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/6.326, allocations: 175.3 kB / 3.313 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of SimCode: time 9.62e-07/6.326, allocations: 0 / 3.313 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of Templates: time 0.3997/6.726, allocations: 61.33 MB / 3.373 GB, free: 147.5 MB / 0.7136 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)