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: translateModel(ThermoPower.Test.WaterComponents.WaterPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPump") translateModel(ThermoPower.Test.WaterComponents.WaterPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001738/0.001738, allocations: 188.9 kB / 17.27 MB, free: 4.504 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.386/1.386, allocations: 205.1 MB / 223.1 MB, free: 8.48 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.0009898/0.0009896, allocations: 98.86 kB / 270.5 MB, free: 8.453 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3689/0.3689, allocations: 48.83 MB / 366.7 MB, free: 46.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001045/0.001045, allocations: 59.92 kB / 436.6 MB, free: 11.44 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09711/0.09818, allocations: 59.15 MB / 495.8 MB, free: 156 kB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPump): time 0.2043/0.3025, allocations: 35.5 MB / 0.5188 GB, free: 41.17 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.008319/0.3109, allocations: 9.341 MB / 0.5279 GB, free: 34.96 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003429/0.3113, allocations: 13.69 kB / 0.5279 GB, free: 34.95 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004329/0.3117, allocations: 111.3 kB / 0.528 GB, free: 34.89 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005581/0.3123, allocations: 249.4 kB / 0.5283 GB, free: 34.76 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007784/0.3201, allocations: 3.559 MB / 0.5318 GB, free: 33.2 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006261/0.3207, allocations: 0.791 MB / 0.5325 GB, free: 32.89 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002432/0.321, allocations: 192 kB / 0.5327 GB, free: 32.82 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006191/0.3216, allocations: 439.3 kB / 0.5331 GB, free: 32.71 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002997/0.3219, allocations: 287 kB / 0.5334 GB, free: 32.6 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.833e-05/0.322, allocations: 14.75 kB / 0.5334 GB, free: 32.6 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008847/0.3308, allocations: 6.172 MB / 0.5394 GB, free: 31.06 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.657e-05/0.3309, allocations: 55.55 kB / 0.5395 GB, free: 31.03 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.3311, allocations: 167.6 kB / 0.5397 GB, free: 30.95 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004747/0.3359, allocations: 3.655 MB / 0.5432 GB, free: 29.31 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3359, allocations: 4.844 kB / 0.5432 GB, free: 29.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.3359, allocations: 0 / 0.5432 GB, free: 29.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.405e-06/0.3359, allocations: 0 / 0.5432 GB, free: 29.3 MB / 394.7 MB 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.002552/0.3385, allocations: 1.041 MB / 0.5443 GB, free: 28.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.3385, allocations: 9.031 kB / 0.5443 GB, free: 28.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.3387, allocations: 51.17 kB / 0.5443 GB, free: 28.49 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.339, allocations: 307.8 kB / 0.5446 GB, free: 28.19 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.079e-05/0.3391, allocations: 47.48 kB / 0.5446 GB, free: 28.15 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.3391, allocations: 23.56 kB / 0.5447 GB, free: 28.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006599/0.3398, allocations: 335.7 kB / 0.545 GB, free: 27.92 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3398, allocations: 1.062 kB / 0.545 GB, free: 27.92 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.3398, allocations: 11 kB / 0.545 GB, free: 27.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.3398, allocations: 6.719 kB / 0.545 GB, free: 27.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007611/0.3406, allocations: 265.1 kB / 0.5453 GB, free: 27.8 MB / 394.7 MB 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.001211/0.3418, allocations: 1.424 MB / 0.5466 GB, free: 26.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006045/0.3425, allocations: 210 kB / 0.5469 GB, free: 26.29 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/0.3428, allocations: 117.1 kB / 0.547 GB, free: 26.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05904/0.4018, allocations: 32.09 MB / 0.5783 GB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.4019, allocations: 39.48 kB / 0.5783 GB, free: 14.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.344e-06/0.4019, allocations: 0 / 0.5783 GB, free: 14.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.002757/0.4047, allocations: 0.6626 MB / 0.579 GB, free: 14.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.4047, allocations: 55.41 kB / 0.579 GB, free: 14.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/0.405, allocations: 288.5 kB / 0.5793 GB, free: 13.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.4051, allocations: 29.7 kB / 0.5793 GB, free: 13.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.4052, allocations: 176.2 kB / 0.5795 GB, free: 13.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.669e-05/0.4053, allocations: 67 kB / 0.5796 GB, free: 13.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.733e-05/0.4053, allocations: 45.69 kB / 0.5796 GB, free: 13.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.4055, allocations: 338.8 kB / 0.5799 GB, free: 13.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00033/0.4058, allocations: 104.6 kB / 0.58 GB, free: 13.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/0.4061, allocations: 123.9 kB / 0.5802 GB, free: 12.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006147/0.4068, allocations: 231.2 kB / 0.5804 GB, free: 12.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4068, allocations: 0 / 0.5804 GB, free: 12.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001001/0.4078, allocations: 349.8 kB / 0.5807 GB, free: 12.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.4078, allocations: 11.94 kB / 0.5807 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.4078, allocations: 2.375 kB / 0.5807 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005481/0.4084, allocations: 104.9 kB / 0.5808 GB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/0.4087, allocations: 51.89 kB / 0.5809 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000632/0.4093, allocations: 0.6412 MB / 0.5815 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003265/0.4096, allocations: 47.66 kB / 0.5815 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.4097, allocations: 15.98 kB / 0.5816 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003732/0.4101, allocations: 188.1 kB / 0.5817 GB, free: 11.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003088/0.4104, allocations: 119.7 kB / 0.5819 GB, free: 11.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005738/0.411, allocations: 215 kB / 0.5821 GB, free: 10.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.411, allocations: 0 / 0.5821 GB, free: 10.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0009155/0.4119, allocations: 333.8 kB / 0.5824 GB, free: 10.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.4119, allocations: 8.094 kB / 0.5824 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/0.4119, allocations: 4 kB / 0.5824 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002052/0.4122, allocations: 56.81 kB / 0.5824 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.4124, allocations: 55.89 kB / 0.5825 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001808/0.4142, allocations: 1.652 MB / 0.5841 GB, free: 8.699 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003036/0.4146, allocations: 43.92 kB / 0.5842 GB, free: 8.656 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.4146, allocations: 8 kB / 0.5842 GB, free: 8.648 MB / 410.7 MB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001343/0.4147, allocations: 198.3 kB / 0.5844 GB, free: 8.449 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.399e-05/0.4148, allocations: 27.62 kB / 0.5844 GB, free: 8.422 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.4161, allocations: 0.6252 MB / 0.585 GB, free: 7.797 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.4161, allocations: 4 kB / 0.585 GB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-06/0.4161, allocations: 0 / 0.585 GB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.4161, allocations: 7.984 kB / 0.585 GB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000462/0.4166, allocations: 398.3 kB / 0.5854 GB, free: 7.348 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.4166, allocations: 7.938 kB / 0.5854 GB, free: 7.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002397/0.4169, allocations: 35.97 kB / 0.5854 GB, free: 7.305 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005931/0.4175, allocations: 357.5 kB / 0.5858 GB, free: 6.953 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.4175, allocations: 15.88 kB / 0.5858 GB, free: 6.938 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007408/0.4182, allocations: 0.857 MB / 0.5866 GB, free: 6.055 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.4183, allocations: 2.938 kB / 0.5866 GB, free: 6.055 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1469/0.5652, allocations: 49.47 MB / 0.6349 GB, free: 3.629 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.5654, allocations: 128.6 kB / 0.635 GB, free: 3.484 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/0.5654, allocations: 11.92 kB / 0.6351 GB, free: 3.473 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000279/0.5657, allocations: 35.94 kB / 0.6351 GB, free: 3.438 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.924e-05/0.5658, allocations: 19.97 kB / 0.6351 GB, free: 3.418 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.5658, allocations: 16.06 kB / 0.6351 GB, free: 3.402 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001731/0.566, allocations: 199.1 kB / 0.6353 GB, free: 3.211 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.566, allocations: 0 / 0.6353 GB, free: 3.211 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003298/0.5693, allocations: 1.113 MB / 0.6364 GB, free: 2.098 MB / 458.7 MB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003647/0.573, allocations: 1.1 MB / 0.6375 GB, free: 0.9883 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001463/0.5744, allocations: 0.5335 MB / 0.638 GB, free: 452 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.5745, allocations: 0 / 0.638 GB, free: 452 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005264/0.575, allocations: 198 kB / 0.6382 GB, free: 252 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008363/0.5758, allocations: 134.8 kB / 0.6383 GB, free: 120 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.5776, allocations: 1.249 MB / 0.6395 GB, free: 14.81 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.5779, allocations: 0.7962 MB / 0.6403 GB, free: 13.99 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002783/0.5782, allocations: 82.83 kB / 0.6404 GB, free: 13.91 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.378e-05/0.5783, allocations: 27.44 kB / 0.6404 GB, free: 13.89 MB / 474.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5783, allocations: 0 / 0.6404 GB, free: 13.89 MB / 474.7 MB Notification: Performance of Templates: time 0.04436/0.6227, allocations: 35.65 MB / 0.6752 GB, free: 10.2 MB / 0.4949 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.makefile (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 & ./ThermoPower_ThermoPower.Test.WaterComponents.WaterPump -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.pipe 2>&1)