Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002023/0.002023, allocations: 95.61 kB / 20.96 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002186/0.002186, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 158.6 MB / 186.1 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.2819/0.2819, allocations: 36.33 MB / 274.7 MB, free: 10.71 MB / 266.7 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixer") translateModel(ThermoPower.Test.WaterComponents.TestMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 353.1 MB, free: 3.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.952e-05/3.133e-05, allocations: 5.688 kB / 353.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixer): time 0.0922/0.09223, allocations: 74.43 MB / 427.5 MB, free: 9.102 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.2127/0.305, allocations: 10.67 MB / 438.2 MB, free: 17.31 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008619/0.3058, allocations: 20.56 kB / 438.2 MB, free: 17.31 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.3069, allocations: 323.9 kB / 438.5 MB, free: 17.31 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001033/0.3079, allocations: 467.3 kB / 439 MB, free: 17.31 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01581/0.3237, allocations: 5.384 MB / 444.3 MB, free: 16.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0023/0.326, allocations: 1.243 MB / 445.6 MB, free: 16.62 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007063/0.3267, allocations: 330.8 kB / 445.9 MB, free: 16.61 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.3278, allocations: 0.6063 MB / 446.5 MB, free: 16.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006518/0.3285, allocations: 387.2 kB / 446.9 MB, free: 16.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.3286, allocations: 44.75 kB / 446.9 MB, free: 16.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01507/0.3437, allocations: 6.053 MB / 453 MB, free: 16.44 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002649/0.3439, allocations: 121 kB / 453.1 MB, free: 16.41 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006909/0.3446, allocations: 241.1 kB / 453.3 MB, free: 16.39 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01424/0.3589, allocations: 5.004 MB / 458.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.3589, allocations: 0 / 458.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.3589, allocations: 4 kB / 458.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.3589, allocations: 0 / 458.4 MB, free: 15.76 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.004359/0.3633, allocations: 1.431 MB / 459.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.3633, allocations: 8.719 kB / 459.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005669/0.3639, allocations: 182.6 kB / 460 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005604/0.3644, allocations: 384.8 kB / 460.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.948e-05/0.3645, allocations: 34.81 kB / 460.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.522e-05/0.3646, allocations: 56.33 kB / 460.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.3662, allocations: 0.82 MB / 461.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.3662, allocations: 0 / 461.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.419e-05/0.3662, allocations: 26.53 kB / 461.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.3662, allocations: 14.03 kB / 461.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/0.3675, allocations: 0.551 MB / 461.8 MB, free: 14.11 MB / 362.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.002163/0.3697, allocations: 2.105 MB / 463.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.3709, allocations: 447.3 kB / 464.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.3711, allocations: 116.1 kB / 464.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05519/0.4263, allocations: 16.8 MB / 481.3 MB, free: 3.414 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.4263, allocations: 37.08 kB / 481.3 MB, free: 3.371 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.934e-06/0.4263, allocations: 0 / 481.3 MB, free: 3.371 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.005506/0.4318, allocations: 1.774 MB / 483.1 MB, free: 1.887 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.4318, allocations: 110.3 kB / 483.2 MB, free: 1.758 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003879/0.4322, allocations: 447.6 kB / 483.7 MB, free: 1.395 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.098e-05/0.4323, allocations: 40.25 kB / 483.7 MB, free: 1.355 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.4325, allocations: 354 kB / 484 MB, free: 1.086 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.701e-05/0.4326, allocations: 126.2 kB / 484.2 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.4327, allocations: 108.4 kB / 484.3 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.4328, allocations: 0.5397 MB / 484.8 MB, free: 388 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002914/0.4331, allocations: 195.1 kB / 485 MB, free: 236 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004114/0.4335, allocations: 332.6 kB / 485.3 MB, free: 15.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007974/0.4343, allocations: 456.9 kB / 485.8 MB, free: 15.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4343, allocations: 2.875 kB / 485.8 MB, free: 15.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002212/0.4365, allocations: 0.8247 MB / 486.6 MB, free: 14.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.4366, allocations: 11.94 kB / 486.6 MB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.4366, allocations: 3.984 kB / 486.6 MB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002537/0.4391, allocations: 0.5547 MB / 487.2 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.4393, allocations: 37.52 kB / 487.2 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002894/0.4422, allocations: 2.085 MB / 489.3 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003576/0.4425, allocations: 10.75 kB / 489.3 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.045e-05/0.4426, allocations: 29.97 kB / 489.3 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005474/0.4431, allocations: 341.9 kB / 489.7 MB, free: 12.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004694/0.4436, allocations: 331.9 kB / 490 MB, free: 11.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007349/0.4443, allocations: 443.6 kB / 490.4 MB, free: 11.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.853e-06/0.4443, allocations: 0 / 490.4 MB, free: 11.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.001941/0.4463, allocations: 0.7804 MB / 491.2 MB, free: 10.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.4463, allocations: 4 kB / 491.2 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.4463, allocations: 3.984 kB / 491.2 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001727/0.448, allocations: 496.8 kB / 491.7 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.4482, allocations: 37.84 kB / 491.7 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002649/0.4509, allocations: 2.033 MB / 493.8 MB, free: 8.469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/0.4512, allocations: 11.06 kB / 493.8 MB, free: 8.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.031e-05/0.4512, allocations: 24.23 kB / 493.8 MB, free: 8.445 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (header.fluidState.phase,pressDrop.state.phase,mixer.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,11), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003027/0.4515, allocations: 291.6 kB / 494.1 MB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.4517, allocations: 55.16 kB / 494.1 MB, free: 8.117 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00329/0.455, allocations: 1.866 MB / 496 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.455, allocations: 7.984 kB / 496 MB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.455, allocations: 4 kB / 496 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.455, allocations: 11.92 kB / 496 MB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004692/0.4597, allocations: 2.862 MB / 498.9 MB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.4597, allocations: 3.938 kB / 498.9 MB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.4599, allocations: 50.52 kB / 498.9 MB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002488/0.4624, allocations: 376.7 kB / 499.3 MB, free: 3.473 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-05/0.4624, allocations: 11.67 kB / 499.3 MB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004556/0.467, allocations: 3.781 MB / 0.4913 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.467, allocations: 3.984 kB / 0.4913 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004536/0.4715, allocations: 2.507 MB / 0.4938 GB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.4717, allocations: 43.61 kB / 0.4938 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.98e-05/0.4718, allocations: 12 kB / 0.4938 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003166/0.4721, allocations: 15.97 kB / 0.4938 GB, free: 13 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.4722, allocations: 24.09 kB / 0.4939 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.4722, allocations: 11.98 kB / 0.4939 GB, free: 12.96 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003987/0.4726, allocations: 307 kB / 0.4942 GB, free: 12.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4726, allocations: 0 / 0.4942 GB, free: 12.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003885/0.4765, allocations: 0.9868 MB / 0.4951 GB, free: 11.68 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mixer.p,mixer.h,header.p,header.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006079/0.4826, allocations: 1.091 MB / 0.4962 GB, free: 10.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002915/0.4855, allocations: 0.8281 MB / 0.497 GB, free: 9.836 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4855, allocations: 0 / 0.497 GB, free: 9.836 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001364/0.4869, allocations: 466 kB / 0.4974 GB, free: 9.363 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.4883, allocations: 226.8 kB / 0.4977 GB, free: 9.145 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/0.4909, allocations: 1.237 MB / 0.4989 GB, free: 7.895 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.4912, allocations: 285 kB / 0.4991 GB, free: 7.598 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003061/0.4915, allocations: 95.17 kB / 0.4992 GB, free: 7.508 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.4916, allocations: 40.5 kB / 0.4993 GB, free: 7.469 MB / 394.7 MB Notification: Performance of SimCode: time 1.523e-06/0.4916, allocations: 0 / 0.4993 GB, free: 7.469 MB / 394.7 MB Notification: Performance of Templates: time 0.07089/0.5625, allocations: 40.89 MB / 0.5392 GB, free: 14.66 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestMixer -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.7904268759302795]