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.793/1.793, allocations: 285.4 MB / 298 MB, free: 5.91 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.001075/0.001074, allocations: 188.8 kB / 366.4 MB, free: 2.07 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.808/1.808, allocations: 205.1 MB / 0.6248 GB, free: 7.73 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.0008618/0.0008618, allocations: 83 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.038e-05/5.041e-05, allocations: 4 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9266/0.9266, allocations: 115.3 MB / 0.971 GB, free: 77.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.567/6.494, allocations: 2.086 GB / 3.057 GB, free: 7.445 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/6.494, allocations: 91.03 kB / 3.057 GB, free: 7.398 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.541/9.035, allocations: 0.5778 GB / 3.634 GB, free: 174 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.703e-06/9.035, allocations: 0 / 3.634 GB, free: 174 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002405/9.036, allocations: 39.98 kB / 3.635 GB, free: 174 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.005016/9.041, allocations: 1.827 MB / 3.636 GB, free: 172.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/9.041, allocations: 8.031 kB / 3.636 GB, free: 172.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003399/9.041, allocations: 110.5 kB / 3.636 GB, free: 172 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003789/9.045, allocations: 0.5006 MB / 3.637 GB, free: 171.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004497/9.049, allocations: 2.009 MB / 3.639 GB, free: 169.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/9.049, allocations: 93.25 kB / 3.639 GB, free: 169.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004647/9.05, allocations: 128 kB / 3.639 GB, free: 169.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002144/9.052, allocations: 1.284 MB / 3.64 GB, free: 167.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/9.052, allocations: 4 kB / 3.64 GB, free: 167.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/9.052, allocations: 28 kB / 3.64 GB, free: 167.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.634e-05/9.052, allocations: 19.09 kB / 3.64 GB, free: 167.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/9.054, allocations: 1.465 MB / 3.642 GB, free: 166.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.009202/9.063, allocations: 5.837 MB / 3.648 GB, free: 160.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/9.065, allocations: 1.349 MB / 3.649 GB, free: 158.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000814/9.066, allocations: 0.6583 MB / 3.649 GB, free: 158.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004106/9.067, allocations: 458 kB / 3.65 GB, free: 157.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/9.067, allocations: 43.08 kB / 3.65 GB, free: 157.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 3.226e-06/9.067, allocations: 4 kB / 3.65 GB, free: 157.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.003092/9.07, allocations: 1.56 MB / 3.651 GB, free: 156.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/9.07, allocations: 55.97 kB / 3.652 GB, free: 156.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004491/9.074, allocations: 2.629 MB / 3.654 GB, free: 153.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003231/9.075, allocations: 61.7 kB / 3.654 GB, free: 153.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007358/9.075, allocations: 0.7122 MB / 3.655 GB, free: 152.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/9.076, allocations: 193.1 kB / 3.655 GB, free: 152.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/9.076, allocations: 32 kB / 3.655 GB, free: 152.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001436/9.076, allocations: 389.8 kB / 3.655 GB, free: 152 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00181/9.078, allocations: 1.601 MB / 3.657 GB, free: 150.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002229/9.08, allocations: 2.078 MB / 3.659 GB, free: 148.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002184/9.082, allocations: 1.759 MB / 3.661 GB, free: 146.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/9.082, allocations: 0 / 3.661 GB, free: 146.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.005572/9.088, allocations: 3.944 MB / 3.665 GB, free: 142.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000435/9.088, allocations: 2.087 MB / 3.667 GB, free: 140.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/9.088, allocations: 8 kB / 3.667 GB, free: 140.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006156/9.089, allocations: 144.7 kB / 3.667 GB, free: 140 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/9.091, allocations: 415.4 kB / 3.667 GB, free: 139.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007494/9.091, allocations: 1.216 MB / 3.668 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002839/9.094, allocations: 357.4 kB / 3.669 GB, free: 138 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002762/9.095, allocations: 140 kB / 3.669 GB, free: 137.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/9.095, allocations: 4 kB / 3.669 GB, free: 137.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004303/9.099, allocations: 3.749 MB / 3.673 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/9.099, allocations: 8.094 kB / 3.673 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/9.099, allocations: 12 kB / 3.673 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/9.1, allocations: 415.4 kB / 3.673 GB, free: 133.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.773e-05/9.1, allocations: 19.94 kB / 3.673 GB, free: 133.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002603/9.103, allocations: 294.2 kB / 3.673 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002473/9.103, allocations: 136 kB / 3.673 GB, free: 133.2 MB / 0.948 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 () * 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.000432/9.104, allocations: 217.8 kB / 3.674 GB, free: 133 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007275/9.105, allocations: 165.7 kB / 3.674 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003051/9.108, allocations: 1.785 MB / 3.675 GB, free: 131 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/9.108, allocations: 11.94 kB / 3.675 GB, free: 131 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/9.108, allocations: 0 / 3.675 GB, free: 131 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/9.108, allocations: 7.922 kB / 3.675 GB, free: 131 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007296/9.115, allocations: 3.735 MB / 3.679 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/9.115, allocations: 4 kB / 3.679 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008864/9.116, allocations: 208 kB / 3.679 GB, free: 127 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003938/9.116, allocations: 120.8 kB / 3.679 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-05/9.116, allocations: 43.97 kB / 3.679 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006314/9.117, allocations: 1.209 MB / 3.681 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/9.117, allocations: 8.188 kB / 3.681 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002836/9.12, allocations: 1.945 MB / 3.683 GB, free: 123.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001649/9.122, allocations: 0.5958 MB / 3.683 GB, free: 122.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008261/9.122, allocations: 16 kB / 3.683 GB, free: 122.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001974/9.124, allocations: 119.8 kB / 3.683 GB, free: 122.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/9.125, allocations: 52.45 kB / 3.683 GB, free: 122.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/9.125, allocations: 83.97 kB / 3.683 GB, free: 122.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00325/9.128, allocations: 1.99 MB / 3.685 GB, free: 120.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.41e-07/9.128, allocations: 0 / 3.685 GB, free: 120.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004652/9.133, allocations: 1.038 MB / 3.686 GB, free: 119.5 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.005626/9.138, allocations: 4.351 MB / 3.691 GB, free: 115 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005588/9.144, allocations: 5.099 MB / 3.696 GB, free: 109.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/9.144, allocations: 4.188 kB / 3.696 GB, free: 109.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009747/9.145, allocations: 0.6473 MB / 3.696 GB, free: 109.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003371/9.148, allocations: 496.2 kB / 3.697 GB, free: 108.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006866/9.155, allocations: 2.798 MB / 3.699 GB, free: 105.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009239/9.156, allocations: 1.369 MB / 3.701 GB, free: 104.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004404/9.161, allocations: 0.986 MB / 3.702 GB, free: 103.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008946/9.161, allocations: 0.6515 MB / 3.702 GB, free: 102.9 MB / 0.948 GB Notification: Performance of SimCode: time 7.51e-07/9.161, allocations: 0 / 3.702 GB, free: 102.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1136/9.275, allocations: 74.65 MB / 3.775 GB, free: 28.52 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/9.275, allocations: 224.4 kB / 3.775 GB, free: 28.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.18/14.46, allocations: 0 / 3.775 GB, free: 28.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)