Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.598/2.598, allocations: 287.3 MB / 302.3 MB, free: 8.301 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.001562/0.001561, allocations: 186.7 kB / 370.8 MB, free: 10.86 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.12/2.12, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 100.8 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006751/0.0006752, allocations: 10.53 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2197, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.199/7.419, allocations: 2.085 GB / 3.064 GB, free: 187.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003665/7.42, allocations: 94.27 kB / 3.064 GB, free: 187.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.422/10.84, allocations: 0.5784 GB / 3.642 GB, free: 204.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.459e-06/10.84, allocations: 1 kB / 3.642 GB, free: 204.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003569/10.84, allocations: 38.36 kB / 3.642 GB, free: 204.8 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.01353/10.86, allocations: 2.543 MB / 3.645 GB, free: 204 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/10.86, allocations: 7.188 kB / 3.645 GB, free: 204 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006456/10.86, allocations: 113.2 kB / 3.645 GB, free: 203.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006071/10.86, allocations: 497.6 kB / 3.645 GB, free: 203.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007369/10.87, allocations: 2.051 MB / 3.647 GB, free: 203.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/10.87, allocations: 95.56 kB / 3.647 GB, free: 203.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004318/10.87, allocations: 125.8 kB / 3.648 GB, free: 203.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004713/10.88, allocations: 1.395 MB / 3.649 GB, free: 203.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.604e-05/10.88, allocations: 3.844 kB / 3.649 GB, free: 203.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/10.88, allocations: 27.25 kB / 3.649 GB, free: 203.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.754e-05/10.88, allocations: 16.34 kB / 3.649 GB, free: 203.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005725/10.88, allocations: 1.677 MB / 3.651 GB, free: 203.3 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.01466/10.9, allocations: 5.839 MB / 3.656 GB, free: 201 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005717/10.9, allocations: 1.527 MB / 3.658 GB, free: 200.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006102/10.9, allocations: 447.8 kB / 3.658 GB, free: 200.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/10.9, allocations: 41.02 kB / 3.658 GB, free: 200.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 3.176e-06/10.9, allocations: 0 / 3.658 GB, free: 200.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.01086/10.91, allocations: 2.614 MB / 3.661 GB, free: 200.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/10.91, allocations: 62.25 kB / 3.661 GB, free: 200.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007756/10.92, allocations: 2.681 MB / 3.663 GB, free: 199.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006293/10.92, allocations: 63.88 kB / 3.664 GB, free: 199.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008493/10.92, allocations: 0.7181 MB / 3.664 GB, free: 199.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003053/10.92, allocations: 193.4 kB / 3.664 GB, free: 199.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002058/10.92, allocations: 30.53 kB / 3.664 GB, free: 199.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000146/10.92, allocations: 378.4 kB / 3.665 GB, free: 199.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004534/10.93, allocations: 1.718 MB / 3.667 GB, free: 199.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005309/10.93, allocations: 2.193 MB / 3.669 GB, free: 198.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004986/10.94, allocations: 1.864 MB / 3.67 GB, free: 198.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.37e-05/10.94, allocations: 0 / 3.67 GB, free: 198.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.01095/10.95, allocations: 4.187 MB / 3.675 GB, free: 198.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004904/10.95, allocations: 2.072 MB / 3.677 GB, free: 196.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/10.95, allocations: 5.094 kB / 3.677 GB, free: 196.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009941/10.95, allocations: 159.8 kB / 3.677 GB, free: 196.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003438/10.95, allocations: 420.3 kB / 3.677 GB, free: 196.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/10.96, allocations: 1.225 MB / 3.678 GB, free: 195.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004742/10.96, allocations: 367.3 kB / 3.679 GB, free: 195.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004307/10.96, allocations: 137.9 kB / 3.679 GB, free: 195.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/10.96, allocations: 6.094 kB / 3.679 GB, free: 195.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00957/10.97, allocations: 3.967 MB / 3.683 GB, free: 195.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/10.97, allocations: 3.906 kB / 3.683 GB, free: 195.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/10.97, allocations: 13.53 kB / 3.683 GB, free: 195.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002982/10.97, allocations: 419.6 kB / 3.683 GB, free: 195.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-05/10.97, allocations: 12.62 kB / 3.683 GB, free: 195.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004262/10.98, allocations: 295.1 kB / 3.683 GB, free: 195 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003371/10.98, allocations: 139.7 kB / 3.684 GB, free: 195 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.001332/10.98, allocations: 0.526 MB / 3.684 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000791/10.98, allocations: 171.1 kB / 3.684 GB, free: 194.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006722/10.99, allocations: 1.987 MB / 3.686 GB, free: 194.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/10.99, allocations: 7.25 kB / 3.686 GB, free: 194.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/10.99, allocations: 1.125 kB / 3.686 GB, free: 194.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/10.99, allocations: 3.281 kB / 3.686 GB, free: 194.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01308/11, allocations: 3.945 MB / 3.69 GB, free: 194.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/11, allocations: 0 / 3.69 GB, free: 194.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001702/11, allocations: 200.2 kB / 3.69 GB, free: 194.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007091/11, allocations: 137.4 kB / 3.69 GB, free: 194.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/11, allocations: 40.67 kB / 3.69 GB, free: 194.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/11, allocations: 1.227 MB / 3.692 GB, free: 193.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/11, allocations: 3.781 kB / 3.692 GB, free: 193.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006949/11.01, allocations: 2.146 MB / 3.694 GB, free: 192.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002394/11.01, allocations: 0.5929 MB / 3.694 GB, free: 192.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009114/11.01, allocations: 18.36 kB / 3.694 GB, free: 192.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003194/11.02, allocations: 122.9 kB / 3.694 GB, free: 192.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002148/11.02, allocations: 46.42 kB / 3.694 GB, free: 192.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002296/11.02, allocations: 87.94 kB / 3.695 GB, free: 192.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.005659/11.02, allocations: 2.048 MB / 3.697 GB, free: 192.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.81e-07/11.02, allocations: 0 / 3.697 GB, free: 192.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005086/11.03, allocations: 1.035 MB / 3.698 GB, free: 192.1 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.009284/11.04, allocations: 4.55 MB / 3.702 GB, free: 190.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01195/11.05, allocations: 5.351 MB / 3.707 GB, free: 190.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/11.05, allocations: 0 / 3.707 GB, free: 190.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002545/11.05, allocations: 0.7497 MB / 3.708 GB, free: 190.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00488/11.06, allocations: 490.1 kB / 3.708 GB, free: 190.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/11.07, allocations: 7.774 MB / 3.716 GB, free: 184.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/11.07, allocations: 1.366 MB / 3.717 GB, free: 184.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00414/11.08, allocations: 0.621 MB / 3.718 GB, free: 184.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002127/11.08, allocations: 0.7064 MB / 3.719 GB, free: 184.1 MB / 0.948 GB Notification: Performance of SimCode: time 2.354e-06/11.08, allocations: 0 / 3.719 GB, free: 184.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1568/11.23, allocations: 68.67 MB / 3.786 GB, free: 180 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/11.23, allocations: 256.6 kB / 3.786 GB, free: 179.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.704/16.94, allocations: 3.75 kB / 3.786 GB, free: 179.7 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_Damper.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)