Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) 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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.139/2.139, allocations: 289.9 MB / 297.4 MB, free: 6.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001425/0.001425, allocations: 180.8 kB / 366.7 MB, free: 1.664 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.986/1.986, allocations: 205.2 MB / 0.626 GB, free: 7.148 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 81.42 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.689e-05/3.698e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.81/0.8101, allocations: 116.3 MB / 0.9733 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.461/6.272, allocations: 2.086 GB / 3.059 GB, free: 42.25 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/6.272, allocations: 91.94 kB / 3.059 GB, free: 42.16 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.478/8.75, allocations: 0.5707 GB / 3.63 GB, free: 206 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.333e-06/8.75, allocations: 0 / 3.63 GB, free: 206 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001098/8.75, allocations: 37.62 kB / 3.63 GB, free: 206 MB / 0.948 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.003638/8.754, allocations: 1.821 MB / 3.632 GB, free: 204.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/8.754, allocations: 12.03 kB / 3.632 GB, free: 204.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002921/8.757, allocations: 0.4911 MB / 3.632 GB, free: 203.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002864/8.759, allocations: 2.014 MB / 3.634 GB, free: 201.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/8.759, allocations: 24 kB / 3.634 GB, free: 201.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/8.76, allocations: 72 kB / 3.634 GB, free: 201.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001753/8.761, allocations: 1.404 MB / 3.636 GB, free: 200.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/8.763, allocations: 1.194 MB / 3.637 GB, free: 199.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/8.763, allocations: 7.406 kB / 3.637 GB, free: 199.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.47e-05/8.763, allocations: 3.953 kB / 3.637 GB, free: 199.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/8.763, allocations: 20 kB / 3.637 GB, free: 199.1 MB / 0.948 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.006914/8.77, allocations: 5.615 MB / 3.642 GB, free: 193.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002665/8.773, allocations: 1.488 MB / 3.644 GB, free: 191.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007165/8.773, allocations: 0.6601 MB / 3.645 GB, free: 191.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004016/8.774, allocations: 460.2 kB / 3.645 GB, free: 190.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/8.774, allocations: 35.12 kB / 3.645 GB, free: 190.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 2.855e-06/8.774, allocations: 0 / 3.645 GB, free: 190.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.005107/8.779, allocations: 2 MB / 3.647 GB, free: 188.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/8.779, allocations: 55.97 kB / 3.647 GB, free: 188.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002984/8.782, allocations: 2.392 MB / 3.649 GB, free: 186.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002882/8.782, allocations: 29.7 kB / 3.649 GB, free: 186.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004497/8.783, allocations: 0.6994 MB / 3.65 GB, free: 185.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/8.783, allocations: 185.2 kB / 3.65 GB, free: 185.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.494e-05/8.783, allocations: 4 kB / 3.65 GB, free: 185.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001023/8.783, allocations: 377.9 kB / 3.651 GB, free: 184.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001524/8.785, allocations: 1.581 MB / 3.652 GB, free: 183.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/8.786, allocations: 2.032 MB / 3.654 GB, free: 181 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004172/8.791, allocations: 2.165 MB / 3.656 GB, free: 178.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/8.791, allocations: 7.984 kB / 3.656 GB, free: 178.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.007077/8.798, allocations: 4.261 MB / 3.66 GB, free: 174.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003966/8.798, allocations: 2.067 MB / 3.662 GB, free: 172.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/8.798, allocations: 4 kB / 3.662 GB, free: 172.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004343/8.799, allocations: 112.2 kB / 3.663 GB, free: 172.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/8.8, allocations: 411.4 kB / 3.663 GB, free: 171.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009917/8.801, allocations: 1.267 MB / 3.664 GB, free: 170.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002727/8.804, allocations: 317.6 kB / 3.664 GB, free: 170.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002024/8.804, allocations: 144 kB / 3.665 GB, free: 170.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/8.804, allocations: 4 kB / 3.665 GB, free: 170.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005947/8.81, allocations: 4.022 MB / 3.669 GB, free: 166.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/8.81, allocations: 8.562 kB / 3.669 GB, free: 166.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/8.81, allocations: 16 kB / 3.669 GB, free: 166.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/8.812, allocations: 411.5 kB / 3.669 GB, free: 165.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/8.812, allocations: 23.91 kB / 3.669 GB, free: 165.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002523/8.814, allocations: 250.4 kB / 3.669 GB, free: 165.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001755/8.814, allocations: 136 kB / 3.669 GB, free: 165.2 MB / 0.948 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.0003656/8.815, allocations: 177.3 kB / 3.669 GB, free: 165.1 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004547/8.819, allocations: 1.903 MB / 3.671 GB, free: 163.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/8.82, allocations: 153.8 kB / 3.671 GB, free: 163 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004577/8.824, allocations: 2.143 MB / 3.674 GB, free: 160.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/8.824, allocations: 8 kB / 3.674 GB, free: 160.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/8.824, allocations: 3.984 kB / 3.674 GB, free: 160.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/8.824, allocations: 0 / 3.674 GB, free: 160.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007512/8.832, allocations: 4.058 MB / 3.678 GB, free: 156.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/8.832, allocations: 4 kB / 3.678 GB, free: 156.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00087/8.833, allocations: 203.9 kB / 3.678 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003237/8.833, allocations: 120.3 kB / 3.678 GB, free: 156.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.322e-05/8.833, allocations: 31.98 kB / 3.678 GB, free: 156.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009126/8.834, allocations: 1.279 MB / 3.679 GB, free: 155 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/8.834, allocations: 4.062 kB / 3.679 GB, free: 155 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004728/8.839, allocations: 2.332 MB / 3.681 GB, free: 152.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009416/8.84, allocations: 0.5804 MB / 3.682 GB, free: 152 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002827/8.84, allocations: 0 / 3.682 GB, free: 152 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/8.842, allocations: 115.7 kB / 3.682 GB, free: 151.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/8.842, allocations: 52.48 kB / 3.682 GB, free: 151.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/8.842, allocations: 79.97 kB / 3.682 GB, free: 151.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002004/8.844, allocations: 1.79 MB / 3.684 GB, free: 149.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 3e-07/8.844, allocations: 0 / 3.684 GB, free: 149.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002763/8.847, allocations: 0.9597 MB / 3.685 GB, free: 148.9 MB / 0.948 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.006195/8.853, allocations: 4.895 MB / 3.69 GB, free: 144.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004503/8.857, allocations: 4.97 MB / 3.695 GB, free: 139.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/8.857, allocations: 2.125 kB / 3.695 GB, free: 139.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007775/8.858, allocations: 0.635 MB / 3.695 GB, free: 138.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/8.86, allocations: 366 kB / 3.696 GB, free: 138.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004406/8.865, allocations: 2.692 MB / 3.698 GB, free: 135.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006463/8.865, allocations: 1.368 MB / 3.699 GB, free: 134 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002942/8.868, allocations: 0.9066 MB / 3.7 GB, free: 133.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006467/8.869, allocations: 0.6398 MB / 3.701 GB, free: 132.5 MB / 0.948 GB Notification: Performance of SimCode: time 8.91e-07/8.869, allocations: 0 / 3.701 GB, free: 132.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0777/8.947, allocations: 53.38 MB / 3.753 GB, free: 79.32 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001454/8.947, allocations: 161.8 kB / 3.753 GB, free: 79.13 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.373/13.32, allocations: 0 / 3.753 GB, free: 79.13 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_Damper.fmu > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)