Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.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.0009102/0.0009102, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0008795/0.0008795, allocations: 161 kB / 24.56 MB, free: 16 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 0.7819/0.7819, allocations: 158.6 MB / 186.4 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] 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.1673/0.1673, allocations: 36.34 MB / 275.1 MB, free: 10.64 MB / 266.7 MB " [Timeout remaining time 180] 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.TestMixerSlowFastSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam") translateModel(ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 353.8 MB, free: 3.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.428e-05/1.54e-05, allocations: 2.312 kB / 353.8 MB, free: 3.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam): time 0.01175/0.01177, allocations: 15.9 MB / 369.7 MB, free: 3.473 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007474/0.01924, allocations: 9.168 MB / 378.9 MB, free: 10.27 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001947/0.01944, allocations: 11.88 kB / 378.9 MB, free: 10.26 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003705/0.01981, allocations: 146.8 kB / 379 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003789/0.02019, allocations: 357.3 kB / 379.4 MB, free: 9.762 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006972/0.02716, allocations: 4.518 MB / 383.9 MB, free: 5.227 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00074/0.0279, allocations: 0.9959 MB / 384.9 MB, free: 4.223 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003553/0.02825, allocations: 273.2 kB / 385.2 MB, free: 3.949 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004052/0.02866, allocations: 486.8 kB / 385.6 MB, free: 3.473 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002915/0.02895, allocations: 303.1 kB / 385.9 MB, free: 3.176 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.247e-05/0.02899, allocations: 40 kB / 386 MB, free: 3.137 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006289/0.03528, allocations: 5.907 MB / 391.9 MB, free: 13.22 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.951e-05/0.03535, allocations: 103.5 kB / 392 MB, free: 13.12 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.03549, allocations: 203.6 kB / 392.2 MB, free: 12.92 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004789/0.04028, allocations: 4.626 MB / 396.8 MB, free: 8.285 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.175e-06/0.04028, allocations: 0 / 396.8 MB, free: 8.285 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.04028, allocations: 0 / 396.8 MB, free: 8.285 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.04029, allocations: 0 / 396.8 MB, free: 8.285 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001899/0.04219, allocations: 1.276 MB / 398.1 MB, free: 6.969 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.04222, allocations: 12.03 kB / 398.1 MB, free: 6.957 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003354/0.04256, allocations: 160.5 kB / 398.2 MB, free: 6.801 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003358/0.04289, allocations: 322.9 kB / 398.6 MB, free: 6.457 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.04291, allocations: 33.38 kB / 398.6 MB, free: 6.422 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.918e-05/0.04296, allocations: 44.38 kB / 398.6 MB, free: 6.379 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009232/0.04389, allocations: 0.6779 MB / 399.3 MB, free: 5.645 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.0439, allocations: 7.938 kB / 399.3 MB, free: 5.637 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.801e-05/0.04393, allocations: 16 kB / 399.3 MB, free: 5.621 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.04394, allocations: 12 kB / 399.4 MB, free: 5.609 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006744/0.04461, allocations: 420.5 kB / 399.8 MB, free: 5.199 MB / 330.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.001431/0.04604, allocations: 1.603 MB / 401.4 MB, free: 3.531 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006722/0.04672, allocations: 415 kB / 401.8 MB, free: 3.113 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.04682, allocations: 91.64 kB / 401.9 MB, free: 3.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02822/0.07504, allocations: 16.8 MB / 418.7 MB, free: 2.199 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.07507, allocations: 37.39 kB / 418.7 MB, free: 2.152 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 2.054e-06/0.07507, allocations: 0 / 418.7 MB, free: 2.152 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.003095/0.07817, allocations: 1.561 MB / 420.3 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.07821, allocations: 106.8 kB / 420.4 MB, free: 428 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.07841, allocations: 346.8 kB / 420.7 MB, free: 68 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.07844, allocations: 33.7 kB / 420.7 MB, free: 28 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.07857, allocations: 299.2 kB / 421 MB, free: 15.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.074e-05/0.07864, allocations: 119 kB / 421.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.07875, allocations: 103.2 kB / 421.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.07886, allocations: 0.5195 MB / 421.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.07904, allocations: 155.6 kB / 421.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004368/0.07948, allocations: 292.6 kB / 422.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003773/0.07986, allocations: 373.7 kB / 422.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.07986, allocations: 4.031 kB / 422.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00103/0.08089, allocations: 0.7304 MB / 423.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.08091, allocations: 8 kB / 423.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.08091, allocations: 0 / 423.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/0.08205, allocations: 0.5422 MB / 423.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.915e-05/0.08214, allocations: 39.92 kB / 423.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000913/0.08305, allocations: 1.198 MB / 425.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.08317, allocations: 11.98 kB / 425.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/0.0832, allocations: 23.98 kB / 425.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002284/0.08343, allocations: 286.5 kB / 425.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000214/0.08364, allocations: 280.5 kB / 425.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003568/0.084, allocations: 381.5 kB / 426.1 MB, free: 10.47 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.182e-06/0.084, allocations: 0 / 426.1 MB, free: 10.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.0008905/0.08489, allocations: 0.6723 MB / 426.7 MB, free: 9.789 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.187e-06/0.0849, allocations: 8 kB / 426.7 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-06/0.0849, allocations: 0 / 426.7 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007881/0.08569, allocations: 479.4 kB / 427.2 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.852e-05/0.08578, allocations: 43.91 kB / 427.2 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009588/0.08674, allocations: 1.163 MB / 428.4 MB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.08685, allocations: 8 kB / 428.4 MB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/0.08688, allocations: 36.03 kB / 428.4 MB, free: 8.027 MB / 362.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 (Header1.fluidState.phase,PressDrop1.state.phase,Mixer1.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): 19 * 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 {(5,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.08701, allocations: 291.9 kB / 428.7 MB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.101e-05/0.08708, allocations: 51.7 kB / 428.8 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001833/0.08891, allocations: 1.863 MB / 430.6 MB, free: 5.801 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.08892, allocations: 15.92 kB / 430.7 MB, free: 5.785 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.08893, allocations: 0 / 430.7 MB, free: 5.785 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.08893, allocations: 3.984 kB / 430.7 MB, free: 5.781 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002117/0.09105, allocations: 2.769 MB / 433.4 MB, free: 2.895 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.09105, allocations: 0 / 433.4 MB, free: 2.895 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002753/0.09133, allocations: 79.88 kB / 433.5 MB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000934/0.09226, allocations: 298.8 kB / 433.8 MB, free: 2.516 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.09228, allocations: 7.984 kB / 433.8 MB, free: 2.508 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00198/0.09426, allocations: 3.616 MB / 437.4 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.09426, allocations: 0 / 437.4 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/0.09618, allocations: 2.477 MB / 439.9 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.564e-05/0.09621, allocations: 51.59 kB / 440 MB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.451e-05/0.09625, allocations: 4 kB / 440 MB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.09638, allocations: 23.97 kB / 440 MB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/0.09644, allocations: 27.95 kB / 440 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.09646, allocations: 11.92 kB / 440 MB, free: 12.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001164/0.09658, allocations: 231.1 kB / 440.2 MB, free: 11.87 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.09658, allocations: 0 / 440.2 MB, free: 11.87 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001688/0.09826, allocations: 0.9711 MB / 441.2 MB, free: 10.89 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Mixer1.p,Mixer1.h,Header1.p,Header1.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.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): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 2 systems {2, 1} * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002227/0.1005, allocations: 1.075 MB / 442.3 MB, free: 9.809 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.1017, allocations: 0.7088 MB / 443 MB, free: 9.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1017, allocations: 0 / 443 MB, free: 9.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007263/0.1025, allocations: 444.1 kB / 443.4 MB, free: 8.629 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000658/0.1031, allocations: 198 kB / 443.6 MB, free: 8.438 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.1046, allocations: 1.094 MB / 444.7 MB, free: 7.316 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.325e-05/0.1046, allocations: 130.8 kB / 444.9 MB, free: 7.168 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001566/0.1048, allocations: 86.88 kB / 444.9 MB, free: 7.082 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.672e-05/0.1049, allocations: 36.5 kB / 445 MB, free: 7.047 MB / 378.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1049, allocations: 0 / 445 MB, free: 7.047 MB / 378.7 MB Notification: Performance of Templates: time 0.137/0.2419, allocations: 46.64 MB / 491.6 MB, free: 59.16 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.8966769352555275]