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.001824/0.001823, allocations: 180.3 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 1.989/1.989, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001046/0.001046, allocations: 105.7 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5993/0.5993, allocations: 48.77 MB / 367.9 MB, free: 47.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004379/0.000438, allocations: 8 kB / 438.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1683, allocations: 60.24 MB / 499 MB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.783/7.952, allocations: 2.886 GB / 3.373 GB, free: 137.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003303/7.952, allocations: 82.94 kB / 3.373 GB, free: 137.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9426/8.895, allocations: 224.8 MB / 3.593 GB, free: 73.46 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.154e-06/8.895, allocations: 0 / 3.593 GB, free: 73.46 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.717e-05/8.895, allocations: 9.188 kB / 3.593 GB, free: 73.46 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.005411/8.9, allocations: 1.208 MB / 3.594 GB, free: 72.71 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/8.9, allocations: 10.66 kB / 3.594 GB, free: 72.71 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001222/8.9, allocations: 87.55 kB / 3.594 GB, free: 72.64 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002479/8.901, allocations: 79.25 kB / 3.594 GB, free: 72.61 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/8.902, allocations: 493.7 kB / 3.595 GB, free: 72.27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.46e-05/8.902, allocations: 69.19 kB / 3.595 GB, free: 72.22 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.109e-05/8.902, allocations: 49.91 kB / 3.595 GB, free: 72.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/8.903, allocations: 0.5732 MB / 3.595 GB, free: 71.92 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/8.903, allocations: 3.234 kB / 3.595 GB, free: 71.92 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.24e-05/8.903, allocations: 23.47 kB / 3.595 GB, free: 71.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/8.903, allocations: 16.75 kB / 3.595 GB, free: 71.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008395/8.904, allocations: 416.9 kB / 3.596 GB, free: 71.78 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.002568/8.907, allocations: 2.044 MB / 3.598 GB, free: 70.34 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006141/8.907, allocations: 342.4 kB / 3.598 GB, free: 70.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05938/8.967, allocations: 31.85 MB / 3.629 GB, free: 49.97 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.711e-05/8.967, allocations: 46.02 kB / 3.629 GB, free: 49.92 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 3.516e-06/8.967, allocations: 0 / 3.629 GB, free: 49.92 MB / 0.5105 GB Notification: Performance of matching and sorting (n=38): time 0.005278/8.972, allocations: 1.662 MB / 3.631 GB, free: 48.94 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/8.972, allocations: 59.12 kB / 3.631 GB, free: 48.88 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005644/8.973, allocations: 327.8 kB / 3.631 GB, free: 48.71 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.704e-05/8.973, allocations: 29.7 kB / 3.631 GB, free: 48.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/8.973, allocations: 257.5 kB / 3.632 GB, free: 48.46 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/8.973, allocations: 139.3 kB / 3.632 GB, free: 48.36 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/8.973, allocations: 8 kB / 3.632 GB, free: 48.35 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001598/8.974, allocations: 364.4 kB / 3.632 GB, free: 48.01 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003363/8.974, allocations: 132.9 kB / 3.632 GB, free: 47.97 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003539/8.974, allocations: 202.7 kB / 3.632 GB, free: 47.86 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/8.975, allocations: 156.5 kB / 3.632 GB, free: 47.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/8.975, allocations: 0 / 3.632 GB, free: 47.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001068/8.976, allocations: 489.9 kB / 3.633 GB, free: 47.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002819/8.976, allocations: 0.6117 MB / 3.634 GB, free: 46.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/8.976, allocations: 0 / 3.634 GB, free: 46.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005705/8.977, allocations: 97 kB / 3.634 GB, free: 46.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000433/8.977, allocations: 93.75 kB / 3.634 GB, free: 46.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006493/8.978, allocations: 0.6545 MB / 3.634 GB, free: 46.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005035/8.978, allocations: 37.72 kB / 3.634 GB, free: 46.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.497e-05/8.978, allocations: 23.56 kB / 3.634 GB, free: 46.33 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/8.978, allocations: 3.781 kB / 3.634 GB, free: 46.33 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001031/8.979, allocations: 438.6 kB / 3.635 GB, free: 46.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/8.979, allocations: 7.797 kB / 3.635 GB, free: 46.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002608/8.98, allocations: 72.86 kB / 3.635 GB, free: 46.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/8.98, allocations: 97.52 kB / 3.635 GB, free: 46.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004491/8.981, allocations: 0.5998 MB / 3.636 GB, free: 45.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000527/8.981, allocations: 42.53 kB / 3.636 GB, free: 45.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.529e-05/8.981, allocations: 22.92 kB / 3.636 GB, free: 45.58 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 () * Number of clocked 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.0003571/8.981, allocations: 252.1 kB / 3.636 GB, free: 45.35 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/8.982, allocations: 43.72 kB / 3.636 GB, free: 45.32 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/8.983, allocations: 0.7183 MB / 3.637 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/8.983, allocations: 11.5 kB / 3.637 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/8.983, allocations: 64 / 3.637 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/8.983, allocations: 4 kB / 3.637 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002632/8.986, allocations: 1.44 MB / 3.638 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/8.986, allocations: 2.375 kB / 3.638 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004062/8.986, allocations: 85.58 kB / 3.638 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005971/8.987, allocations: 369.6 kB / 3.638 GB, free: 44.08 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-05/8.987, allocations: 7.5 kB / 3.639 GB, free: 44.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007058/8.987, allocations: 0.8444 MB / 3.639 GB, free: 43.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/8.988, allocations: 0 / 3.639 GB, free: 43.41 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/8.989, allocations: 1.064 MB / 3.64 GB, free: 42.81 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002612/8.99, allocations: 150 kB / 3.641 GB, free: 42.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/8.99, allocations: 11.66 kB / 3.641 GB, free: 42.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004021/8.99, allocations: 38.22 kB / 3.641 GB, free: 42.66 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/8.99, allocations: 33.83 kB / 3.641 GB, free: 42.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-05/8.99, allocations: 14.5 kB / 3.641 GB, free: 42.64 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003225/8.991, allocations: 260 kB / 3.641 GB, free: 42.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3e-07/8.991, allocations: 96 / 3.641 GB, free: 42.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006077/8.997, allocations: 0.9835 MB / 3.642 GB, free: 42.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 () * Number of clocked 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.01291/9.01, allocations: 2.89 MB / 3.645 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00223/9.012, allocations: 0.6198 MB / 3.645 GB, free: 40.57 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/9.012, allocations: 3.938 kB / 3.645 GB, free: 40.57 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007083/9.013, allocations: 268.9 kB / 3.646 GB, free: 40.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/9.014, allocations: 161 kB / 3.646 GB, free: 40.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/9.026, allocations: 4.332 MB / 3.65 GB, free: 37.69 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004982/9.027, allocations: 0.8665 MB / 3.651 GB, free: 36.98 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005218/9.027, allocations: 99.5 kB / 3.651 GB, free: 36.95 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003442/9.027, allocations: 188.4 kB / 3.651 GB, free: 36.82 MB / 0.5105 GB Notification: Performance of SimCode: time 1.824e-06/9.028, allocations: 0 / 3.651 GB, free: 36.82 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08178/9.109, allocations: 35.47 MB / 3.686 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/9.11, allocations: 200.8 kB / 3.686 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.701/12.81, allocations: 0 / 3.686 GB, free: 10.65 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)