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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.001383/0.001383, allocations: 174.9 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5459/0.5459, allocations: 90.91 MB / 99.34 MB, free: 2.172 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 221.5 MB / 343.2 MB, free: 1.59 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 87.28 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.42e-05/1.422e-05, allocations: 4 kB / 494.5 MB, free: 52.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1454, allocations: 72.31 MB / 0.5535 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.66/4.806, allocations: 1.87 GB / 2.424 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003273/4.806, allocations: 94.66 kB / 2.424 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.383/7.189, allocations: 0.5813 GB / 3.005 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.503e-06/7.189, allocations: 0 / 3.005 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002466/7.19, allocations: 35.88 kB / 3.005 GB, free: 107.3 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.00713/7.197, allocations: 2.091 MB / 3.008 GB, free: 106.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/7.197, allocations: 7.688 kB / 3.008 GB, free: 106.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003888/7.201, allocations: 396 kB / 3.008 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004698/7.205, allocations: 2.187 MB / 3.01 GB, free: 106 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/7.206, allocations: 24.66 kB / 3.01 GB, free: 106 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003629/7.206, allocations: 78.91 kB / 3.01 GB, free: 106 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001908/7.208, allocations: 1.397 MB / 3.011 GB, free: 106 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/7.209, allocations: 1.195 MB / 3.013 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/7.209, allocations: 5.875 kB / 3.013 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.287e-05/7.209, allocations: 5.438 kB / 3.013 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/7.209, allocations: 15.66 kB / 3.013 GB, free: 105.8 MB / 0.6042 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.01276/7.222, allocations: 6.835 MB / 3.019 GB, free: 103.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002589/7.225, allocations: 1.42 MB / 3.021 GB, free: 103.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007747/7.226, allocations: 0.6469 MB / 3.021 GB, free: 103.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004272/7.226, allocations: 453.7 kB / 3.022 GB, free: 103 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/7.226, allocations: 37.62 kB / 3.022 GB, free: 103 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=57): time 3.587e-06/7.226, allocations: 0 / 3.022 GB, free: 103 MB / 0.6042 GB Notification: Performance of matching and sorting (n=57): time 0.00596/7.232, allocations: 1.989 MB / 3.024 GB, free: 102.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/7.232, allocations: 59.44 kB / 3.024 GB, free: 102.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003699/7.236, allocations: 2.404 MB / 3.026 GB, free: 102.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0009451/7.237, allocations: 27.02 kB / 3.026 GB, free: 102.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007743/7.238, allocations: 0.7018 MB / 3.027 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/7.238, allocations: 185.2 kB / 3.027 GB, free: 102.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/7.238, allocations: 0 / 3.027 GB, free: 102.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001189/7.238, allocations: 378.2 kB / 3.027 GB, free: 101.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002446/7.241, allocations: 2.034 MB / 3.029 GB, free: 101.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002752/7.243, allocations: 2.499 MB / 3.032 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004496/7.248, allocations: 2.078 MB / 3.034 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/7.248, allocations: 0 / 3.034 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.008887/7.257, allocations: 4.615 MB / 3.038 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003768/7.257, allocations: 2.055 MB / 3.04 GB, free: 99.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/7.257, allocations: 7.812 kB / 3.04 GB, free: 99.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004003/7.258, allocations: 104.8 kB / 3.041 GB, free: 99.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002267/7.26, allocations: 396.5 kB / 3.041 GB, free: 99.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/7.261, allocations: 1.276 MB / 3.042 GB, free: 97.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003189/7.264, allocations: 300.8 kB / 3.042 GB, free: 97.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004559/7.265, allocations: 137.7 kB / 3.043 GB, free: 97.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/7.265, allocations: 4.344 kB / 3.043 GB, free: 97.86 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007855/7.273, allocations: 4.375 MB / 3.047 GB, free: 97.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/7.273, allocations: 3.875 kB / 3.047 GB, free: 97.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/7.273, allocations: 18.5 kB / 3.047 GB, free: 97.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002085/7.275, allocations: 401 kB / 3.047 GB, free: 97.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/7.275, allocations: 13.66 kB / 3.047 GB, free: 97.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003069/7.278, allocations: 233 kB / 3.047 GB, free: 97.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003426/7.278, allocations: 141 kB / 3.048 GB, free: 97.74 MB / 0.6042 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.0005796/7.279, allocations: 167 kB / 3.048 GB, free: 97.62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006637/7.28, allocations: 159.5 kB / 3.048 GB, free: 97.53 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004941/7.284, allocations: 2.145 MB / 3.05 GB, free: 97.44 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/7.284, allocations: 9.484 kB / 3.05 GB, free: 97.44 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/7.285, allocations: 11.7 kB / 3.05 GB, free: 97.44 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/7.285, allocations: 3 kB / 3.05 GB, free: 97.44 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008151/7.293, allocations: 4.006 MB / 3.054 GB, free: 97.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/7.293, allocations: 3.844 kB / 3.054 GB, free: 97.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008109/7.294, allocations: 179.4 kB / 3.054 GB, free: 97.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003272/7.294, allocations: 121 kB / 3.054 GB, free: 97 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.436e-05/7.294, allocations: 30.78 kB / 3.054 GB, free: 97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009321/7.295, allocations: 1.287 MB / 3.056 GB, free: 95.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/7.295, allocations: 2.062 kB / 3.056 GB, free: 95.89 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004803/7.3, allocations: 2.324 MB / 3.058 GB, free: 95.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/7.301, allocations: 0.5897 MB / 3.058 GB, free: 95.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003154/7.301, allocations: 3.031 kB / 3.058 GB, free: 95.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/7.303, allocations: 90.08 kB / 3.058 GB, free: 95.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/7.303, allocations: 49.55 kB / 3.059 GB, free: 95.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/7.303, allocations: 94.94 kB / 3.059 GB, free: 95.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00215/7.305, allocations: 1.797 MB / 3.06 GB, free: 95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/7.305, allocations: 0 / 3.06 GB, free: 95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003877/7.309, allocations: 1.122 MB / 3.061 GB, free: 94.88 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 () * 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.00245/7.311, allocations: 1.776 MB / 3.063 GB, free: 94.42 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.007416/7.319, allocations: 5.661 MB / 3.069 GB, free: 93.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/7.319, allocations: 2.156 kB / 3.069 GB, free: 93.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009629/7.32, allocations: 0.6337 MB / 3.069 GB, free: 93.73 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00255/7.322, allocations: 345.5 kB / 3.07 GB, free: 93.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003463/7.326, allocations: 2.278 MB / 3.072 GB, free: 92.78 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007565/7.327, allocations: 1.367 MB / 3.073 GB, free: 92.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.005866/7.332, allocations: 1.17 MB / 3.074 GB, free: 91.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007624/7.333, allocations: 108.7 kB / 3.074 GB, free: 91.97 MB / 0.6042 GB Notification: Performance of SimCode: time 3.81e-07/7.333, allocations: 0 / 3.074 GB, free: 91.97 MB / 0.6042 GB Notification: Performance of Templates: time 0.0658/7.399, allocations: 45.9 MB / 3.119 GB, free: 61.1 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)