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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.7507/0.7507, allocations: 140.1 MB / 156 MB, free: 5.176 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 172.2 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205.4 MB / 426.3 MB, free: 8.465 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007893/0.0007893, allocations: 89.17 kB / 0.4945 GB, free: 8.41 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001702/0.001702, allocations: 273.4 kB / 0.5729 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004666/0.0004668, allocations: 20 kB / 0.662 GB, free: 6.816 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3355, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.272/4.608, allocations: 2.056 GB / 2.795 GB, free: 232 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/4.608, allocations: 95.94 kB / 2.795 GB, free: 231.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.769/6.376, allocations: 0.5766 GB / 3.372 GB, free: 130 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.693e-06/6.377, allocations: 0 / 3.372 GB, free: 130 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002083/6.377, allocations: 37.06 kB / 3.372 GB, free: 130 MB / 0.6823 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.006911/6.384, allocations: 2.517 MB / 3.374 GB, free: 129 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/6.384, allocations: 7.75 kB / 3.374 GB, free: 129 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002914/6.387, allocations: 0.4899 MB / 3.375 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003309/6.39, allocations: 2.111 MB / 3.377 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.431e-05/6.39, allocations: 89.06 kB / 3.377 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/6.39, allocations: 122.3 kB / 3.377 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/6.392, allocations: 1.407 MB / 3.378 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/6.392, allocations: 3.469 kB / 3.378 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.809e-05/6.392, allocations: 30.94 kB / 3.379 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/6.392, allocations: 13.28 kB / 3.379 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002636/6.395, allocations: 1.678 MB / 3.38 GB, free: 128.3 MB / 0.6823 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.007062/6.402, allocations: 5.85 MB / 3.386 GB, free: 125.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002518/6.405, allocations: 1.51 MB / 3.387 GB, free: 125.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/6.406, allocations: 0.7573 MB / 3.388 GB, free: 125.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000388/6.406, allocations: 462.4 kB / 3.389 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/6.406, allocations: 34.5 kB / 3.389 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=57): time 3.015e-06/6.406, allocations: 0 / 3.389 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57): time 0.005345/6.412, allocations: 2.62 MB / 3.391 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/6.412, allocations: 59.72 kB / 3.391 GB, free: 125 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003942/6.416, allocations: 2.911 MB / 3.394 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002835/6.416, allocations: 62.52 kB / 3.394 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004916/6.416, allocations: 0.7219 MB / 3.395 GB, free: 124.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/6.417, allocations: 193.5 kB / 3.395 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.389e-05/6.417, allocations: 34.19 kB / 3.395 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001001/6.417, allocations: 380.6 kB / 3.395 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002152/6.419, allocations: 1.716 MB / 3.397 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002489/6.421, allocations: 2.194 MB / 3.399 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004301/6.426, allocations: 3.256 MB / 3.402 GB, free: 122 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/6.426, allocations: 1.875 kB / 3.402 GB, free: 122 MB / 0.6823 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.006784/6.433, allocations: 4.178 MB / 3.406 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002041/6.433, allocations: 252.6 kB / 3.407 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/6.433, allocations: 3.969 kB / 3.407 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006454/6.434, allocations: 159.7 kB / 3.407 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/6.435, allocations: 434.8 kB / 3.407 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008822/6.436, allocations: 1.228 MB / 3.408 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002743/6.439, allocations: 369.6 kB / 3.409 GB, free: 119 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002072/6.439, allocations: 142.2 kB / 3.409 GB, free: 119 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/6.439, allocations: 4.469 kB / 3.409 GB, free: 119 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005006/6.444, allocations: 3.961 MB / 3.413 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/6.444, allocations: 6.75 kB / 3.413 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/6.444, allocations: 11.81 kB / 3.413 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/6.446, allocations: 414.9 kB / 3.413 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.142e-05/6.446, allocations: 13.53 kB / 3.413 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002539/6.448, allocations: 308.1 kB / 3.414 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002249/6.448, allocations: 138.8 kB / 3.414 GB, free: 117.6 MB / 0.6823 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.001015/6.449, allocations: 0.5235 MB / 3.414 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007472/6.45, allocations: 170.7 kB / 3.414 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003758/6.454, allocations: 1.99 MB / 3.416 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/6.454, allocations: 7.812 kB / 3.416 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/6.454, allocations: 0 / 3.416 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/6.454, allocations: 3.703 kB / 3.416 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007329/6.461, allocations: 3.926 MB / 3.42 GB, free: 115 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/6.461, allocations: 4 kB / 3.42 GB, free: 115 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008309/6.462, allocations: 196.3 kB / 3.42 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003741/6.463, allocations: 145.1 kB / 3.42 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.239e-05/6.463, allocations: 39.08 kB / 3.42 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006673/6.463, allocations: 1.222 MB / 3.422 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/6.463, allocations: 3.688 kB / 3.422 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003408/6.467, allocations: 1.991 MB / 3.424 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001322/6.468, allocations: 0.5986 MB / 3.424 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000618/6.469, allocations: 15.66 kB / 3.424 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/6.47, allocations: 118.3 kB / 3.424 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/6.471, allocations: 53.8 kB / 3.424 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/6.471, allocations: 87.12 kB / 3.424 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003116/6.474, allocations: 2.044 MB / 3.426 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.11e-07/6.474, allocations: 0 / 3.426 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003602/6.477, allocations: 1.04 MB / 3.427 GB, free: 108.3 MB / 0.6823 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.002848/6.48, allocations: 1.61 MB / 3.429 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006533/6.487, allocations: 5.354 MB / 3.434 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/6.487, allocations: 0 / 3.434 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001241/6.488, allocations: 0.7452 MB / 3.435 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003588/6.492, allocations: 0.5118 MB / 3.436 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004663/6.496, allocations: 3.382 MB / 3.439 GB, free: 98.41 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008407/6.497, allocations: 1.327 MB / 3.44 GB, free: 97.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002365/6.5, allocations: 0.6174 MB / 3.441 GB, free: 96.91 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007264/6.5, allocations: 176 kB / 3.441 GB, free: 96.77 MB / 0.6823 GB Notification: Performance of SimCode: time 6.82e-07/6.5, allocations: 0 / 3.441 GB, free: 96.77 MB / 0.6823 GB Notification: Performance of Templates: time 0.0676/6.568, allocations: 50.48 MB / 3.49 GB, free: 49.9 MB / 0.6823 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)