Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.Damper.conf.json 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/IBPSA 3.0.0-master/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.Damper") translateModel(IBPSA.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008971/0.0008972, allocations: 173.7 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4663/0.4663, allocations: 86.28 MB / 103.8 MB, free: 14.55 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 223.3 MB / 348.4 MB, free: 4.918 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007982/0.0007982, allocations: 98.52 kB / 420.2 MB, free: 9.637 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003613, allocations: 12 kB / 0.4901 GB, free: 7.992 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.309, allocations: 71.02 MB / 0.5595 GB, free: 43.73 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.398/3.707, allocations: 1.869 GB / 2.429 GB, free: 69.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/3.707, allocations: 97 kB / 2.429 GB, free: 69 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.24/5.947, allocations: 0.5867 GB / 3.016 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.462e-06/5.947, allocations: 0 / 3.016 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002736/5.947, allocations: 38.59 kB / 3.016 GB, free: 112.9 MB / 0.6042 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.01113/5.958, allocations: 2.783 MB / 3.018 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/5.958, allocations: 6.969 kB / 3.018 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004258/5.963, allocations: 406.5 kB / 3.019 GB, free: 111.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00688/5.969, allocations: 2.284 MB / 3.021 GB, free: 111.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001553/5.97, allocations: 90.92 kB / 3.021 GB, free: 111.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001074/5.971, allocations: 130.5 kB / 3.021 GB, free: 111.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003292/5.974, allocations: 1.358 MB / 3.023 GB, free: 111.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.594e-05/5.974, allocations: 2.25 kB / 3.023 GB, free: 111.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001598/5.974, allocations: 28.59 kB / 3.023 GB, free: 111.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.281e-05/5.974, allocations: 20.31 kB / 3.023 GB, free: 111.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002898/5.977, allocations: 1.598 MB / 3.024 GB, free: 111.1 MB / 0.6042 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.01665/5.994, allocations: 7.06 MB / 3.031 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003289/5.997, allocations: 1.437 MB / 3.033 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/5.999, allocations: 0.7135 MB / 3.033 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00046/5.999, allocations: 450.2 kB / 3.034 GB, free: 108.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/5.999, allocations: 48.72 kB / 3.034 GB, free: 108.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=57): time 3.486e-06/5.999, allocations: 0 / 3.034 GB, free: 108.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=57): time 0.00632/6.005, allocations: 2.503 MB / 3.036 GB, free: 107.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/6.006, allocations: 61.22 kB / 3.036 GB, free: 107.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005822/6.011, allocations: 2.929 MB / 3.039 GB, free: 107.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0009513/6.012, allocations: 62.55 kB / 3.039 GB, free: 107.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001264/6.014, allocations: 0.6963 MB / 3.04 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003549/6.014, allocations: 194.6 kB / 3.04 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006823/6.015, allocations: 31.28 kB / 3.04 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001583/6.015, allocations: 384.3 kB / 3.04 GB, free: 107 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004133/6.019, allocations: 2.142 MB / 3.042 GB, free: 107 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004527/6.024, allocations: 2.623 MB / 3.045 GB, free: 106.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005177/6.029, allocations: 3.013 MB / 3.048 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.319e-05/6.029, allocations: 3.844 kB / 3.048 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.009658/6.038, allocations: 4.456 MB / 3.052 GB, free: 106.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001451/6.039, allocations: 250.2 kB / 3.053 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/6.039, allocations: 3.906 kB / 3.053 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005578/6.039, allocations: 155.8 kB / 3.053 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002411/6.042, allocations: 420.2 kB / 3.053 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007919/6.042, allocations: 1.224 MB / 3.054 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00312/6.046, allocations: 353 kB / 3.055 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005977/6.046, allocations: 146.5 kB / 3.055 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/6.046, allocations: 4.688 kB / 3.055 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007794/6.054, allocations: 4.239 MB / 3.059 GB, free: 103.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/6.054, allocations: 3.688 kB / 3.059 GB, free: 103.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/6.054, allocations: 13.62 kB / 3.059 GB, free: 103.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001992/6.056, allocations: 403.4 kB / 3.059 GB, free: 103.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.91e-05/6.056, allocations: 16.38 kB / 3.059 GB, free: 103.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002687/6.059, allocations: 277.5 kB / 3.06 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000398/6.059, allocations: 140.8 kB / 3.06 GB, free: 103.4 MB / 0.6042 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.001312/6.061, allocations: 0.5248 MB / 3.06 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006731/6.061, allocations: 175.9 kB / 3.06 GB, free: 103 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003506/6.065, allocations: 1.91 MB / 3.062 GB, free: 102.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/6.065, allocations: 8.906 kB / 3.062 GB, free: 102.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/6.065, allocations: 2 kB / 3.062 GB, free: 102.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/6.065, allocations: 0 / 3.062 GB, free: 102.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007995/6.073, allocations: 3.822 MB / 3.066 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/6.073, allocations: 7.625 kB / 3.066 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008243/6.074, allocations: 187.3 kB / 3.066 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004159/6.074, allocations: 128.8 kB / 3.066 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/6.074, allocations: 38.53 kB / 3.066 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008258/6.075, allocations: 1.229 MB / 3.068 GB, free: 99.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.726e-06/6.075, allocations: 10.84 kB / 3.068 GB, free: 99.94 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003705/6.079, allocations: 1.907 MB / 3.069 GB, free: 99.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001664/6.081, allocations: 0.6087 MB / 3.07 GB, free: 98.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008279/6.081, allocations: 11.94 kB / 3.07 GB, free: 98.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001923/6.083, allocations: 101.8 kB / 3.07 GB, free: 98.88 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/6.083, allocations: 53.11 kB / 3.07 GB, free: 98.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/6.084, allocations: 83.09 kB / 3.07 GB, free: 98.87 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.003517/6.087, allocations: 2.057 MB / 3.072 GB, free: 98.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.22e-07/6.087, allocations: 0 / 3.072 GB, free: 98.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.004327/6.091, allocations: 1.213 MB / 3.074 GB, free: 97.26 MB / 0.6042 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.002609/6.094, allocations: 1.613 MB / 3.075 GB, free: 96.17 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.009608/6.104, allocations: 5.947 MB / 3.081 GB, free: 91.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/6.104, allocations: 5.938 kB / 3.081 GB, free: 91.19 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001309/6.105, allocations: 0.7167 MB / 3.082 GB, free: 90.59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003443/6.109, allocations: 0.4926 MB / 3.082 GB, free: 90.24 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004095/6.113, allocations: 3.363 MB / 3.085 GB, free: 87.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006731/6.113, allocations: 1.333 MB / 3.087 GB, free: 86.08 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.004209/6.118, allocations: 0.8699 MB / 3.088 GB, free: 85.55 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/6.119, allocations: 188.3 kB / 3.088 GB, free: 85.4 MB / 0.6042 GB Notification: Performance of SimCode: time 1.032e-06/6.119, allocations: 0 / 3.088 GB, free: 85.4 MB / 0.6042 GB Notification: Performance of Templates: time 0.07844/6.197, allocations: 62.54 MB / 3.149 GB, free: 24.82 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.Damper.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.Damper.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)