Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) 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) Running command: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestAccumulator,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestAccumulator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestAccumulator,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestAccumulator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00177/0.00177, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008433/0.0008432, allocations: 82.73 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4866/0.4866, allocations: 48.77 MB / 358.8 MB, free: 53.17 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.806e-05/1.809e-05, allocations: 224 / 425.4 MB, free: 8.133 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1278, allocations: 60.26 MB / 485.6 MB, free: 11.73 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.487/8.615, allocations: 2.88 GB / 3.354 GB, free: 116.3 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/8.616, allocations: 76.58 kB / 3.354 GB, free: 116.3 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 0.942/9.558, allocations: 208.1 MB / 3.557 GB, free: 81.59 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.094e-06/9.558, allocations: 0 / 3.557 GB, free: 81.59 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 4.764e-05/9.558, allocations: 7.219 kB / 3.557 GB, free: 81.59 MB / 0.5108 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.005595/9.563, allocations: 0.9985 MB / 3.558 GB, free: 80.95 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 7.279e-05/9.563, allocations: 10.78 kB / 3.558 GB, free: 80.95 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003406/9.564, allocations: 55.77 kB / 3.558 GB, free: 80.92 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007212/9.564, allocations: 315.7 kB / 3.559 GB, free: 80.66 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/9.565, allocations: 11.53 kB / 3.559 GB, free: 80.66 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.396e-05/9.565, allocations: 15.75 kB / 3.559 GB, free: 80.66 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003527/9.565, allocations: 161.5 kB / 3.559 GB, free: 80.61 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005312/9.566, allocations: 281.2 kB / 3.559 GB, free: 80.42 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/9.566, allocations: 0 / 3.559 GB, free: 80.42 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/9.566, allocations: 3.469 kB / 3.559 GB, free: 80.42 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/9.566, allocations: 3.625 kB / 3.559 GB, free: 80.42 MB / 0.5108 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.001734/9.567, allocations: 1.249 MB / 3.56 GB, free: 79.46 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003329/9.568, allocations: 184.4 kB / 3.561 GB, free: 79.36 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/9.568, allocations: 88.48 kB / 3.561 GB, free: 79.32 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06427/9.632, allocations: 31.97 MB / 3.592 GB, free: 59.09 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/9.632, allocations: 38.45 kB / 3.592 GB, free: 59.04 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=23): time 2.775e-06/9.632, allocations: 0 / 3.592 GB, free: 59.04 MB / 0.5108 GB Notification: Performance of matching and sorting (n=27): time 0.002523/9.635, allocations: 0.783 MB / 3.593 GB, free: 58.56 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/9.635, allocations: 59.5 kB / 3.593 GB, free: 58.5 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/9.635, allocations: 212 kB / 3.593 GB, free: 58.37 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/9.635, allocations: 25.7 kB / 3.593 GB, free: 58.34 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/9.635, allocations: 189.4 kB / 3.593 GB, free: 58.18 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 9.482e-05/9.635, allocations: 93.08 kB / 3.593 GB, free: 58.11 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.367e-05/9.635, allocations: 0 / 3.593 GB, free: 58.11 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0001291/9.636, allocations: 345.2 kB / 3.594 GB, free: 57.78 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/9.636, allocations: 74.19 kB / 3.594 GB, free: 57.75 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/9.636, allocations: 101.4 kB / 3.594 GB, free: 57.69 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/9.636, allocations: 94.14 kB / 3.594 GB, free: 57.65 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/9.636, allocations: 0 / 3.594 GB, free: 57.65 MB / 0.5108 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001108/9.637, allocations: 429 kB / 3.594 GB, free: 57.47 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 9.735e-05/9.637, allocations: 181.7 kB / 3.594 GB, free: 57.29 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/9.637, allocations: 0 / 3.594 GB, free: 57.29 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/9.638, allocations: 251.4 kB / 3.595 GB, free: 57.23 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/9.639, allocations: 38.38 kB / 3.595 GB, free: 57.22 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/9.64, allocations: 0.8307 MB / 3.595 GB, free: 56.58 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/9.64, allocations: 26.78 kB / 3.595 GB, free: 56.57 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/9.64, allocations: 7.031 kB / 3.595 GB, free: 56.57 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/9.64, allocations: 3.594 kB / 3.595 GB, free: 56.57 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009179/9.641, allocations: 350.1 kB / 3.596 GB, free: 56.45 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/9.641, allocations: 0 / 3.596 GB, free: 56.45 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008819/9.642, allocations: 237.5 kB / 3.596 GB, free: 56.4 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/9.642, allocations: 39.23 kB / 3.596 GB, free: 56.4 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008348/9.643, allocations: 0.8073 MB / 3.597 GB, free: 55.76 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/9.643, allocations: 26.95 kB / 3.597 GB, free: 55.75 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/9.643, allocations: 11.69 kB / 3.597 GB, free: 55.75 MB / 0.5108 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.Accumulator1.Vl:DUMMY_DER(fixed = false ) "Volume occupied by water" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (Accumulator1.liquidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002239/9.643, allocations: 107.1 kB / 3.597 GB, free: 55.64 MB / 0.5108 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005718/9.644, allocations: 272 kB / 3.597 GB, free: 55.51 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.864e-05/9.644, allocations: 27 kB / 3.597 GB, free: 55.5 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008665/9.645, allocations: 0.4987 MB / 3.598 GB, free: 55.25 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/9.645, allocations: 7.031 kB / 3.598 GB, free: 55.25 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/9.645, allocations: 7.359 kB / 3.598 GB, free: 55.25 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/9.645, allocations: 0 / 3.598 GB, free: 55.25 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/9.646, allocations: 0.9223 MB / 3.599 GB, free: 54.71 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/9.646, allocations: 3.594 kB / 3.599 GB, free: 54.71 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003352/9.647, allocations: 78.98 kB / 3.599 GB, free: 54.7 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000259/9.647, allocations: 53 kB / 3.599 GB, free: 54.68 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.308e-05/9.647, allocations: 8.078 kB / 3.599 GB, free: 54.68 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009913/9.648, allocations: 1.289 MB / 3.6 GB, free: 53.4 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/9.648, allocations: 7.125 kB / 3.6 GB, free: 53.4 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008352/9.649, allocations: 0.5976 MB / 3.601 GB, free: 53.05 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/9.649, allocations: 122.7 kB / 3.601 GB, free: 52.93 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/9.649, allocations: 2.312 kB / 3.601 GB, free: 52.93 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/9.649, allocations: 27.91 kB / 3.601 GB, free: 52.93 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.4e-05/9.65, allocations: 26.06 kB / 3.601 GB, free: 52.92 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/9.65, allocations: 7.609 kB / 3.601 GB, free: 52.92 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0001541/9.65, allocations: 170.3 kB / 3.601 GB, free: 52.81 MB / 0.5108 GB Notification: Performance of sort global known variables: time 3e-07/9.65, allocations: 0 / 3.601 GB, free: 52.81 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.005343/9.655, allocations: 0.8665 MB / 3.602 GB, free: 52.66 MB / 0.5108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Accumulator1.zl,Accumulator1.hl,Accumulator1.rhog,Accumulator1.Tg) * Number of discrete variables: 2 ($cse1.phase,$cse1.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01013/9.665, allocations: 2.29 MB / 3.604 GB, free: 51.53 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.001792/9.667, allocations: 0.5215 MB / 3.605 GB, free: 51.35 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/9.667, allocations: 3.938 kB / 3.605 GB, free: 51.34 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.0005251/9.668, allocations: 274.7 kB / 3.605 GB, free: 51.17 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009316/9.669, allocations: 102.2 kB / 3.605 GB, free: 51.15 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005441/9.674, allocations: 1.053 MB / 3.606 GB, free: 50.54 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/9.674, allocations: 0.8092 MB / 3.607 GB, free: 49.84 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.0003056/9.675, allocations: 50.95 kB / 3.607 GB, free: 49.82 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001955/9.675, allocations: 126.7 kB / 3.607 GB, free: 49.72 MB / 0.5108 GB Notification: Performance of SimCode: time 9.02e-07/9.675, allocations: 0 / 3.607 GB, free: 49.72 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07571/9.751, allocations: 28.64 MB / 3.635 GB, free: 40.33 MB / 0.5108 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002432/9.751, allocations: 139.5 kB / 3.635 GB, free: 40.13 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.431/13.18, allocations: 0 / 3.635 GB, free: 40.13 MB / 0.5108 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestAccumulator_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestAccumulator.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe 2>&1)