Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.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.001213/0.001213, allocations: 78.66 kB / 21.42 MB, free: 3.07 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.002499/0.002499, allocations: 173.7 kB / 24.82 MB, free: 9.27 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.9402/0.9402, allocations: 158.6 MB / 186.7 MB, free: 2.797 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.171/0.171, allocations: 36.34 MB / 275.4 MB, free: 10.48 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.ValveZeroFlow2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 354.3 MB, free: 3.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.373e-05, allocations: 6.312 kB / 354.3 MB, free: 3.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow2): time 0.01742/0.01744, allocations: 19.57 MB / 373.8 MB, free: 15.49 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00703/0.02447, allocations: 8.125 MB / 382 MB, free: 7.336 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002346/0.02471, allocations: 15.88 kB / 382 MB, free: 7.32 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004028/0.02511, allocations: 134.9 kB / 382.1 MB, free: 7.188 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004728/0.02558, allocations: 325.7 kB / 382.4 MB, free: 6.867 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008282/0.03386, allocations: 4.503 MB / 386.9 MB, free: 2.348 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007482/0.03461, allocations: 0.8054 MB / 387.7 MB, free: 1.539 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003195/0.03493, allocations: 214.2 kB / 387.9 MB, free: 1.328 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004093/0.03534, allocations: 403 kB / 388.3 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002557/0.0356, allocations: 247.3 kB / 388.6 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.515e-05/0.03563, allocations: 32 kB / 388.6 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007349/0.04298, allocations: 5.798 MB / 394.4 MB, free: 10.86 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.132e-05/0.04305, allocations: 83.61 kB / 394.5 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.04319, allocations: 159.7 kB / 394.7 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005126/0.04831, allocations: 4.455 MB / 399.1 MB, free: 6.152 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.04832, allocations: 0 / 399.1 MB, free: 6.152 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.04832, allocations: 0 / 399.1 MB, free: 6.152 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.04832, allocations: 0 / 399.1 MB, free: 6.152 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001933/0.05026, allocations: 1.163 MB / 400.3 MB, free: 4.949 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.0503, allocations: 8.031 kB / 400.3 MB, free: 4.941 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003377/0.05064, allocations: 136.6 kB / 400.4 MB, free: 4.809 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.0509, allocations: 284.4 kB / 400.7 MB, free: 4.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.05092, allocations: 29.03 kB / 400.7 MB, free: 4.473 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.623e-05/0.05095, allocations: 28.38 kB / 400.7 MB, free: 4.445 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004098/0.05136, allocations: 369.9 kB / 401.1 MB, free: 4.039 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.05137, allocations: 192 / 401.1 MB, free: 4.039 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.05139, allocations: 19.94 kB / 401.1 MB, free: 4.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.0514, allocations: 8 kB / 401.1 MB, free: 4.012 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002205/0.05162, allocations: 168.3 kB / 401.3 MB, free: 3.848 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.001008/0.05263, allocations: 1.648 MB / 402.9 MB, free: 2.137 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/0.05293, allocations: 187.2 kB / 403.1 MB, free: 1.941 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.829e-05/0.05299, allocations: 51.66 kB / 403.2 MB, free: 1.887 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02396/0.07696, allocations: 14.7 MB / 417.9 MB, free: 3.168 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.07698, allocations: 37.39 kB / 417.9 MB, free: 3.121 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 3.286e-06/0.07699, allocations: 0 / 417.9 MB, free: 3.121 MB / 346.7 MB Notification: Performance of matching and sorting (n=33): time 0.002136/0.07912, allocations: 1.034 MB / 419 MB, free: 2.039 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/0.07915, allocations: 59.34 kB / 419 MB, free: 1.969 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.07932, allocations: 314.1 kB / 419.3 MB, free: 1.645 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.07933, allocations: 29.7 kB / 419.3 MB, free: 1.609 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.07944, allocations: 263.1 kB / 419.6 MB, free: 1.348 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.456e-05/0.07951, allocations: 118.9 kB / 419.7 MB, free: 1.23 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.735e-05/0.07958, allocations: 87.2 kB / 419.8 MB, free: 1.137 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.0797, allocations: 0.5117 MB / 420.3 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.306e-05/0.07978, allocations: 55.64 kB / 420.4 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.847e-05/0.07988, allocations: 133.6 kB / 420.5 MB, free: 408 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.08005, allocations: 193.7 kB / 420.7 MB, free: 188 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.08005, allocations: 0 / 420.7 MB, free: 188 kB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000674/0.08073, allocations: 335.8 kB / 421 MB, free: 15.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.08074, allocations: 8 kB / 421 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.08075, allocations: 0 / 421 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002917/0.08104, allocations: 103.4 kB / 421.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.08121, allocations: 79.89 kB / 421.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01408/0.09529, allocations: 11.19 MB / 432.4 MB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.09543, allocations: 8 kB / 432.4 MB, free: 4.199 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.09545, allocations: 12 kB / 432.4 MB, free: 4.188 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001321/0.09558, allocations: 182.8 kB / 432.6 MB, free: 4.004 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.598e-05/0.09567, allocations: 110 kB / 432.7 MB, free: 3.871 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002067/0.09588, allocations: 189.8 kB / 432.9 MB, free: 3.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.345e-06/0.09588, allocations: 0 / 432.9 MB, free: 3.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0004021/0.09628, allocations: 328.5 kB / 433.2 MB, free: 3.324 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.887e-06/0.09629, allocations: 12.03 kB / 433.2 MB, free: 3.312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-06/0.09629, allocations: 0 / 433.2 MB, free: 3.312 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002591/0.09655, allocations: 95.27 kB / 433.3 MB, free: 3.211 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.0967, allocations: 79.84 kB / 433.4 MB, free: 3.133 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/0.09856, allocations: 3.763 MB / 437.2 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.172e-05/0.09865, allocations: 8 kB / 437.2 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.09866, allocations: 12 kB / 437.2 MB, free: 15.11 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 (Tank1.liquidState.phase,Tank2.liquidState.phase,Valve.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001214/0.09878, allocations: 296.2 kB / 437.5 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.507e-05/0.09884, allocations: 43.75 kB / 437.5 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006116/0.09945, allocations: 0.7008 MB / 438.2 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.09946, allocations: 11.98 kB / 438.2 MB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.09946, allocations: 0 / 438.2 MB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.09946, allocations: 8 kB / 438.2 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003441/0.09981, allocations: 404.7 kB / 438.6 MB, free: 13.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.09981, allocations: 0 / 438.6 MB, free: 13.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.09996, allocations: 59.91 kB / 438.7 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003272/0.1003, allocations: 151.2 kB / 438.8 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.1003, allocations: 19.92 kB / 438.8 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/0.1016, allocations: 3.566 MB / 442.4 MB, free: 9.559 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1016, allocations: 0 / 442.4 MB, free: 9.559 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008826/0.1025, allocations: 0.7629 MB / 443.2 MB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.86e-05/0.1026, allocations: 79.5 kB / 443.3 MB, free: 8.688 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.1026, allocations: 8 kB / 443.3 MB, free: 8.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.969e-05/0.1027, allocations: 8 kB / 443.3 MB, free: 8.672 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.676e-05/0.1028, allocations: 32 kB / 443.3 MB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.1028, allocations: 8 kB / 443.3 MB, free: 8.633 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.954e-05/0.1029, allocations: 210.9 kB / 443.5 MB, free: 8.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1029, allocations: 0 / 443.5 MB, free: 8.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001776/0.1046, allocations: 0.9399 MB / 444.5 MB, free: 7.488 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Tank1.y,Tank1.h,Tank2.y,Tank2.h) * Number of discrete variables: 6 ($cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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): 2 systems {(1,1,100.0%), (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.002211/0.1069, allocations: 1.103 MB / 445.6 MB, free: 6.375 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008865/0.1077, allocations: 1.236 MB / 446.8 MB, free: 5.062 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1077, allocations: 4 kB / 446.8 MB, free: 5.059 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003109/0.1081, allocations: 0.5297 MB / 447.3 MB, free: 4.488 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005079/0.1086, allocations: 172.1 kB / 447.5 MB, free: 4.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.1099, allocations: 1.09 MB / 448.6 MB, free: 3.199 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.389e-05/0.1099, allocations: 150.9 kB / 448.7 MB, free: 3.031 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002125/0.1102, allocations: 194.6 kB / 448.9 MB, free: 2.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.1104, allocations: 178.1 kB / 449.1 MB, free: 2.664 MB / 378.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1104, allocations: 4 kB / 449.1 MB, free: 2.66 MB / 378.7 MB Notification: Performance of Templates: time 0.1481/0.2585, allocations: 42.05 MB / 491.1 MB, free: 56.2 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.555803182069212]