Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.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.WaterPumpMech,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_WaterPumpMech",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.WaterPumpMech,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_WaterPumpMech",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.002282/0.002282, allocations: 177.1 kB / 13.64 MB, free: 1.676 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.939/1.939, 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.001063/0.001063, allocations: 82.73 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.3034/0.3034, allocations: 48.77 MB / 364.3 MB, free: 6.871 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.227e-05/4.25e-05, allocations: 0 / 432.6 MB, free: 16.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1288, allocations: 60.26 MB / 492.8 MB, free: 4.285 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.623/6.752, allocations: 2.886 GB / 3.367 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/6.752, allocations: 82.98 kB / 3.367 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9355/7.688, allocations: 224 MB / 3.586 GB, free: 77.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.226e-06/7.688, allocations: 0 / 3.586 GB, free: 77.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.497e-05/7.688, allocations: 15.91 kB / 3.586 GB, free: 77.2 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.00703/7.695, allocations: 1.142 MB / 3.587 GB, free: 76.47 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.619e-05/7.695, allocations: 7.875 kB / 3.587 GB, free: 76.47 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002887/7.696, allocations: 87.75 kB / 3.587 GB, free: 76.41 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005653/7.696, allocations: 78.16 kB / 3.587 GB, free: 76.37 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001811/7.698, allocations: 475.4 kB / 3.588 GB, free: 76.04 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/7.698, allocations: 69.62 kB / 3.588 GB, free: 76 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/7.698, allocations: 50.84 kB / 3.588 GB, free: 75.98 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/7.7, allocations: 0.5393 MB / 3.588 GB, free: 75.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.574e-05/7.7, allocations: 3.906 kB / 3.588 GB, free: 75.69 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.578e-05/7.7, allocations: 19.78 kB / 3.588 GB, free: 75.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/7.7, allocations: 19.44 kB / 3.588 GB, free: 75.67 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/7.701, allocations: 341.6 kB / 3.589 GB, free: 75.55 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.004264/7.705, allocations: 2.046 MB / 3.591 GB, free: 74.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008372/7.706, allocations: 317.2 kB / 3.591 GB, free: 73.95 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003462/7.707, allocations: 136.4 kB / 3.591 GB, free: 73.89 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08568/7.792, allocations: 31.98 MB / 3.622 GB, free: 53.57 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.903e-05/7.792, allocations: 44.44 kB / 3.622 GB, free: 53.52 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 4.659e-06/7.792, allocations: 0 / 3.622 GB, free: 53.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=38): time 0.00397/7.796, allocations: 1.208 MB / 3.624 GB, free: 52.72 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/7.797, allocations: 58.31 kB / 3.624 GB, free: 52.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006167/7.797, allocations: 324.8 kB / 3.624 GB, free: 52.49 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.944e-05/7.797, allocations: 29.7 kB / 3.624 GB, free: 52.45 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/7.797, allocations: 260.8 kB / 3.624 GB, free: 52.24 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/7.798, allocations: 131.4 kB / 3.624 GB, free: 52.14 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/7.798, allocations: 8 kB / 3.624 GB, free: 52.14 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001284/7.798, allocations: 356.5 kB / 3.625 GB, free: 51.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/7.798, allocations: 97.41 kB / 3.625 GB, free: 51.76 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003355/7.798, allocations: 168.6 kB / 3.625 GB, free: 51.66 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000344/7.799, allocations: 119.2 kB / 3.625 GB, free: 51.61 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/7.799, allocations: 0 / 3.625 GB, free: 51.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001228/7.8, allocations: 413.8 kB / 3.625 GB, free: 51.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002425/7.8, allocations: 0.6191 MB / 3.626 GB, free: 50.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/7.8, allocations: 0 / 3.626 GB, free: 50.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006978/7.801, allocations: 94.08 kB / 3.626 GB, free: 50.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006058/7.802, allocations: 94.8 kB / 3.626 GB, free: 50.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008493/7.802, allocations: 0.6504 MB / 3.627 GB, free: 50.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006748/7.803, allocations: 43.94 kB / 3.627 GB, free: 50.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.523e-05/7.803, allocations: 27.3 kB / 3.627 GB, free: 50.15 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/7.803, allocations: 3.938 kB / 3.627 GB, free: 50.15 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001113/7.804, allocations: 361.7 kB / 3.627 GB, free: 50.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/7.804, allocations: 3.422 kB / 3.627 GB, free: 50.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003279/7.805, allocations: 68.27 kB / 3.627 GB, free: 49.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005358/7.805, allocations: 99.39 kB / 3.627 GB, free: 49.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000519/7.806, allocations: 0.6032 MB / 3.628 GB, free: 49.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006591/7.807, allocations: 37.41 kB / 3.628 GB, free: 49.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.635e-05/7.807, allocations: 15.41 kB / 3.628 GB, free: 49.42 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (41): * Single equations (assignments): 40 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002064/7.807, allocations: 128.3 kB / 3.628 GB, free: 49.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/7.807, allocations: 46.03 kB / 3.628 GB, free: 49.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001479/7.808, allocations: 0.647 MB / 3.629 GB, free: 48.95 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/7.809, allocations: 7.625 kB / 3.629 GB, free: 48.95 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/7.809, allocations: 0 / 3.629 GB, free: 48.95 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.669e-06/7.809, allocations: 3.844 kB / 3.629 GB, free: 48.95 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002849/7.811, allocations: 1.358 MB / 3.63 GB, free: 48.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/7.811, allocations: 64 / 3.63 GB, free: 48.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005242/7.812, allocations: 91.95 kB / 3.63 GB, free: 48.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008229/7.813, allocations: 421.9 kB / 3.631 GB, free: 48.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.478e-05/7.813, allocations: 11.91 kB / 3.631 GB, free: 48.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008072/7.814, allocations: 0.8384 MB / 3.632 GB, free: 47.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/7.814, allocations: 2.406 kB / 3.632 GB, free: 47.37 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/7.815, allocations: 0.9548 MB / 3.633 GB, free: 46.79 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003363/7.816, allocations: 150.8 kB / 3.633 GB, free: 46.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/7.816, allocations: 7.906 kB / 3.633 GB, free: 46.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005214/7.816, allocations: 42 kB / 3.633 GB, free: 46.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/7.817, allocations: 34.81 kB / 3.633 GB, free: 46.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.263e-05/7.817, allocations: 11.84 kB / 3.633 GB, free: 46.63 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004131/7.817, allocations: 258 kB / 3.633 GB, free: 46.49 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.91e-07/7.817, allocations: 0 / 3.633 GB, free: 46.49 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006482/7.824, allocations: 0.9808 MB / 3.634 GB, free: 46.32 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (Pump.h,SimpleMotor1.L.i,SimpleMotor1.Damper.phi_rel,SimpleMotor1.Damper.w_rel) * Number of discrete variables: 2 ($cse2.phase,$cse2.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * 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 Backend phase and start with SimCode phase: time 0.01209/7.836, allocations: 2.789 MB / 3.637 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002152/7.838, allocations: 0.5271 MB / 3.637 GB, free: 44.42 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/7.838, allocations: 0 / 3.637 GB, free: 44.42 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007941/7.839, allocations: 221.2 kB / 3.637 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/7.84, allocations: 160.1 kB / 3.638 GB, free: 44.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006389/7.847, allocations: 1.314 MB / 3.639 GB, free: 42.85 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004627/7.847, allocations: 0.8692 MB / 3.64 GB, free: 42.02 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006381/7.848, allocations: 110.9 kB / 3.64 GB, free: 41.95 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002877/7.848, allocations: 176.8 kB / 3.64 GB, free: 41.79 MB / 0.5105 GB Notification: Performance of SimCode: time 1.302e-06/7.848, allocations: 11.88 kB / 3.64 GB, free: 41.78 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0799/7.928, allocations: 37.86 MB / 3.677 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/7.928, allocations: 187.4 kB / 3.677 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.901/11.83, allocations: 4 kB / 3.677 GB, free: 4.688 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_WaterPumpMech_fmu --startTime=0 --stopTime=25 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_WaterPumpMech.fmu > ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe 2>&1)