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: translateModel(ThermoPower.Test.WaterComponents.WaterPumpMech,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech") translateModel(ThermoPower.Test.WaterComponents.WaterPumpMech,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001338/0.001338, allocations: 181.4 kB / 16.39 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.215/2.215, 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.001149/0.001149, allocations: 83.14 kB / 270.8 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.7314/0.7314, allocations: 48.77 MB / 367.9 MB, free: 47.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004229/0.000423, allocations: 12 kB / 438.6 MB, free: 10.99 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1924, allocations: 60.26 MB / 498.9 MB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.143/8.335, allocations: 2.886 GB / 3.373 GB, free: 138.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/8.335, allocations: 81.7 kB / 3.373 GB, free: 138.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8186/9.154, allocations: 224.8 MB / 3.593 GB, free: 72.51 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.118e-06/9.154, allocations: 0 / 3.593 GB, free: 72.51 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.395e-05/9.154, allocations: 16.09 kB / 3.593 GB, free: 72.51 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.005745/9.16, allocations: 1.212 MB / 3.594 GB, free: 71.76 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/9.16, allocations: 8.656 kB / 3.594 GB, free: 71.76 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002424/9.16, allocations: 73.75 kB / 3.594 GB, free: 71.73 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/9.161, allocations: 496.3 kB / 3.594 GB, free: 71.39 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.502e-05/9.162, allocations: 67.73 kB / 3.595 GB, free: 71.34 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.056e-05/9.162, allocations: 50.81 kB / 3.595 GB, free: 71.33 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009939/9.163, allocations: 0.5707 MB / 3.595 GB, free: 71.04 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/9.163, allocations: 8.281 kB / 3.595 GB, free: 71.04 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.746e-05/9.163, allocations: 19.91 kB / 3.595 GB, free: 71.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/9.163, allocations: 14.28 kB / 3.595 GB, free: 71.02 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008735/9.164, allocations: 424.4 kB / 3.596 GB, free: 70.9 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.002422/9.166, allocations: 2.025 MB / 3.598 GB, free: 69.46 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006411/9.167, allocations: 339.8 kB / 3.598 GB, free: 69.34 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05582/9.223, allocations: 31.87 MB / 3.629 GB, free: 49.09 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.925e-05/9.223, allocations: 34.56 kB / 3.629 GB, free: 49.04 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 3.216e-06/9.223, allocations: 0 / 3.629 GB, free: 49.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=38): time 0.005457/9.228, allocations: 1.667 MB / 3.631 GB, free: 48.06 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/9.228, allocations: 55.22 kB / 3.631 GB, free: 48 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004922/9.229, allocations: 327.1 kB / 3.631 GB, free: 47.83 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.077e-05/9.229, allocations: 29.7 kB / 3.631 GB, free: 47.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002114/9.229, allocations: 260.3 kB / 3.631 GB, free: 47.59 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/9.229, allocations: 139.3 kB / 3.631 GB, free: 47.48 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/9.229, allocations: 7.625 kB / 3.631 GB, free: 47.47 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001654/9.229, allocations: 360.7 kB / 3.632 GB, free: 47.13 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003144/9.23, allocations: 139.4 kB / 3.632 GB, free: 47.09 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003581/9.23, allocations: 197.7 kB / 3.632 GB, free: 46.98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003729/9.23, allocations: 155.8 kB / 3.632 GB, free: 46.92 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/9.23, allocations: 0 / 3.632 GB, free: 46.92 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001053/9.231, allocations: 497.4 kB / 3.633 GB, free: 46.72 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003246/9.232, allocations: 0.6083 MB / 3.633 GB, free: 46.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/9.232, allocations: 0 / 3.633 GB, free: 46.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006082/9.232, allocations: 100.8 kB / 3.633 GB, free: 46.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004223/9.233, allocations: 94.61 kB / 3.634 GB, free: 46.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007366/9.234, allocations: 0.6466 MB / 3.634 GB, free: 45.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004826/9.234, allocations: 38.41 kB / 3.634 GB, free: 45.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.203e-05/9.234, allocations: 23.25 kB / 3.634 GB, free: 45.45 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/9.234, allocations: 3.812 kB / 3.634 GB, free: 45.45 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001038/9.235, allocations: 439.8 kB / 3.635 GB, free: 45.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/9.235, allocations: 7.875 kB / 3.635 GB, free: 45.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002481/9.236, allocations: 74.75 kB / 3.635 GB, free: 45.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003514/9.236, allocations: 91.69 kB / 3.635 GB, free: 45.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004082/9.236, allocations: 0.6016 MB / 3.635 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/9.237, allocations: 37.44 kB / 3.635 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/9.237, allocations: 21.5 kB / 3.635 GB, free: 44.7 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.0004007/9.237, allocations: 260.5 kB / 3.636 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.203e-05/9.237, allocations: 48.16 kB / 3.636 GB, free: 44.44 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/9.239, allocations: 0.7208 MB / 3.636 GB, free: 44.11 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/9.239, allocations: 3.469 kB / 3.636 GB, free: 44.11 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/9.239, allocations: 0 / 3.636 GB, free: 44.11 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/9.239, allocations: 3.891 kB / 3.636 GB, free: 44.11 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002302/9.241, allocations: 1.438 MB / 3.638 GB, free: 43.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/9.241, allocations: 0 / 3.638 GB, free: 43.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003857/9.241, allocations: 83.7 kB / 3.638 GB, free: 43.28 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005684/9.242, allocations: 367.2 kB / 3.638 GB, free: 43.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/9.242, allocations: 10.94 kB / 3.638 GB, free: 43.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006715/9.243, allocations: 0.8393 MB / 3.639 GB, free: 42.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/9.243, allocations: 80 / 3.639 GB, free: 42.53 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/9.244, allocations: 1.06 MB / 3.64 GB, free: 41.93 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/9.245, allocations: 154.9 kB / 3.64 GB, free: 41.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.78e-05/9.245, allocations: 7.625 kB / 3.64 GB, free: 41.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003364/9.245, allocations: 40.66 kB / 3.64 GB, free: 41.78 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/9.245, allocations: 33.53 kB / 3.64 GB, free: 41.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/9.245, allocations: 11.53 kB / 3.64 GB, free: 41.77 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002893/9.245, allocations: 260.9 kB / 3.641 GB, free: 41.63 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/9.245, allocations: 0 / 3.641 GB, free: 41.63 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005901/9.251, allocations: 0.9885 MB / 3.642 GB, free: 41.45 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.007959/9.259, allocations: 1.249 MB / 3.643 GB, free: 41.09 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002145/9.261, allocations: 0.6147 MB / 3.643 GB, free: 40.92 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/9.262, allocations: 0 / 3.643 GB, free: 40.92 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007019/9.262, allocations: 264.9 kB / 3.644 GB, free: 40.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/9.263, allocations: 158.3 kB / 3.644 GB, free: 40.79 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002768/9.266, allocations: 1.581 MB / 3.645 GB, free: 39.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004526/9.267, allocations: 0.8669 MB / 3.646 GB, free: 39.11 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005049/9.267, allocations: 93.52 kB / 3.646 GB, free: 39.09 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/9.267, allocations: 37.84 kB / 3.646 GB, free: 39.08 MB / 0.5105 GB Notification: Performance of SimCode: time 9.52e-07/9.267, allocations: 0 / 3.646 GB, free: 39.08 MB / 0.5105 GB Notification: Performance of Templates: time 0.04184/9.309, allocations: 29.32 MB / 3.675 GB, free: 22.2 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.makefile (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 & ./ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe 2>&1)