Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.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.WaterPump,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_WaterPump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.WaterPump,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_WaterPump",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.001094/0.001094, allocations: 176.8 kB / 8.348 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.966/1.966, 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.000961/0.0009611, allocations: 83.02 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.6089/0.6089, allocations: 48.78 MB / 358.8 MB, free: 53.18 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.541e-05/2.528e-05, allocations: 0 / 425.4 MB, free: 8.133 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1696, allocations: 60.26 MB / 485.7 MB, free: 11.72 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.52/7.69, allocations: 2.887 GB / 3.361 GB, free: 146.8 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/7.69, allocations: 80.69 kB / 3.361 GB, free: 146.8 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 0.8092/8.5, allocations: 218.7 MB / 3.575 GB, free: 88.17 MB / 0.5108 GB Notification: Performance of FrontEnd: time 5.811e-06/8.5, allocations: 3.219 kB / 3.575 GB, free: 88.17 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 3.438e-05/8.5, allocations: 15.36 kB / 3.575 GB, free: 88.17 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.005521/8.505, allocations: 1.008 MB / 3.576 GB, free: 87.75 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 6.411e-05/8.505, allocations: 10.5 kB / 3.576 GB, free: 87.75 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002209/8.506, allocations: 53 kB / 3.576 GB, free: 87.73 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000987/8.507, allocations: 396.3 kB / 3.576 GB, free: 87.52 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.79e-05/8.507, allocations: 40.27 kB / 3.576 GB, free: 87.48 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.841e-05/8.507, allocations: 17.75 kB / 3.576 GB, free: 87.48 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000379/8.507, allocations: 174.9 kB / 3.577 GB, free: 87.48 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004466/8.508, allocations: 286.8 kB / 3.577 GB, free: 87.36 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/8.508, allocations: 3 kB / 3.577 GB, free: 87.36 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.507e-05/8.508, allocations: 7.172 kB / 3.577 GB, free: 87.36 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/8.508, allocations: 6.438 kB / 3.577 GB, free: 87.36 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.001549/8.509, allocations: 1.31 MB / 3.578 GB, free: 86.41 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000341/8.51, allocations: 149.7 kB / 3.578 GB, free: 86.39 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/8.51, allocations: 82.78 kB / 3.578 GB, free: 86.38 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05694/8.567, allocations: 32.09 MB / 3.61 GB, free: 66.85 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.668e-05/8.567, allocations: 37.8 kB / 3.61 GB, free: 66.8 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=20): time 2.284e-06/8.567, allocations: 0 / 3.61 GB, free: 66.8 MB / 0.5108 GB Notification: Performance of matching and sorting (n=20): time 0.0011/8.568, allocations: 264.3 kB / 3.61 GB, free: 66.75 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/8.568, allocations: 53.56 kB / 3.61 GB, free: 66.68 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/8.568, allocations: 207.7 kB / 3.61 GB, free: 66.58 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/8.568, allocations: 26.64 kB / 3.61 GB, free: 66.55 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/8.568, allocations: 187.6 kB / 3.611 GB, free: 66.45 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 6.398e-05/8.568, allocations: 64.86 kB / 3.611 GB, free: 66.41 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.598e-05/8.568, allocations: 0 / 3.611 GB, free: 66.41 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 8.85e-05/8.569, allocations: 331.8 kB / 3.611 GB, free: 66.1 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/8.569, allocations: 59 kB / 3.611 GB, free: 66.1 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/8.569, allocations: 92.17 kB / 3.611 GB, free: 66.07 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/8.569, allocations: 62.41 kB / 3.611 GB, free: 66.07 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/8.569, allocations: 1.375 kB / 3.611 GB, free: 66.07 MB / 0.5108 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008137/8.57, allocations: 278.1 kB / 3.611 GB, free: 66 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001281/8.57, allocations: 358.2 kB / 3.612 GB, free: 65.64 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/8.57, allocations: 1.5 kB / 3.612 GB, free: 65.64 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005692/8.571, allocations: 110.7 kB / 3.612 GB, free: 65.63 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/8.571, allocations: 59.56 kB / 3.612 GB, free: 65.62 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006809/8.572, allocations: 0.6692 MB / 3.613 GB, free: 65.11 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003524/8.572, allocations: 50.8 kB / 3.613 GB, free: 65.1 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.353e-05/8.572, allocations: 15.11 kB / 3.613 GB, free: 65.1 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/8.572, allocations: 3.969 kB / 3.613 GB, free: 65.1 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006696/8.573, allocations: 215.1 kB / 3.613 GB, free: 65.08 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/8.573, allocations: 1.375 kB / 3.613 GB, free: 65.08 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002899/8.573, allocations: 74.95 kB / 3.613 GB, free: 65.07 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/8.573, allocations: 56.2 kB / 3.613 GB, free: 65.07 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005109/8.574, allocations: 0.6152 MB / 3.614 GB, free: 64.54 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/8.574, allocations: 55.7 kB / 3.614 GB, free: 64.53 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/8.574, allocations: 8.156 kB / 3.614 GB, free: 64.53 MB / 0.5108 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Pump.w:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate (total)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (Pump.int_Np,Pump.inletFluidState.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 {3 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002319/8.574, allocations: 111.8 kB / 3.614 GB, free: 64.43 MB / 0.5108 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000556/8.575, allocations: 214.6 kB / 3.614 GB, free: 64.37 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.215e-05/8.575, allocations: 33.62 kB / 3.614 GB, free: 64.35 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009719/8.576, allocations: 0.5059 MB / 3.614 GB, free: 64.29 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/8.576, allocations: 9.5 kB / 3.614 GB, free: 64.29 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/8.576, allocations: 3.953 kB / 3.614 GB, free: 64.28 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/8.576, allocations: 2.062 kB / 3.614 GB, free: 64.28 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000491/8.577, allocations: 348.2 kB / 3.615 GB, free: 64.12 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/8.577, allocations: 1.344 kB / 3.615 GB, free: 64.12 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/8.577, allocations: 53.7 kB / 3.615 GB, free: 64.12 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006613/8.578, allocations: 421.4 kB / 3.615 GB, free: 64.1 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/8.578, allocations: 1.25 kB / 3.615 GB, free: 64.1 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007272/8.578, allocations: 0.8814 MB / 3.616 GB, free: 63.57 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/8.578, allocations: 1.156 kB / 3.616 GB, free: 63.57 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/8.579, allocations: 0.6814 MB / 3.617 GB, free: 63.39 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/8.58, allocations: 136.5 kB / 3.617 GB, free: 63.28 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.639e-05/8.58, allocations: 9.797 kB / 3.617 GB, free: 63.27 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002871/8.58, allocations: 34.55 kB / 3.617 GB, free: 63.27 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.265e-05/8.58, allocations: 18.42 kB / 3.617 GB, free: 63.27 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/8.58, allocations: 9.656 kB / 3.617 GB, free: 63.27 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0001795/8.58, allocations: 160.2 kB / 3.617 GB, free: 63.19 MB / 0.5108 GB Notification: Performance of sort global known variables: time 1.5e-07/8.58, allocations: 0.9688 kB / 3.617 GB, free: 63.19 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.005862/8.586, allocations: 0.9117 MB / 3.618 GB, free: 63.04 MB / 0.5108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (Pump.h) * Number of discrete variables: 2 ($cse1.phase,$cse1.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.009603/8.596, allocations: 2.32 MB / 3.62 GB, free: 62.14 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.001103/8.597, allocations: 323.3 kB / 3.621 GB, free: 62.13 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/8.597, allocations: 7.188 kB / 3.621 GB, free: 62.12 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.0003527/8.597, allocations: 145.8 kB / 3.621 GB, free: 62.12 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007769/8.598, allocations: 96.05 kB / 3.621 GB, free: 62.11 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004435/8.602, allocations: 0.8524 MB / 3.622 GB, free: 61.74 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/8.603, allocations: 0.7931 MB / 3.622 GB, free: 61.04 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.000401/8.603, allocations: 87.84 kB / 3.622 GB, free: 61.02 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/8.603, allocations: 111.1 kB / 3.623 GB, free: 61.01 MB / 0.5108 GB Notification: Performance of SimCode: time 8.01e-07/8.603, allocations: 3.75 kB / 3.623 GB, free: 61.01 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07508/8.679, allocations: 28.67 MB / 3.651 GB, free: 59.49 MB / 0.5108 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002144/8.679, allocations: 125.4 kB / 3.651 GB, free: 59.3 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.195/11.87, allocations: 0 / 3.651 GB, free: 59.3 MB / 0.5108 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_WaterPump_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_WaterPump.fmu > ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.pipe 2>&1)