Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.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.WaterPumps,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_WaterPumps",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.WaterPumps,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_WaterPumps",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.001584/0.001584, 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.999/1.999, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001237/0.001237, allocations: 78.67 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3763/0.3763, allocations: 48.78 MB / 364.3 MB, free: 6.863 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.667e-05/3.671e-05, allocations: 4 kB / 432.6 MB, free: 16.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.163, allocations: 60.25 MB / 492.8 MB, free: 4.293 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.103/8.267, allocations: 2.889 GB / 3.37 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001811/8.267, allocations: 87.08 kB / 3.37 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.644/9.911, allocations: 497.4 MB / 3.856 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.262e-06/9.911, allocations: 0 / 3.856 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.245e-05/9.911, allocations: 21.88 kB / 3.856 GB, free: 24.39 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.006144/9.917, allocations: 1.464 MB / 3.857 GB, free: 22.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 8.093e-05/9.917, allocations: 12.03 kB / 3.857 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003161/9.917, allocations: 110.5 kB / 3.857 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006616/9.918, allocations: 138.7 kB / 3.858 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002264/9.92, allocations: 0.7502 MB / 3.858 GB, free: 21.87 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/9.921, allocations: 147.1 kB / 3.858 GB, free: 21.71 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/9.921, allocations: 68 kB / 3.858 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/9.922, allocations: 0.8924 MB / 3.859 GB, free: 20.66 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/9.922, allocations: 3.984 kB / 3.859 GB, free: 20.66 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.266e-05/9.922, allocations: 34.84 kB / 3.859 GB, free: 20.62 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/9.922, allocations: 16 kB / 3.859 GB, free: 20.61 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009996/9.923, allocations: 0.536 MB / 3.86 GB, free: 20.07 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.003371/9.927, allocations: 3.533 MB / 3.863 GB, free: 16.25 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/9.928, allocations: 0.5095 MB / 3.864 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002444/9.928, allocations: 178.2 kB / 3.864 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4384/10.37, allocations: 32.1 MB / 3.895 GB, free: 63.96 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/10.37, allocations: 39.61 kB / 3.895 GB, free: 63.92 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=53): time 2.315e-06/10.37, allocations: 0 / 3.895 GB, free: 63.92 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53): time 0.002226/10.37, allocations: 0.6791 MB / 3.896 GB, free: 63.87 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/10.37, allocations: 61.78 kB / 3.896 GB, free: 63.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007444/10.37, allocations: 494.6 kB / 3.897 GB, free: 63.69 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.735e-05/10.37, allocations: 36.98 kB / 3.897 GB, free: 63.66 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/10.37, allocations: 355.1 kB / 3.897 GB, free: 63.55 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000202/10.37, allocations: 182.2 kB / 3.897 GB, free: 63.45 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/10.37, allocations: 13.06 kB / 3.897 GB, free: 63.45 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001505/10.37, allocations: 385 kB / 3.898 GB, free: 63.14 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/10.37, allocations: 129.5 kB / 3.898 GB, free: 63.14 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003144/10.37, allocations: 239.1 kB / 3.898 GB, free: 63.04 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/10.37, allocations: 161.5 kB / 3.898 GB, free: 63.04 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/10.37, allocations: 0.7031 kB / 3.898 GB, free: 63.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001356/10.37, allocations: 0.664 MB / 3.899 GB, free: 62.93 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002191/10.37, allocations: 1.138 MB / 3.9 GB, free: 61.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/10.37, allocations: 7.859 kB / 3.9 GB, free: 61.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/10.37, allocations: 279.1 kB / 3.9 GB, free: 61.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004205/10.37, allocations: 100.8 kB / 3.9 GB, free: 61.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/10.38, allocations: 1.898 MB / 3.902 GB, free: 60.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008263/10.38, allocations: 109.3 kB / 3.902 GB, free: 60.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.102e-05/10.38, allocations: 45.27 kB / 3.902 GB, free: 60.15 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/10.38, allocations: 8.562 kB / 3.902 GB, free: 60.15 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001493/10.38, allocations: 0.6014 MB / 3.903 GB, free: 60.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/10.38, allocations: 4.094 kB / 3.903 GB, free: 60.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006623/10.38, allocations: 202.7 kB / 3.903 GB, free: 60.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004335/10.38, allocations: 113.8 kB / 3.903 GB, free: 60.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009723/10.38, allocations: 1.801 MB / 3.905 GB, free: 58.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007294/10.38, allocations: 102.8 kB / 3.905 GB, free: 58.51 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.91e-05/10.38, allocations: 29.64 kB / 3.905 GB, free: 58.51 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (Pump3.int_Np,Pump2.int_Np,Pump1.int_Np,Pump3.inletFluidState.phase,Pump2.inletFluidState.phase,Pump1.inletFluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002146/10.38, allocations: 138.2 kB / 3.905 GB, free: 58.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/10.38, allocations: 75.47 kB / 3.905 GB, free: 58.36 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001941/10.38, allocations: 1.414 MB / 3.907 GB, free: 58.22 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.967e-05/10.38, allocations: 17.62 kB / 3.907 GB, free: 58.22 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/10.38, allocations: 0 / 3.907 GB, free: 58.22 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/10.38, allocations: 3.75 kB / 3.907 GB, free: 58.22 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/10.38, allocations: 0.8151 MB / 3.907 GB, free: 58.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/10.38, allocations: 0 / 3.907 GB, free: 58.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004427/10.39, allocations: 77.09 kB / 3.907 GB, free: 58.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002013/10.39, allocations: 1.214 MB / 3.909 GB, free: 57.99 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.64e-05/10.39, allocations: 10.19 kB / 3.909 GB, free: 57.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002021/10.39, allocations: 2.508 MB / 3.911 GB, free: 56.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/10.39, allocations: 8.141 kB / 3.911 GB, free: 56.41 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002421/10.39, allocations: 1.707 MB / 3.913 GB, free: 56.13 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004898/10.39, allocations: 209.1 kB / 3.913 GB, free: 55.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.843e-05/10.39, allocations: 10.34 kB / 3.913 GB, free: 55.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000532/10.39, allocations: 68.75 kB / 3.913 GB, free: 55.99 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/10.39, allocations: 40.14 kB / 3.913 GB, free: 55.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.265e-05/10.39, allocations: 21.08 kB / 3.913 GB, free: 55.99 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006013/10.39, allocations: 390 kB / 3.913 GB, free: 55.89 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.21e-07/10.39, allocations: 0 / 3.913 GB, free: 55.89 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006081/10.4, allocations: 1.192 MB / 3.915 GB, free: 55.88 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Pump1.h,Pump2.h,Pump3.h) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 8,2 8,2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0117/10.41, allocations: 3.404 MB / 3.918 GB, free: 55.04 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00256/10.41, allocations: 0.8563 MB / 3.919 GB, free: 55.02 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/10.41, allocations: 0 / 3.919 GB, free: 55.02 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009365/10.42, allocations: 426 kB / 3.919 GB, free: 55.01 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/10.42, allocations: 353.7 kB / 3.92 GB, free: 55 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005983/10.42, allocations: 1.747 MB / 3.921 GB, free: 54.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006079/10.42, allocations: 0.9956 MB / 3.922 GB, free: 53.89 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001076/10.42, allocations: 247.7 kB / 3.922 GB, free: 53.88 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003568/10.43, allocations: 299.1 kB / 3.923 GB, free: 53.88 MB / 0.5261 GB Notification: Performance of SimCode: time 1.042e-06/10.43, allocations: 1.188 kB / 3.923 GB, free: 53.88 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09243/10.52, allocations: 58.51 MB / 3.98 GB, free: 51.85 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001546/10.52, allocations: 172.4 kB / 3.98 GB, free: 51.62 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.111/14.63, allocations: 0 / 3.98 GB, free: 51.62 MB / 0.5261 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_WaterPumps_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_WaterPumps.fmu > ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.pipe 2>&1)