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.002667/0.002667, allocations: 180.8 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.041/2.041, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001028/0.001028, allocations: 97.53 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6015/0.6015, allocations: 48.78 MB / 367.9 MB, free: 47.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004295/0.0004295, allocations: 16 kB / 438.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1944, allocations: 60.24 MB / 499 MB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.987/8.182, allocations: 2.888 GB / 3.375 GB, free: 136.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004181/8.182, allocations: 81.77 kB / 3.375 GB, free: 136.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8223/9.005, allocations: 221.7 MB / 3.592 GB, free: 97.11 MB / 0.5105 GB Notification: Performance of FrontEnd: time 5.691e-06/9.005, allocations: 0 / 3.592 GB, free: 97.11 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.433e-05/9.005, allocations: 6.094 kB / 3.592 GB, free: 97.11 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.006042/9.011, allocations: 1.065 MB / 3.593 GB, free: 96.43 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/9.011, allocations: 7.781 kB / 3.593 GB, free: 96.43 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.435e-05/9.011, allocations: 64.69 kB / 3.593 GB, free: 96.39 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001906/9.011, allocations: 55.59 kB / 3.593 GB, free: 96.37 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/9.012, allocations: 403.4 kB / 3.593 GB, free: 96.13 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.263e-05/9.012, allocations: 51.48 kB / 3.593 GB, free: 96.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.578e-05/9.012, allocations: 29.48 kB / 3.593 GB, free: 96.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000757/9.013, allocations: 395.5 kB / 3.594 GB, free: 95.98 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/9.013, allocations: 1.406 kB / 3.594 GB, free: 95.98 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.551e-05/9.013, allocations: 11.16 kB / 3.594 GB, free: 95.98 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/9.013, allocations: 10.16 kB / 3.594 GB, free: 95.98 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007258/9.014, allocations: 304.6 kB / 3.594 GB, free: 95.97 MB / 0.5105 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.001588/9.016, allocations: 1.376 MB / 3.595 GB, free: 94.95 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006196/9.016, allocations: 226.8 kB / 3.596 GB, free: 94.92 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05515/9.071, allocations: 31.98 MB / 3.627 GB, free: 68.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/9.071, allocations: 36.84 kB / 3.627 GB, free: 68.66 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=20): time 2.575e-06/9.071, allocations: 0 / 3.627 GB, free: 68.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20): time 0.002601/9.074, allocations: 0.6593 MB / 3.627 GB, free: 68.18 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/9.074, allocations: 55.41 kB / 3.628 GB, free: 68.12 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/9.074, allocations: 240.7 kB / 3.628 GB, free: 67.94 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/9.074, allocations: 32.95 kB / 3.628 GB, free: 67.91 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/9.075, allocations: 177.9 kB / 3.628 GB, free: 67.79 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.46e-05/9.075, allocations: 66.45 kB / 3.628 GB, free: 67.73 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.398e-05/9.075, allocations: 4 kB / 3.628 GB, free: 67.73 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001096/9.075, allocations: 345.2 kB / 3.628 GB, free: 67.41 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002729/9.075, allocations: 97.47 kB / 3.628 GB, free: 67.35 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000342/9.075, allocations: 145.8 kB / 3.629 GB, free: 67.25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/9.076, allocations: 124.8 kB / 3.629 GB, free: 67.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/9.076, allocations: 0 / 3.629 GB, free: 67.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009705/9.077, allocations: 384.5 kB / 3.629 GB, free: 66.92 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/9.077, allocations: 363.6 kB / 3.629 GB, free: 66.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/9.077, allocations: 4.062 kB / 3.629 GB, free: 66.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005161/9.077, allocations: 96.22 kB / 3.63 GB, free: 66.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/9.078, allocations: 57.27 kB / 3.63 GB, free: 66.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005364/9.078, allocations: 0.6375 MB / 3.63 GB, free: 65.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003988/9.079, allocations: 63.16 kB / 3.63 GB, free: 65.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.405e-05/9.079, allocations: 19.69 kB / 3.63 GB, free: 65.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/9.079, allocations: 4 kB / 3.63 GB, free: 65.78 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009563/9.08, allocations: 329.5 kB / 3.631 GB, free: 65.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/9.08, allocations: 0 / 3.631 GB, free: 65.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002783/9.08, allocations: 83.78 kB / 3.631 GB, free: 65.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/9.08, allocations: 60.59 kB / 3.631 GB, free: 65.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004274/9.081, allocations: 0.6094 MB / 3.631 GB, free: 64.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000348/9.081, allocations: 59.02 kB / 3.631 GB, free: 64.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/9.081, allocations: 10.42 kB / 3.631 GB, free: 64.86 MB / 0.5105 GB 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 () * Number of clocked 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 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002583/9.081, allocations: 219.4 kB / 3.632 GB, free: 64.65 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.278e-05/9.081, allocations: 32.28 kB / 3.632 GB, free: 64.62 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/9.083, allocations: 0.6451 MB / 3.632 GB, free: 64.26 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/9.083, allocations: 3.375 kB / 3.632 GB, free: 64.26 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/9.083, allocations: 7.094 kB / 3.632 GB, free: 64.26 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/9.083, allocations: 3.75 kB / 3.632 GB, free: 64.26 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000512/9.083, allocations: 401.2 kB / 3.633 GB, free: 63.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/9.083, allocations: 4 kB / 3.633 GB, free: 63.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/9.083, allocations: 48.23 kB / 3.633 GB, free: 63.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00055/9.084, allocations: 356.5 kB / 3.633 GB, free: 63.67 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/9.084, allocations: 3.75 kB / 3.633 GB, free: 63.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006445/9.085, allocations: 0.8482 MB / 3.634 GB, free: 62.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/9.085, allocations: 0 / 3.634 GB, free: 62.97 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00135/9.086, allocations: 0.8593 MB / 3.635 GB, free: 62.42 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/9.086, allocations: 131.2 kB / 3.635 GB, free: 62.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.436e-05/9.086, allocations: 11.94 kB / 3.635 GB, free: 62.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/9.087, allocations: 36.48 kB / 3.635 GB, free: 62.26 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.413e-05/9.087, allocations: 25.14 kB / 3.635 GB, free: 62.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/9.087, allocations: 8 kB / 3.635 GB, free: 62.25 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001832/9.087, allocations: 204.2 kB / 3.635 GB, free: 62.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/9.087, allocations: 0 / 3.635 GB, free: 62.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005134/9.092, allocations: 0.9282 MB / 3.636 GB, free: 61.23 MB / 0.5105 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 () * Number of clocked 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.009845/9.102, allocations: 2.396 MB / 3.638 GB, free: 59.23 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001526/9.103, allocations: 476.1 kB / 3.639 GB, free: 58.93 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/9.103, allocations: 0 / 3.639 GB, free: 58.93 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004794/9.104, allocations: 215.6 kB / 3.639 GB, free: 58.81 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008158/9.105, allocations: 131.2 kB / 3.639 GB, free: 58.74 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006773/9.112, allocations: 2.79 MB / 3.642 GB, free: 56.42 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/9.112, allocations: 0.7973 MB / 3.643 GB, free: 55.65 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003628/9.112, allocations: 71.97 kB / 3.643 GB, free: 55.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001872/9.112, allocations: 118.8 kB / 3.643 GB, free: 55.57 MB / 0.5105 GB Notification: Performance of SimCode: time 1.502e-06/9.112, allocations: 0 / 3.643 GB, free: 55.57 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06027/9.173, allocations: 32.66 MB / 3.675 GB, free: 28.02 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/9.173, allocations: 200.2 kB / 3.675 GB, free: 27.77 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.64/12.81, allocations: 0 / 3.675 GB, free: 27.77 MB / 0.5105 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)