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.701/1.701, allocations: 288.2 MB / 303.2 MB, free: 8.281 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.001208/0.001208, allocations: 173.1 kB / 371.8 MB, free: 10.29 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.052/2.052, allocations: 205.4 MB / 0.6305 GB, free: 9.988 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.0009571/0.0009571, allocations: 83.86 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004391/0.0004391, allocations: 10.84 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.066/6.367, allocations: 2.086 GB / 3.065 GB, free: 184.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/6.367, allocations: 103.4 kB / 3.065 GB, free: 184.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.694/9.061, allocations: 0.5784 GB / 3.644 GB, free: 206.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.884e-06/9.061, allocations: 0 / 3.644 GB, free: 206.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001412/9.061, allocations: 37.38 kB / 3.644 GB, free: 206.6 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.007112/9.068, allocations: 2.537 MB / 3.646 GB, free: 205.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/9.068, allocations: 11.53 kB / 3.646 GB, free: 205.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001663/9.068, allocations: 114.2 kB / 3.646 GB, free: 205.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003174/9.072, allocations: 0.4921 MB / 3.647 GB, free: 205.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003779/9.075, allocations: 2.059 MB / 3.649 GB, free: 205.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.146e-05/9.076, allocations: 89.91 kB / 3.649 GB, free: 205.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002307/9.076, allocations: 130 kB / 3.649 GB, free: 205.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002305/9.078, allocations: 1.388 MB / 3.65 GB, free: 205.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/9.078, allocations: 1.031 kB / 3.65 GB, free: 205.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.836e-05/9.078, allocations: 30.78 kB / 3.65 GB, free: 205.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/9.078, allocations: 16.75 kB / 3.65 GB, free: 205.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00334/9.082, allocations: 1.678 MB / 3.652 GB, free: 205.1 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.008691/9.09, allocations: 5.835 MB / 3.658 GB, free: 202.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003141/9.093, allocations: 1.52 MB / 3.659 GB, free: 202.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005381/9.094, allocations: 452.8 kB / 3.66 GB, free: 202.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/9.094, allocations: 41.64 kB / 3.66 GB, free: 202.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 3.076e-06/9.094, allocations: 0 / 3.66 GB, free: 202.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.007457/9.102, allocations: 2.619 MB / 3.662 GB, free: 201.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/9.102, allocations: 58.25 kB / 3.662 GB, free: 201.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004682/9.106, allocations: 2.691 MB / 3.665 GB, free: 201.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003588/9.107, allocations: 62.17 kB / 3.665 GB, free: 201.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006459/9.107, allocations: 0.7079 MB / 3.666 GB, free: 201.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002063/9.108, allocations: 199.8 kB / 3.666 GB, free: 201.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/9.108, allocations: 33.41 kB / 3.666 GB, free: 201.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001348/9.108, allocations: 376.9 kB / 3.666 GB, free: 201.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002759/9.111, allocations: 1.712 MB / 3.668 GB, free: 201 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002601/9.113, allocations: 2.198 MB / 3.67 GB, free: 200.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002473/9.116, allocations: 1.862 MB / 3.672 GB, free: 200.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/9.116, allocations: 3.844 kB / 3.672 GB, free: 200.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.006262/9.122, allocations: 4.177 MB / 3.676 GB, free: 200.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005282/9.122, allocations: 2.081 MB / 3.678 GB, free: 198.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/9.123, allocations: 6.656 kB / 3.678 GB, free: 198.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006342/9.123, allocations: 158.2 kB / 3.678 GB, free: 198.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/9.125, allocations: 412 kB / 3.678 GB, free: 198.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008566/9.126, allocations: 1.231 MB / 3.68 GB, free: 197 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00307/9.129, allocations: 366.8 kB / 3.68 GB, free: 196.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002392/9.129, allocations: 140.3 kB / 3.68 GB, free: 196.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/9.129, allocations: 3.25 kB / 3.68 GB, free: 196.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005329/9.134, allocations: 3.964 MB / 3.684 GB, free: 196.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/9.134, allocations: 3.812 kB / 3.684 GB, free: 196.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/9.134, allocations: 14.84 kB / 3.684 GB, free: 196.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/9.136, allocations: 418.1 kB / 3.684 GB, free: 196.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.109e-05/9.136, allocations: 16.69 kB / 3.684 GB, free: 196.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002856/9.139, allocations: 297.9 kB / 3.685 GB, free: 196.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002389/9.139, allocations: 135.4 kB / 3.685 GB, free: 196.8 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.00107/9.14, allocations: 0.5246 MB / 3.685 GB, free: 196.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008331/9.141, allocations: 165.8 kB / 3.686 GB, free: 196.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004077/9.145, allocations: 1.987 MB / 3.688 GB, free: 196.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/9.145, allocations: 7.578 kB / 3.688 GB, free: 196.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/9.145, allocations: 6.594 kB / 3.688 GB, free: 196.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/9.145, allocations: 3.797 kB / 3.688 GB, free: 196.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008506/9.154, allocations: 3.942 MB / 3.691 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/9.154, allocations: 0 / 3.691 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009342/9.155, allocations: 207.8 kB / 3.692 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004227/9.155, allocations: 135.4 kB / 3.692 GB, free: 195.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-05/9.155, allocations: 38.41 kB / 3.692 GB, free: 195.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008474/9.156, allocations: 1.227 MB / 3.693 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/9.156, allocations: 1.031 kB / 3.693 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00402/9.16, allocations: 2.137 MB / 3.695 GB, free: 194.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00181/9.162, allocations: 0.6014 MB / 3.696 GB, free: 194.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008201/9.163, allocations: 15.06 kB / 3.696 GB, free: 194.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002121/9.165, allocations: 122.3 kB / 3.696 GB, free: 194.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/9.165, allocations: 53.09 kB / 3.696 GB, free: 194.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/9.165, allocations: 83.47 kB / 3.696 GB, free: 194.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003846/9.169, allocations: 2.049 MB / 3.698 GB, free: 193.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.81e-07/9.169, allocations: 0 / 3.698 GB, free: 193.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005946/9.175, allocations: 1.039 MB / 3.699 GB, free: 193.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 () * 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.00982/9.185, allocations: 4.55 MB / 3.703 GB, free: 191.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008732/9.194, allocations: 5.35 MB / 3.709 GB, free: 191.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/9.194, allocations: 3.75 kB / 3.709 GB, free: 191.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001575/9.195, allocations: 0.7491 MB / 3.709 GB, free: 191.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003877/9.199, allocations: 0.4904 MB / 3.71 GB, free: 191.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/9.211, allocations: 7.767 MB / 3.717 GB, free: 186.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/9.212, allocations: 1.364 MB / 3.719 GB, free: 185.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003184/9.215, allocations: 0.6192 MB / 3.719 GB, free: 185.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001752/9.217, allocations: 0.7075 MB / 3.72 GB, free: 185.8 MB / 0.948 GB Notification: Performance of SimCode: time 9.678e-06/9.217, allocations: 0 / 3.72 GB, free: 185.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1159/9.333, allocations: 68.69 MB / 3.787 GB, free: 177.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002214/9.333, allocations: 253.3 kB / 3.787 GB, free: 177.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.347/13.68, allocations: 8 kB / 3.787 GB, free: 177.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)