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.001595/0.001595, allocations: 176.3 kB / 17.4 MB, free: 4.418 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.578/1.578, allocations: 205.4 MB / 223.5 MB, free: 9.027 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.0007974/0.0007975, allocations: 96.36 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4659/0.4659, allocations: 48.78 MB / 369 MB, free: 47.37 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004259/0.0004259, allocations: 12 kB / 439.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1501, allocations: 60.25 MB / 0.4884 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.281/7.431, allocations: 2.886 GB / 3.375 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003839/7.432, allocations: 93.5 kB / 3.375 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9042/8.336, allocations: 224.4 MB / 3.594 GB, free: 71.51 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.887e-06/8.336, allocations: 0 / 3.594 GB, free: 71.51 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.848e-05/8.336, allocations: 11.31 kB / 3.594 GB, free: 71.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.006701/8.343, allocations: 1.214 MB / 3.595 GB, free: 70.75 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.073e-05/8.343, allocations: 10.78 kB / 3.595 GB, free: 70.75 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005515/8.344, allocations: 74.62 kB / 3.595 GB, free: 70.71 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002251/8.346, allocations: 0.7329 MB / 3.596 GB, free: 70.31 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/8.346, allocations: 63.61 kB / 3.596 GB, free: 70.26 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/8.346, allocations: 47.94 kB / 3.596 GB, free: 70.25 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/8.348, allocations: 0.5711 MB / 3.597 GB, free: 69.96 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.849e-05/8.348, allocations: 7.844 kB / 3.597 GB, free: 69.95 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.534e-05/8.348, allocations: 19.88 kB / 3.597 GB, free: 69.94 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/8.348, allocations: 14.91 kB / 3.597 GB, free: 69.94 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/8.349, allocations: 418.1 kB / 3.597 GB, free: 69.82 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.003508/8.352, allocations: 2.021 MB / 3.599 GB, free: 68.37 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006994/8.353, allocations: 339.9 kB / 3.599 GB, free: 68.24 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003615/8.353, allocations: 178.1 kB / 3.599 GB, free: 68.18 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05835/8.412, allocations: 31.86 MB / 3.631 GB, free: 47.89 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.12e-05/8.412, allocations: 42.31 kB / 3.631 GB, free: 47.84 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 2.975e-06/8.412, allocations: 0 / 3.631 GB, free: 47.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=38): time 0.004806/8.417, allocations: 1.67 MB / 3.632 GB, free: 46.85 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/8.417, allocations: 58.98 kB / 3.632 GB, free: 46.79 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005036/8.417, allocations: 368 kB / 3.633 GB, free: 46.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/8.417, allocations: 29.7 kB / 3.633 GB, free: 46.57 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/8.418, allocations: 256 kB / 3.633 GB, free: 46.37 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/8.418, allocations: 139.4 kB / 3.633 GB, free: 46.26 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.086e-05/8.418, allocations: 8 kB / 3.633 GB, free: 46.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001106/8.418, allocations: 349.5 kB / 3.633 GB, free: 45.93 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003042/8.418, allocations: 140.6 kB / 3.634 GB, free: 45.88 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/8.418, allocations: 200.5 kB / 3.634 GB, free: 45.77 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000625/8.419, allocations: 350.5 kB / 3.634 GB, free: 45.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/8.419, allocations: 3.938 kB / 3.634 GB, free: 45.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001016/8.42, allocations: 482.9 kB / 3.635 GB, free: 45.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.076e-05/8.42, allocations: 142 kB / 3.635 GB, free: 45.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/8.42, allocations: 7.719 kB / 3.635 GB, free: 45.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005236/8.421, allocations: 97.45 kB / 3.635 GB, free: 45.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003908/8.421, allocations: 93.48 kB / 3.635 GB, free: 45.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005901/8.422, allocations: 0.6332 MB / 3.635 GB, free: 44.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004734/8.422, allocations: 45.69 kB / 3.636 GB, free: 44.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.364e-05/8.422, allocations: 19.19 kB / 3.636 GB, free: 44.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/8.422, allocations: 5.531 kB / 3.636 GB, free: 44.62 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008781/8.423, allocations: 424.5 kB / 3.636 GB, free: 44.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/8.423, allocations: 0 / 3.636 GB, free: 44.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001769/8.423, allocations: 59.3 kB / 3.636 GB, free: 44.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003472/8.424, allocations: 103 kB / 3.636 GB, free: 44.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001895/8.426, allocations: 1.638 MB / 3.638 GB, free: 42.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004817/8.426, allocations: 44.89 kB / 3.638 GB, free: 42.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/8.426, allocations: 19.31 kB / 3.638 GB, free: 42.93 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.0004024/8.427, allocations: 250.8 kB / 3.638 GB, free: 42.69 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/8.427, allocations: 43.62 kB / 3.638 GB, free: 42.67 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/8.428, allocations: 0.7161 MB / 3.639 GB, free: 42.34 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/8.428, allocations: 7.312 kB / 3.639 GB, free: 42.34 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/8.428, allocations: 2.812 kB / 3.639 GB, free: 42.34 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/8.428, allocations: 0 / 3.639 GB, free: 42.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002297/8.43, allocations: 1.433 MB / 3.64 GB, free: 41.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/8.43, allocations: 0 / 3.64 GB, free: 41.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003835/8.431, allocations: 90.03 kB / 3.64 GB, free: 41.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005446/8.431, allocations: 367.2 kB / 3.641 GB, free: 41.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.921e-05/8.431, allocations: 7.688 kB / 3.641 GB, free: 41.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006984/8.432, allocations: 0.8514 MB / 3.641 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/8.432, allocations: 3.984 kB / 3.641 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/8.434, allocations: 1.011 MB / 3.642 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002528/8.434, allocations: 154.9 kB / 3.643 GB, free: 40.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-05/8.434, allocations: 11.78 kB / 3.643 GB, free: 40.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000366/8.434, allocations: 39.78 kB / 3.643 GB, free: 40.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/8.435, allocations: 25.72 kB / 3.643 GB, free: 40.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.104e-05/8.435, allocations: 15.62 kB / 3.643 GB, free: 40.06 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003116/8.435, allocations: 261.6 kB / 3.643 GB, free: 39.93 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/8.435, allocations: 4 kB / 3.643 GB, free: 39.92 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005459/8.44, allocations: 0.9981 MB / 3.644 GB, free: 39.74 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.00835/8.449, allocations: 1.229 MB / 3.645 GB, free: 39.39 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002049/8.451, allocations: 0.7395 MB / 3.646 GB, free: 39.09 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/8.451, allocations: 0.5 kB / 3.646 GB, free: 39.09 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006315/8.452, allocations: 258.8 kB / 3.646 GB, free: 39.01 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/8.453, allocations: 169.3 kB / 3.646 GB, free: 38.96 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/8.456, allocations: 1.578 MB / 3.648 GB, free: 37.98 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/8.456, allocations: 0.8586 MB / 3.649 GB, free: 37.27 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004536/8.457, allocations: 90.89 kB / 3.649 GB, free: 37.26 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/8.457, allocations: 37.38 kB / 3.649 GB, free: 37.25 MB / 0.5105 GB Notification: Performance of SimCode: time 1.132e-06/8.457, allocations: 3.219 kB / 3.649 GB, free: 37.25 MB / 0.5105 GB Notification: Performance of Templates: time 0.04772/8.504, allocations: 30.87 MB / 3.679 GB, free: 16.29 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)