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 1.764/1.764, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001227/0.001227, allocations: 185 kB / 377.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2/2, allocations: 205.4 MB / 0.6366 GB, free: 8.523 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.0009507/0.0009508, allocations: 89.11 kB / 0.7509 GB, free: 63.05 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003912/0.0003913, allocations: 12 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2887, allocations: 116.3 MB / 0.9884 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.488/6.777, allocations: 2.087 GB / 3.075 GB, free: 93.82 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/6.777, allocations: 96.38 kB / 3.075 GB, free: 93.76 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.713/9.49, allocations: 0.5784 GB / 3.653 GB, free: 176.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.295e-06/9.49, allocations: 0 / 3.653 GB, free: 176.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001638/9.49, allocations: 35.34 kB / 3.654 GB, free: 176.7 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.01005/9.5, allocations: 2.533 MB / 3.656 GB, free: 175.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.779e-05/9.5, allocations: 11.81 kB / 3.656 GB, free: 175.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004693/9.501, allocations: 109.8 kB / 3.656 GB, free: 175.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004375/9.505, allocations: 0.4963 MB / 3.657 GB, free: 175.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005102/9.51, allocations: 2.059 MB / 3.659 GB, free: 175.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.236e-05/9.51, allocations: 88.03 kB / 3.659 GB, free: 175.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002324/9.511, allocations: 123 kB / 3.659 GB, free: 175.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002871/9.513, allocations: 1.387 MB / 3.66 GB, free: 174.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/9.513, allocations: 13.25 kB / 3.66 GB, free: 174.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/9.514, allocations: 27.5 kB / 3.66 GB, free: 174.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.05e-05/9.514, allocations: 21.95 kB / 3.66 GB, free: 174.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003342/9.517, allocations: 1.673 MB / 3.662 GB, free: 174.8 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01135/9.528, allocations: 5.842 MB / 3.668 GB, free: 172.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002953/9.531, allocations: 1.525 MB / 3.669 GB, free: 172.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004924/9.532, allocations: 450.4 kB / 3.669 GB, free: 171.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/9.532, allocations: 44.22 kB / 3.67 GB, free: 171.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 2.836e-06/9.532, allocations: 0 / 3.67 GB, free: 171.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.006195/9.538, allocations: 2.612 MB / 3.672 GB, free: 171.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/9.538, allocations: 55.84 kB / 3.672 GB, free: 171.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005796/9.544, allocations: 2.683 MB / 3.675 GB, free: 170.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009281/9.545, allocations: 61.48 kB / 3.675 GB, free: 170.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001133/9.546, allocations: 0.7173 MB / 3.676 GB, free: 169.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000499/9.547, allocations: 195.5 kB / 3.676 GB, free: 169.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003904/9.547, allocations: 39.64 kB / 3.676 GB, free: 169.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001945/9.547, allocations: 378.4 kB / 3.676 GB, free: 169.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003171/9.55, allocations: 1.715 MB / 3.678 GB, free: 168.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0033/9.554, allocations: 2.19 MB / 3.68 GB, free: 167.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00296/9.557, allocations: 1.866 MB / 3.682 GB, free: 167 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/9.557, allocations: 0 / 3.682 GB, free: 167 MB / 0.948 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.007669/9.564, allocations: 4.177 MB / 3.686 GB, free: 165.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000592/9.565, allocations: 2.082 MB / 3.688 GB, free: 163.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/9.565, allocations: 2.938 kB / 3.688 GB, free: 163.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007157/9.566, allocations: 153.8 kB / 3.688 GB, free: 163.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00192/9.568, allocations: 428.2 kB / 3.688 GB, free: 163.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009956/9.569, allocations: 1.227 MB / 3.69 GB, free: 162.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003706/9.572, allocations: 367.6 kB / 3.69 GB, free: 162 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004093/9.573, allocations: 137.3 kB / 3.69 GB, free: 161.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/9.573, allocations: 5.781 kB / 3.69 GB, free: 161.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006899/9.58, allocations: 3.962 MB / 3.694 GB, free: 160.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/9.58, allocations: 3.875 kB / 3.694 GB, free: 160.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.375e-05/9.58, allocations: 12.31 kB / 3.694 GB, free: 160.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/9.582, allocations: 421.7 kB / 3.694 GB, free: 160.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.412e-05/9.582, allocations: 15.22 kB / 3.694 GB, free: 160.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003913/9.586, allocations: 297.6 kB / 3.695 GB, free: 160.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003731/9.586, allocations: 131.8 kB / 3.695 GB, free: 160.5 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 () * Number of clocked 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.001581/9.588, allocations: 0.5181 MB / 3.695 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001275/9.589, allocations: 173.2 kB / 3.695 GB, free: 160.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004581/9.594, allocations: 1.986 MB / 3.697 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/9.594, allocations: 14.58 kB / 3.697 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/9.594, allocations: 0 / 3.697 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/9.594, allocations: 6.828 kB / 3.697 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009856/9.604, allocations: 3.939 MB / 3.701 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/9.604, allocations: 3.281 kB / 3.701 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/9.605, allocations: 200.5 kB / 3.701 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004901/9.605, allocations: 136.2 kB / 3.702 GB, free: 158.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001295/9.605, allocations: 36.66 kB / 3.702 GB, free: 158.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009555/9.606, allocations: 1.228 MB / 3.703 GB, free: 157 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/9.606, allocations: 3.594 kB / 3.703 GB, free: 157 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004813/9.611, allocations: 2.154 MB / 3.705 GB, free: 156 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002485/9.614, allocations: 0.5951 MB / 3.706 GB, free: 155.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001146/9.615, allocations: 14.38 kB / 3.706 GB, free: 155.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002506/9.617, allocations: 121.5 kB / 3.706 GB, free: 155.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/9.618, allocations: 55.81 kB / 3.706 GB, free: 155.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001468/9.618, allocations: 80.92 kB / 3.706 GB, free: 155.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.004449/9.622, allocations: 2.045 MB / 3.708 GB, free: 154.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.4e-07/9.622, allocations: 0 / 3.708 GB, free: 154.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005845/9.628, allocations: 1.045 MB / 3.709 GB, free: 154.6 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 () * Number of clocked 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.00856/9.637, allocations: 4.544 MB / 3.713 GB, free: 152.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00885/9.645, allocations: 5.339 MB / 3.718 GB, free: 150.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/9.646, allocations: 0 / 3.718 GB, free: 150.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001561/9.647, allocations: 0.7517 MB / 3.719 GB, free: 150.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004145/9.651, allocations: 498.2 kB / 3.72 GB, free: 150.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01228/9.664, allocations: 7.775 MB / 3.727 GB, free: 144.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001394/9.665, allocations: 1.362 MB / 3.729 GB, free: 144 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003853/9.669, allocations: 0.6147 MB / 3.729 GB, free: 143.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002058/9.671, allocations: 0.7076 MB / 3.73 GB, free: 143.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.503e-06/9.671, allocations: 0 / 3.73 GB, free: 143.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1223/9.793, allocations: 68.67 MB / 3.797 GB, free: 92.36 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001588/9.793, allocations: 247.1 kB / 3.797 GB, free: 92.12 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.371/14.16, allocations: 4.062 kB / 3.797 GB, free: 92.11 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)