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.8137/0.8137, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.001207/0.001207, allocations: 179.8 kB / 182.2 MB, free: 9.469 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.413/1.413, allocations: 221.5 MB / 436.4 MB, free: 13.35 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.0009503/0.0009505, allocations: 92.11 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001835/0.001836, allocations: 281 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.833e-05/1.833e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4135, allocations: 82.77 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.088/4.502, allocations: 1.877 GB / 2.635 GB, free: 182.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/4.502, allocations: 95.81 kB / 2.635 GB, free: 182.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.869/6.371, allocations: 0.5814 GB / 3.216 GB, free: 130.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.603e-06/6.371, allocations: 4 kB / 3.216 GB, free: 130.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002023/6.371, allocations: 32 kB / 3.216 GB, free: 130.4 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.006407/6.377, allocations: 2.087 MB / 3.218 GB, free: 128.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/6.377, allocations: 11.97 kB / 3.218 GB, free: 128.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003866/6.381, allocations: 396.7 kB / 3.219 GB, free: 127.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004946/6.386, allocations: 2.191 MB / 3.221 GB, free: 125.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.879e-05/6.386, allocations: 24 kB / 3.221 GB, free: 125.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009965/6.387, allocations: 76 kB / 3.221 GB, free: 125.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002366/6.39, allocations: 1.392 MB / 3.222 GB, free: 124.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/6.392, allocations: 1.203 MB / 3.224 GB, free: 122.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/6.392, allocations: 7.5 kB / 3.224 GB, free: 122.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.469e-05/6.392, allocations: 0 / 3.224 GB, free: 122.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/6.392, allocations: 20 kB / 3.224 GB, free: 122.9 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.01345/6.405, allocations: 6.839 MB / 3.23 GB, free: 115.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002522/6.408, allocations: 1.414 MB / 3.232 GB, free: 114.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007486/6.409, allocations: 0.6505 MB / 3.232 GB, free: 113.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003921/6.409, allocations: 453 kB / 3.233 GB, free: 113.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/6.409, allocations: 35.12 kB / 3.233 GB, free: 113.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=57): time 2.415e-06/6.409, allocations: 0 / 3.233 GB, free: 113.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=57): time 0.005602/6.415, allocations: 1.985 MB / 3.235 GB, free: 111.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/6.415, allocations: 59.97 kB / 3.235 GB, free: 111.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00359/6.418, allocations: 2.413 MB / 3.237 GB, free: 108.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006139/6.419, allocations: 25.7 kB / 3.237 GB, free: 108.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008936/6.42, allocations: 0.6996 MB / 3.238 GB, free: 108 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/6.42, allocations: 185.2 kB / 3.238 GB, free: 107.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003864/6.42, allocations: 0 / 3.238 GB, free: 107.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001104/6.42, allocations: 377.9 kB / 3.238 GB, free: 107.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002526/6.423, allocations: 2.038 MB / 3.24 GB, free: 105.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002677/6.426, allocations: 2.492 MB / 3.243 GB, free: 102.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004373/6.43, allocations: 2.084 MB / 3.245 GB, free: 100.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/6.43, allocations: 0 / 3.245 GB, free: 100.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.008888/6.439, allocations: 4.606 MB / 3.249 GB, free: 96.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003772/6.439, allocations: 2.058 MB / 3.251 GB, free: 93.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/6.439, allocations: 4 kB / 3.251 GB, free: 93.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004041/6.44, allocations: 108.8 kB / 3.251 GB, free: 93.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002209/6.442, allocations: 395.4 kB / 3.252 GB, free: 93.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001023/6.443, allocations: 1.283 MB / 3.253 GB, free: 92.03 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00301/6.446, allocations: 293.5 kB / 3.253 GB, free: 91.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004813/6.447, allocations: 143.3 kB / 3.253 GB, free: 91.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/6.447, allocations: 4 kB / 3.253 GB, free: 91.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008335/6.455, allocations: 4.368 MB / 3.258 GB, free: 87.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/6.455, allocations: 8.031 kB / 3.258 GB, free: 87.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/6.455, allocations: 15.95 kB / 3.258 GB, free: 87.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002271/6.457, allocations: 399.5 kB / 3.258 GB, free: 86.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.195e-05/6.457, allocations: 15.94 kB / 3.258 GB, free: 86.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002781/6.46, allocations: 238.4 kB / 3.258 GB, free: 86.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004671/6.461, allocations: 136 kB / 3.258 GB, free: 86.43 MB / 0.698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: preIndFrom_dp.m_flow_x:VARIABLE(unit = "kg/s" protected = true ) type: Real 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 (195): * Single equations (assignments): 190 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006491/6.461, allocations: 166.7 kB / 3.259 GB, free: 86.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005934/6.462, allocations: 165.7 kB / 3.259 GB, free: 86.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004875/6.467, allocations: 2.141 MB / 3.261 GB, free: 83.95 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/6.467, allocations: 12.02 kB / 3.261 GB, free: 83.94 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/6.467, allocations: 4 kB / 3.261 GB, free: 83.93 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/6.467, allocations: 7.984 kB / 3.261 GB, free: 83.93 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008116/6.475, allocations: 4.005 MB / 3.265 GB, free: 79.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/6.475, allocations: 0 / 3.265 GB, free: 79.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008218/6.476, allocations: 184 kB / 3.265 GB, free: 79.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003177/6.476, allocations: 112.8 kB / 3.265 GB, free: 79.57 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.041e-05/6.476, allocations: 31.97 kB / 3.265 GB, free: 79.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009355/6.477, allocations: 1.275 MB / 3.266 GB, free: 78.21 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/6.477, allocations: 4.188 kB / 3.266 GB, free: 78.21 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004653/6.482, allocations: 2.333 MB / 3.269 GB, free: 75.74 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001218/6.483, allocations: 0.5919 MB / 3.269 GB, free: 75.12 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005657/6.484, allocations: 7.938 kB / 3.269 GB, free: 75.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001601/6.485, allocations: 87.88 kB / 3.269 GB, free: 75.03 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/6.485, allocations: 60.39 kB / 3.269 GB, free: 74.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/6.486, allocations: 83.95 kB / 3.269 GB, free: 74.89 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00256/6.488, allocations: 1.79 MB / 3.271 GB, free: 73.08 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.31e-07/6.488, allocations: 0 / 3.271 GB, free: 73.08 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005154/6.493, allocations: 1.128 MB / 3.272 GB, free: 71.95 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.002776/6.496, allocations: 1.78 MB / 3.274 GB, free: 70.34 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.008219/6.504, allocations: 5.65 MB / 3.28 GB, free: 64.69 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/6.504, allocations: 4.125 kB / 3.28 GB, free: 64.69 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008988/6.505, allocations: 0.6345 MB / 3.28 GB, free: 64.05 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002376/6.508, allocations: 343.3 kB / 3.281 GB, free: 63.72 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003769/6.512, allocations: 2.267 MB / 3.283 GB, free: 61.39 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008171/6.512, allocations: 1.377 MB / 3.284 GB, free: 59.99 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.005732/6.518, allocations: 1.166 MB / 3.285 GB, free: 58.84 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/6.519, allocations: 111.4 kB / 3.285 GB, free: 58.74 MB / 0.698 GB Notification: Performance of SimCode: time 1.293e-06/6.519, allocations: 0 / 3.285 GB, free: 58.74 MB / 0.698 GB Notification: Performance of Templates: time 0.05871/6.578, allocations: 45.94 MB / 3.33 GB, free: 12.97 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)