Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.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.001014/0.001014, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.001083/0.001083, allocations: 160.5 kB / 24.99 MB, free: 9.305 MB / 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.7904/0.7904, allocations: 158.6 MB / 186.8 MB, free: 2.91 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.1619/0.1619, allocations: 36.33 MB / 275.4 MB, free: 10.72 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.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 353.8 MB, free: 3.754 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.182e-05, allocations: 2.312 kB / 353.8 MB, free: 3.75 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.02767/0.02769, allocations: 42.97 MB / 396.8 MB, free: 8.629 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007678/0.03536, allocations: 9.714 MB / 406.5 MB, free: 14.88 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002123/0.03558, allocations: 15.88 kB / 406.5 MB, free: 14.87 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005113/0.03609, allocations: 218.3 kB / 406.7 MB, free: 14.65 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004281/0.03652, allocations: 309.7 kB / 407 MB, free: 14.35 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007425/0.04394, allocations: 4.759 MB / 411.8 MB, free: 9.57 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006048/0.04455, allocations: 0.7966 MB / 412.6 MB, free: 8.77 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002866/0.04483, allocations: 208.4 kB / 412.8 MB, free: 8.559 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003406/0.04517, allocations: 402.9 kB / 413.2 MB, free: 8.164 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002468/0.04542, allocations: 243.3 kB / 413.4 MB, free: 7.926 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.597e-05/0.04546, allocations: 32 kB / 413.4 MB, free: 7.895 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006254/0.05171, allocations: 5.969 MB / 419.4 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.863e-05/0.05178, allocations: 79.61 kB / 419.5 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.05191, allocations: 167.6 kB / 419.6 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004009/0.05592, allocations: 4.63 MB / 424.3 MB, free: 13.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.05592, allocations: 3.984 kB / 424.3 MB, free: 13.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.05592, allocations: 0 / 424.3 MB, free: 13.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.05593, allocations: 3.938 kB / 424.3 MB, free: 13.03 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0016/0.05753, allocations: 1.221 MB / 425.5 MB, free: 11.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.05757, allocations: 12.03 kB / 425.5 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002523/0.05782, allocations: 124.5 kB / 425.6 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.05817, allocations: 326.7 kB / 425.9 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.05819, allocations: 21.03 kB / 426 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.05821, allocations: 32.38 kB / 426 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004829/0.0587, allocations: 358 kB / 426.3 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.05871, allocations: 192 / 426.3 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.05873, allocations: 19.94 kB / 426.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.05874, allocations: 4 kB / 426.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003042/0.05905, allocations: 170.7 kB / 426.5 MB, free: 10.65 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.001154/0.0602, allocations: 1.558 MB / 428.1 MB, free: 9.031 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.06045, allocations: 118.9 kB / 428.2 MB, free: 8.902 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.922e-05/0.06052, allocations: 51.66 kB / 428.3 MB, free: 8.848 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1506/0.2111, allocations: 16.78 MB / 445 MB, free: 72.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.2111, allocations: 34.66 kB / 445.1 MB, free: 72.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 2.013e-06/0.2111, allocations: 3.188 kB / 445.1 MB, free: 72.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.001266/0.2124, allocations: 433.5 kB / 445.5 MB, free: 72.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.723e-05/0.2124, allocations: 54 kB / 445.6 MB, free: 72.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.2126, allocations: 368.6 kB / 445.9 MB, free: 72.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.2126, allocations: 32.73 kB / 446 MB, free: 72.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.2127, allocations: 276.6 kB / 446.2 MB, free: 71.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.2127, allocations: 54.78 kB / 446.3 MB, free: 71.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/0.2128, allocations: 57.47 kB / 446.3 MB, free: 71.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.141e-05/0.2128, allocations: 0.5177 MB / 446.8 MB, free: 71.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.29e-05/0.2129, allocations: 40.25 kB / 446.9 MB, free: 71.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.135e-05/0.2129, allocations: 79.72 kB / 447 MB, free: 71.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.2131, allocations: 132.1 kB / 447.1 MB, free: 71.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2131, allocations: 0 / 447.1 MB, free: 71.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002731/0.2134, allocations: 210.8 kB / 447.3 MB, free: 71.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.2134, allocations: 9.875 kB / 447.3 MB, free: 71.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2134, allocations: 3.938 kB / 447.3 MB, free: 71.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/0.2145, allocations: 313.5 kB / 447.6 MB, free: 71.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.2146, allocations: 48.67 kB / 447.7 MB, free: 71.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003912/0.215, allocations: 0.8808 MB / 448.5 MB, free: 70.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.2151, allocations: 18.98 kB / 448.6 MB, free: 70.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.2151, allocations: 13.11 kB / 448.6 MB, free: 70.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.712e-05/0.2152, allocations: 153.7 kB / 448.7 MB, free: 70.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.36e-05/0.2153, allocations: 116.1 kB / 448.8 MB, free: 70.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001107/0.2154, allocations: 139.8 kB / 449 MB, free: 70.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.72e-07/0.2154, allocations: 0 / 449 MB, free: 70.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization_lambda0): time 0.0003165/0.2157, allocations: 232 kB / 449.2 MB, free: 69.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.503e-06/0.2157, allocations: 6.625 kB / 449.2 MB, free: 69.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-06/0.2157, allocations: 2.438 kB / 449.2 MB, free: 69.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002039/0.2159, allocations: 81.95 kB / 449.3 MB, free: 69.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.216, allocations: 65.17 kB / 449.4 MB, free: 69.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007161/0.2168, allocations: 1.849 MB / 451.2 MB, free: 68.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.2169, allocations: 20.14 kB / 451.2 MB, free: 68.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.2169, allocations: 7.375 kB / 451.2 MB, free: 68.19 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (V3.fluidState.phase,V2.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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,6)} Notification: Performance of prepare postOptimizeDAE: time 5.915e-05/0.2169, allocations: 280.7 kB / 451.5 MB, free: 67.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.155e-05/0.217, allocations: 42.77 kB / 451.6 MB, free: 67.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004743/0.2175, allocations: 0.5722 MB / 452.1 MB, free: 67.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.2175, allocations: 10.66 kB / 452.1 MB, free: 67.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.2175, allocations: 0 / 452.1 MB, free: 67.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2175, allocations: 0 / 452.1 MB, free: 67.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.2177, allocations: 389.3 kB / 452.5 MB, free: 67.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2177, allocations: 0 / 452.5 MB, free: 67.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.868e-05/0.2177, allocations: 22.25 kB / 452.5 MB, free: 67.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006429/0.2184, allocations: 436.6 kB / 453 MB, free: 67.58 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.2184, allocations: 3.688 kB / 453 MB, free: 67.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003739/0.2188, allocations: 1.083 MB / 454 MB, free: 66.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2188, allocations: 4.031 kB / 454.1 MB, free: 66.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003752/0.2192, allocations: 0.5943 MB / 454.6 MB, free: 66.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.284e-05/0.2192, allocations: 45.59 kB / 454.7 MB, free: 66.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.2192, allocations: 14.03 kB / 454.7 MB, free: 66.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.966e-05/0.2193, allocations: 8.781 kB / 454.7 MB, free: 66.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.2193, allocations: 18.05 kB / 454.7 MB, free: 66.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.2193, allocations: 5.125 kB / 454.7 MB, free: 66.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001361/0.2195, allocations: 289.6 kB / 455 MB, free: 66.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2195, allocations: 4 kB / 455 MB, free: 66.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001458/0.2209, allocations: 0.972 MB / 456 MB, free: 66.23 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($cse1.phase,$cse1.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 (11): * Single equations (assignments): 10 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002034/0.223, allocations: 1.082 MB / 457.1 MB, free: 65.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005777/0.2236, allocations: 431.2 kB / 457.5 MB, free: 65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2236, allocations: 4 kB / 457.5 MB, free: 65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.2237, allocations: 131.4 kB / 457.6 MB, free: 64.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004963/0.2242, allocations: 161.3 kB / 457.8 MB, free: 64.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009616/0.2251, allocations: 0.8319 MB / 458.6 MB, free: 64.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.678e-05/0.2252, allocations: 118.9 kB / 458.7 MB, free: 63.95 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001546/0.2253, allocations: 161.1 kB / 458.9 MB, free: 63.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.2254, allocations: 25.62 kB / 458.9 MB, free: 63.83 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.2254, allocations: 0 / 458.9 MB, free: 63.83 MB / 362.7 MB Notification: Performance of Templates: time 0.02495/0.2503, allocations: 35.06 MB / 494 MB, free: 29.78 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.223797183018178]