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: "" <> buildModelFMU(IBPSA.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009084/0.0009085, allocations: 177.6 kB / 8.002 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.5046/0.5046, allocations: 90.91 MB / 99.35 MB, free: 2.16 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.461/1.461, allocations: 221.5 MB / 343.2 MB, free: 1.539 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.0008542/0.0008541, allocations: 98.47 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.562e-05/1.567e-05, allocations: 4 kB / 494.6 MB, free: 52.28 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1436, allocations: 72.32 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.384/4.528, allocations: 1.87 GB / 2.424 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/4.528, allocations: 95.94 kB / 2.424 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.148/6.676, allocations: 0.5813 GB / 3.006 GB, free: 107.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.453e-06/6.676, allocations: 0 / 3.006 GB, free: 107.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002067/6.676, allocations: 35.25 kB / 3.006 GB, free: 107.1 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.006239/6.682, allocations: 2.092 MB / 3.008 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/6.682, allocations: 7.375 kB / 3.008 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003208/6.686, allocations: 404.5 kB / 3.008 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003541/6.689, allocations: 2.183 MB / 3.01 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/6.689, allocations: 22.39 kB / 3.01 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003097/6.689, allocations: 78.25 kB / 3.01 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001751/6.691, allocations: 1.394 MB / 3.012 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/6.693, allocations: 1.192 MB / 3.013 GB, free: 105.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/6.693, allocations: 9.094 kB / 3.013 GB, free: 105.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-05/6.693, allocations: 3.062 kB / 3.013 GB, free: 105.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/6.693, allocations: 19.12 kB / 3.013 GB, free: 105.6 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.01173/6.705, allocations: 6.826 MB / 3.019 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002557/6.707, allocations: 1.425 MB / 3.021 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007615/6.708, allocations: 0.6494 MB / 3.021 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004064/6.708, allocations: 451.9 kB / 3.022 GB, free: 102.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/6.708, allocations: 34.88 kB / 3.022 GB, free: 102.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=57): time 2.805e-06/6.708, allocations: 3.5 kB / 3.022 GB, free: 102.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=57): time 0.005617/6.714, allocations: 1.987 MB / 3.024 GB, free: 102.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/6.714, allocations: 59 kB / 3.024 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003192/6.717, allocations: 2.405 MB / 3.026 GB, free: 102.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0006736/6.718, allocations: 28.7 kB / 3.026 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006485/6.719, allocations: 0.6995 MB / 3.027 GB, free: 102.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/6.719, allocations: 187.5 kB / 3.027 GB, free: 102 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002371/6.719, allocations: 0 / 3.027 GB, free: 102 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000103/6.719, allocations: 374.1 kB / 3.028 GB, free: 101.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002377/6.722, allocations: 2.039 MB / 3.03 GB, free: 101.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002752/6.724, allocations: 2.491 MB / 3.032 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0044/6.729, allocations: 2.083 MB / 3.034 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/6.729, allocations: 0 / 3.034 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.00931/6.738, allocations: 4.617 MB / 3.039 GB, free: 101 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004371/6.739, allocations: 2.054 MB / 3.041 GB, free: 98.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/6.739, allocations: 3.969 kB / 3.041 GB, free: 98.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000552/6.739, allocations: 111.1 kB / 3.041 GB, free: 98.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002941/6.742, allocations: 386.2 kB / 3.041 GB, free: 98.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/6.743, allocations: 1.278 MB / 3.042 GB, free: 97.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003799/6.747, allocations: 305.6 kB / 3.043 GB, free: 97.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000618/6.748, allocations: 139.2 kB / 3.043 GB, free: 97.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/6.748, allocations: 3.906 kB / 3.043 GB, free: 97.68 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009043/6.757, allocations: 4.371 MB / 3.047 GB, free: 97.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/6.757, allocations: 3.188 kB / 3.047 GB, free: 97.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/6.757, allocations: 18.05 kB / 3.047 GB, free: 97.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002153/6.759, allocations: 404 kB / 3.047 GB, free: 97.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-05/6.759, allocations: 14.09 kB / 3.047 GB, free: 97.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002849/6.762, allocations: 229 kB / 3.048 GB, free: 97.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004829/6.763, allocations: 145.5 kB / 3.048 GB, free: 97.56 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.000684/6.763, allocations: 170.4 kB / 3.048 GB, free: 97.45 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004745/6.768, allocations: 1.888 MB / 3.05 GB, free: 97.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007773/6.769, allocations: 166.2 kB / 3.05 GB, free: 97.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004905/6.774, allocations: 2.146 MB / 3.052 GB, free: 97.12 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/6.774, allocations: 10.84 kB / 3.052 GB, free: 97.12 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/6.774, allocations: 2.094 kB / 3.052 GB, free: 97.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/6.774, allocations: 3.891 kB / 3.052 GB, free: 97.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008059/6.782, allocations: 4.011 MB / 3.056 GB, free: 96.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/6.782, allocations: 3.375 kB / 3.056 GB, free: 96.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007811/6.783, allocations: 179.9 kB / 3.056 GB, free: 96.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003171/6.783, allocations: 127.5 kB / 3.056 GB, free: 96.68 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.841e-05/6.783, allocations: 34.02 kB / 3.056 GB, free: 96.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008788/6.784, allocations: 1.272 MB / 3.057 GB, free: 95.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/6.784, allocations: 4.938 kB / 3.057 GB, free: 95.58 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004702/6.789, allocations: 2.334 MB / 3.06 GB, free: 95.03 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/6.79, allocations: 0.5821 MB / 3.06 GB, free: 94.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002927/6.79, allocations: 3.5 kB / 3.06 GB, free: 94.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/6.791, allocations: 95.45 kB / 3.06 GB, free: 94.83 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.707e-05/6.792, allocations: 52.09 kB / 3.06 GB, free: 94.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/6.792, allocations: 80.3 kB / 3.061 GB, free: 94.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002054/6.794, allocations: 1.796 MB / 3.062 GB, free: 94.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.8e-07/6.794, allocations: 3.938 kB / 3.062 GB, free: 94.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003745/6.797, allocations: 1.131 MB / 3.063 GB, free: 94.55 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.006982/6.804, allocations: 4.904 MB / 3.068 GB, free: 92.59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.008195/6.813, allocations: 5.661 MB / 3.074 GB, free: 91.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/6.813, allocations: 0 / 3.074 GB, free: 91.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009316/6.814, allocations: 0.6294 MB / 3.074 GB, free: 90.99 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002378/6.816, allocations: 354 kB / 3.075 GB, free: 90.89 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005642/6.822, allocations: 2.685 MB / 3.077 GB, free: 89.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007341/6.823, allocations: 1.376 MB / 3.079 GB, free: 89.13 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.005679/6.828, allocations: 1.165 MB / 3.08 GB, free: 89.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001303/6.83, allocations: 0.6398 MB / 3.08 GB, free: 88.6 MB / 0.6042 GB Notification: Performance of SimCode: time 5.71e-07/6.83, allocations: 3.844 kB / 3.08 GB, free: 88.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08814/6.918, allocations: 62.42 MB / 3.141 GB, free: 37.42 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000138/6.918, allocations: 158.8 kB / 3.142 GB, free: 37.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.875/10.79, allocations: 0 / 3.142 GB, free: 37.23 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_Damper.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)