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.001674/0.001674, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.741/1.741, allocations: 205.2 MB / 219.4 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008992/0.0008991, allocations: 94.66 kB / 267.5 MB, free: 14.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3205/0.3205, allocations: 48.78 MB / 364.3 MB, free: 6.879 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.172e-05/3.175e-05, allocations: 4 kB / 432.6 MB, free: 16.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1369, allocations: 60.25 MB / 492.8 MB, free: 4.297 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.249/9.386, allocations: 2.881 GB / 3.362 GB, free: 58.75 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/9.387, allocations: 84.69 kB / 3.362 GB, free: 58.71 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9004/10.29, allocations: 210.2 MB / 3.567 GB, free: 62.01 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.054e-06/10.29, allocations: 0 / 3.567 GB, free: 62.01 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.437e-05/10.29, allocations: 12 kB / 3.567 GB, free: 62 MB / 0.5105 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.004616/10.29, allocations: 1.002 MB / 3.568 GB, free: 60.95 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/10.29, allocations: 8.031 kB / 3.568 GB, free: 60.95 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/10.29, allocations: 58.55 kB / 3.568 GB, free: 60.88 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002123/10.29, allocations: 55.52 kB / 3.568 GB, free: 60.82 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004735/10.29, allocations: 318.6 kB / 3.569 GB, free: 60.48 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/10.29, allocations: 16.56 kB / 3.569 GB, free: 60.46 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.404e-05/10.29, allocations: 36.58 kB / 3.569 GB, free: 60.43 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005346/10.29, allocations: 338.5 kB / 3.569 GB, free: 60.05 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/10.29, allocations: 0 / 3.569 GB, free: 60.05 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/10.29, allocations: 12 kB / 3.569 GB, free: 60.04 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/10.29, allocations: 8 kB / 3.569 GB, free: 60.04 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003693/10.29, allocations: 202.1 kB / 3.569 GB, free: 59.84 MB / 0.5105 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.001505/10.3, allocations: 1.31 MB / 3.57 GB, free: 58.41 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004075/10.3, allocations: 206.3 kB / 3.571 GB, free: 58.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/10.3, allocations: 104.8 kB / 3.571 GB, free: 58.09 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05386/10.35, allocations: 31.97 MB / 3.602 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/10.35, allocations: 34.56 kB / 3.602 GB, free: 22.25 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=23): time 3.286e-06/10.35, allocations: 0 / 3.602 GB, free: 22.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=27): time 0.002004/10.35, allocations: 0.8462 MB / 3.603 GB, free: 21.35 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/10.35, allocations: 55.88 kB / 3.603 GB, free: 21.29 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/10.35, allocations: 267.6 kB / 3.603 GB, free: 21.02 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/10.35, allocations: 29.7 kB / 3.603 GB, free: 20.98 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.003e-05/10.35, allocations: 184.4 kB / 3.603 GB, free: 20.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.404e-05/10.35, allocations: 90.66 kB / 3.603 GB, free: 20.71 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.251e-05/10.35, allocations: 4 kB / 3.603 GB, free: 20.71 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.995e-05/10.35, allocations: 354.8 kB / 3.604 GB, free: 20.35 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/10.35, allocations: 84 kB / 3.604 GB, free: 20.27 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/10.35, allocations: 105.6 kB / 3.604 GB, free: 20.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/10.35, allocations: 96.42 kB / 3.604 GB, free: 20.07 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/10.35, allocations: 0 / 3.604 GB, free: 20.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009526/10.35, allocations: 457.6 kB / 3.604 GB, free: 19.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.685e-05/10.35, allocations: 178 kB / 3.605 GB, free: 19.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/10.35, allocations: 8.031 kB / 3.605 GB, free: 19.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/10.36, allocations: 263.8 kB / 3.605 GB, free: 19.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/10.36, allocations: 35.98 kB / 3.605 GB, free: 19.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008499/10.36, allocations: 0.7981 MB / 3.606 GB, free: 18.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/10.36, allocations: 35.94 kB / 3.606 GB, free: 18.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/10.36, allocations: 12 kB / 3.606 GB, free: 18.25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.216e-06/10.36, allocations: 4 kB / 3.606 GB, free: 18.25 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008621/10.36, allocations: 384.4 kB / 3.606 GB, free: 17.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-06/10.36, allocations: 0 / 3.606 GB, free: 17.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009244/10.36, allocations: 240.6 kB / 3.606 GB, free: 17.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/10.36, allocations: 39.92 kB / 3.606 GB, free: 17.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007082/10.36, allocations: 0.7752 MB / 3.607 GB, free: 16.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/10.36, allocations: 36.03 kB / 3.607 GB, free: 16.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/10.36, allocations: 8 kB / 3.607 GB, free: 16.75 MB / 0.5105 GB 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 9.406e-05/10.36, allocations: 120.9 kB / 3.607 GB, free: 16.62 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.875e-05/10.36, allocations: 39.53 kB / 3.607 GB, free: 16.58 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007566/10.36, allocations: 0.5021 MB / 3.608 GB, free: 16.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/10.36, allocations: 15.92 kB / 3.608 GB, free: 16.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/10.36, allocations: 0 / 3.608 GB, free: 16.05 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/10.36, allocations: 4 kB / 3.608 GB, free: 16.05 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/10.36, allocations: 0.9928 MB / 3.609 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/10.36, allocations: 0 / 3.609 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003244/10.36, allocations: 75.89 kB / 3.609 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000248/10.36, allocations: 52.81 kB / 3.609 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/10.36, allocations: 15.94 kB / 3.609 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009067/10.36, allocations: 1.331 MB / 3.61 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/10.36, allocations: 0 / 3.61 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007821/10.36, allocations: 0.6236 MB / 3.611 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/10.36, allocations: 136.5 kB / 3.611 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/10.36, allocations: 4 kB / 3.611 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/10.36, allocations: 32.06 kB / 3.611 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.721e-05/10.36, allocations: 23.97 kB / 3.611 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/10.36, allocations: 7.938 kB / 3.611 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000174/10.36, allocations: 214.2 kB / 3.611 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/10.36, allocations: 0 / 3.611 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005273/10.37, allocations: 0.8899 MB / 3.612 GB, free: 11.42 MB / 0.5105 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.007752/10.38, allocations: 2.257 MB / 3.614 GB, free: 9.141 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001486/10.38, allocations: 0.53 MB / 3.615 GB, free: 8.609 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/10.38, allocations: 0 / 3.615 GB, free: 8.609 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004103/10.38, allocations: 294.5 kB / 3.615 GB, free: 8.309 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008804/10.38, allocations: 139.8 kB / 3.615 GB, free: 8.176 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004237/10.38, allocations: 1.081 MB / 3.616 GB, free: 7.059 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/10.39, allocations: 0.8122 MB / 3.617 GB, free: 6.219 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002694/10.39, allocations: 54.88 kB / 3.617 GB, free: 6.164 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/10.39, allocations: 123.4 kB / 3.617 GB, free: 6.043 MB / 0.5105 GB Notification: Performance of SimCode: time 1.322e-06/10.39, allocations: 3.938 kB / 3.617 GB, free: 6.039 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4257/10.81, allocations: 34.9 MB / 3.651 GB, free: 91.58 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/10.81, allocations: 181 kB / 3.652 GB, free: 91.35 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.997/13.81, allocations: 0 / 3.652 GB, free: 91.35 MB / 0.5105 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)