Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.729/1.729, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.001147/0.001147, allocations: 176.9 kB / 361.4 MB, free: 6.863 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.747/1.747, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008537/0.0008535, allocations: 96.09 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.743e-05/2.768e-05, allocations: 4 kB / 0.8518 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.819/0.8191, allocations: 115.3 MB / 0.9644 GB, free: 78.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.388/6.207, allocations: 2.085 GB / 3.049 GB, free: 74.47 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/6.207, allocations: 93.02 kB / 3.049 GB, free: 74.38 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.53/8.737, allocations: 0.5707 GB / 3.62 GB, free: 227.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.014e-06/8.737, allocations: 0 / 3.62 GB, free: 227.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002783/8.738, allocations: 36.22 kB / 3.62 GB, free: 227.3 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.006128/8.744, allocations: 1.837 MB / 3.622 GB, free: 226.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/8.744, allocations: 7.156 kB / 3.622 GB, free: 226.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003997/8.748, allocations: 498.1 kB / 3.622 GB, free: 226.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004784/8.753, allocations: 2.019 MB / 3.624 GB, free: 225.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.105e-05/8.753, allocations: 22.56 kB / 3.624 GB, free: 225.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005236/8.753, allocations: 83.97 kB / 3.625 GB, free: 225.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002353/8.756, allocations: 1.396 MB / 3.626 GB, free: 224.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001988/8.758, allocations: 1.198 MB / 3.627 GB, free: 224.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/8.758, allocations: 3.938 kB / 3.627 GB, free: 224.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.905e-05/8.758, allocations: 3.938 kB / 3.627 GB, free: 224.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/8.758, allocations: 17.53 kB / 3.627 GB, free: 224.3 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.009812/8.768, allocations: 5.621 MB / 3.633 GB, free: 221.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002871/8.771, allocations: 1.494 MB / 3.634 GB, free: 220.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000787/8.771, allocations: 0.6509 MB / 3.635 GB, free: 220.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004155/8.772, allocations: 448.4 kB / 3.635 GB, free: 219.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/8.772, allocations: 45.91 kB / 3.635 GB, free: 219.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 3.226e-06/8.772, allocations: 0 / 3.635 GB, free: 219.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.005532/8.777, allocations: 1.996 MB / 3.637 GB, free: 218.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/8.778, allocations: 58.53 kB / 3.637 GB, free: 218.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004195/8.782, allocations: 2.4 MB / 3.639 GB, free: 217.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002711/8.782, allocations: 25.7 kB / 3.64 GB, free: 217.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006952/8.783, allocations: 0.6957 MB / 3.64 GB, free: 216.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000189/8.783, allocations: 187.3 kB / 3.64 GB, free: 216.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/8.783, allocations: 0 / 3.64 GB, free: 216.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001202/8.783, allocations: 382.5 kB / 3.641 GB, free: 216.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001696/8.785, allocations: 1.576 MB / 3.642 GB, free: 215.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002007/8.787, allocations: 2.043 MB / 3.644 GB, free: 214.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004421/8.791, allocations: 2.16 MB / 3.646 GB, free: 213.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.545e-06/8.791, allocations: 0 / 3.646 GB, free: 213.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.007616/8.799, allocations: 4.269 MB / 3.651 GB, free: 211.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004548/8.799, allocations: 2.06 MB / 3.653 GB, free: 209.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/8.8, allocations: 3.969 kB / 3.653 GB, free: 209.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004658/8.8, allocations: 120.6 kB / 3.653 GB, free: 209.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/8.802, allocations: 404.5 kB / 3.653 GB, free: 209.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/8.803, allocations: 1.271 MB / 3.654 GB, free: 208 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002789/8.806, allocations: 313.3 kB / 3.655 GB, free: 207.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002842/8.806, allocations: 140.7 kB / 3.655 GB, free: 207.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/8.806, allocations: 8.984 kB / 3.655 GB, free: 207.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00657/8.812, allocations: 4.02 MB / 3.659 GB, free: 204.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/8.813, allocations: 4 kB / 3.659 GB, free: 204.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/8.813, allocations: 12 kB / 3.659 GB, free: 204.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001518/8.814, allocations: 421.7 kB / 3.659 GB, free: 203.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.46e-05/8.814, allocations: 19.92 kB / 3.659 GB, free: 203.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002627/8.817, allocations: 258.6 kB / 3.659 GB, free: 203.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002456/8.817, allocations: 139.6 kB / 3.659 GB, free: 203.6 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.0004611/8.817, allocations: 168.9 kB / 3.66 GB, free: 203.4 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004917/8.822, allocations: 1.905 MB / 3.662 GB, free: 201.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007841/8.823, allocations: 157.8 kB / 3.662 GB, free: 201.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004979/8.828, allocations: 2.146 MB / 3.664 GB, free: 199.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/8.828, allocations: 8 kB / 3.664 GB, free: 199.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/8.828, allocations: 0 / 3.664 GB, free: 199.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/8.828, allocations: 3.984 kB / 3.664 GB, free: 199.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00896/8.837, allocations: 4.047 MB / 3.668 GB, free: 195.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/8.837, allocations: 4 kB / 3.668 GB, free: 195.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000892/8.838, allocations: 203.5 kB / 3.668 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003465/8.839, allocations: 116.5 kB / 3.668 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.223e-05/8.839, allocations: 34.8 kB / 3.668 GB, free: 194.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009909/8.84, allocations: 1.282 MB / 3.669 GB, free: 193.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/8.84, allocations: 0 / 3.669 GB, free: 193.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005094/8.845, allocations: 2.324 MB / 3.672 GB, free: 191 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001434/8.846, allocations: 0.5842 MB / 3.672 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007328/8.847, allocations: 6.969 kB / 3.672 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00196/8.849, allocations: 114.2 kB / 3.672 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/8.849, allocations: 56.39 kB / 3.672 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/8.849, allocations: 79.97 kB / 3.672 GB, free: 190.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003152/8.852, allocations: 1.79 MB / 3.674 GB, free: 188.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/8.852, allocations: 3.656 kB / 3.674 GB, free: 188.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00455/8.857, allocations: 0.9543 MB / 3.675 GB, free: 187.3 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.008325/8.865, allocations: 4.901 MB / 3.68 GB, free: 182.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005826/8.871, allocations: 4.978 MB / 3.685 GB, free: 177.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/8.871, allocations: 4 kB / 3.685 GB, free: 177.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008961/8.872, allocations: 0.6326 MB / 3.685 GB, free: 177.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002743/8.875, allocations: 362.6 kB / 3.686 GB, free: 176.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006638/8.882, allocations: 2.694 MB / 3.688 GB, free: 174 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008181/8.882, allocations: 1.37 MB / 3.69 GB, free: 172.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004214/8.887, allocations: 0.9114 MB / 3.691 GB, free: 171.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007572/8.887, allocations: 0.6398 MB / 3.691 GB, free: 171.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.312e-06/8.887, allocations: 0 / 3.691 GB, free: 171.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08476/8.972, allocations: 53.37 MB / 3.743 GB, free: 118.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/8.972, allocations: 174.1 kB / 3.743 GB, free: 118.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.245/13.22, allocations: 0 / 3.743 GB, free: 118.3 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_Damper.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)