Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValves.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.001112/0.001112, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.0009057/0.0009057, allocations: 161 kB / 24.56 MB, free: 12 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.7909/0.7909, allocations: 158.6 MB / 186.4 MB, free: 2.898 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.1608/0.1608, allocations: 36.33 MB / 275.1 MB, free: 10.65 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.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") translateModel(ThermoPower.Test.WaterComponents.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 353.8 MB, free: 3.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.423e-05/1.569e-05, allocations: 6.312 kB / 353.8 MB, free: 3.422 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValves): time 0.0226/0.02262, allocations: 28.77 MB / 382.6 MB, free: 6.535 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008162/0.03078, allocations: 8.705 MB / 391.3 MB, free: 13.8 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004745/0.03125, allocations: 35.69 kB / 391.3 MB, free: 13.77 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005553/0.03181, allocations: 230.1 kB / 391.6 MB, free: 13.54 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007453/0.03255, allocations: 0.5428 MB / 392.1 MB, free: 12.99 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01001/0.04256, allocations: 5.152 MB / 397.3 MB, free: 7.82 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001413/0.04398, allocations: 1.438 MB / 398.7 MB, free: 6.375 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000626/0.0446, allocations: 0.5076 MB / 399.2 MB, free: 5.852 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000772/0.04537, allocations: 0.7404 MB / 399.9 MB, free: 5.109 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005721/0.04595, allocations: 0.5141 MB / 400.5 MB, free: 4.594 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.132e-05/0.04603, allocations: 64 kB / 400.5 MB, free: 4.531 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007385/0.05341, allocations: 5.868 MB / 406.4 MB, free: 14.66 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.05352, allocations: 171.2 kB / 406.6 MB, free: 14.49 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002579/0.05378, allocations: 323.2 kB / 406.9 MB, free: 14.17 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005883/0.05966, allocations: 4.84 MB / 411.7 MB, free: 9.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.05967, allocations: 0 / 411.7 MB, free: 9.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.05967, allocations: 0 / 411.7 MB, free: 9.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.526e-05/0.05969, allocations: 0 / 411.7 MB, free: 9.32 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.003095/0.06278, allocations: 1.603 MB / 413.3 MB, free: 7.676 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.06282, allocations: 8.031 kB / 413.3 MB, free: 7.668 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003977/0.06321, allocations: 220 kB / 413.5 MB, free: 7.453 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005786/0.06379, allocations: 0.5378 MB / 414.1 MB, free: 6.887 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.06382, allocations: 37.69 kB / 414.1 MB, free: 6.852 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.317e-05/0.06388, allocations: 52.31 kB / 414.2 MB, free: 6.801 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.06489, allocations: 0.7672 MB / 414.9 MB, free: 5.977 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.0649, allocations: 192 / 414.9 MB, free: 5.977 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.51e-05/0.06494, allocations: 27.94 kB / 415 MB, free: 5.949 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.06496, allocations: 16 kB / 415 MB, free: 5.934 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008681/0.06582, allocations: 0.5834 MB / 415.6 MB, free: 5.348 MB / 346.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.002097/0.06792, allocations: 2.606 MB / 418.2 MB, free: 2.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004661/0.06839, allocations: 279.1 kB / 418.4 MB, free: 2.375 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.06853, allocations: 111.6 kB / 418.5 MB, free: 2.262 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02851/0.09704, allocations: 16.81 MB / 435.4 MB, free: 1.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.09707, allocations: 45.33 kB / 435.4 MB, free: 1.375 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003537/0.09743, allocations: 99.73 kB / 435.5 MB, free: 1.277 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.984e-06/0.09743, allocations: 3.938 kB / 435.5 MB, free: 1.273 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.1192/0.2167, allocations: 1.399 MB / 436.9 MB, free: 69.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.2167, allocations: 55.39 kB / 436.9 MB, free: 69.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004029/0.2171, allocations: 0.5114 MB / 437.5 MB, free: 69.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.2171, allocations: 32.17 kB / 437.5 MB, free: 69.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.2173, allocations: 406.2 kB / 437.9 MB, free: 68.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.428e-05/0.2173, allocations: 114.3 kB / 438 MB, free: 68.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.703e-05/0.2174, allocations: 88.19 kB / 438.1 MB, free: 68.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.801e-05/0.2175, allocations: 0.54 MB / 438.6 MB, free: 68.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.2176, allocations: 77.67 kB / 438.7 MB, free: 68.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.2178, allocations: 145.8 kB / 438.8 MB, free: 68.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.218, allocations: 243.8 kB / 439.1 MB, free: 68.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.218, allocations: 0 / 439.1 MB, free: 68.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006299/0.2187, allocations: 434.9 kB / 439.5 MB, free: 68.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.2187, allocations: 5.219 kB / 439.5 MB, free: 68.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2187, allocations: 6.266 kB / 439.5 MB, free: 68.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003381/0.2221, allocations: 1.032 MB / 440.6 MB, free: 68.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.2222, allocations: 34.03 kB / 440.6 MB, free: 68.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009675/0.2231, allocations: 1.116 MB / 441.7 MB, free: 67.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.2234, allocations: 18.78 kB / 441.7 MB, free: 67.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.2234, allocations: 20.95 kB / 441.7 MB, free: 67.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000176/0.2236, allocations: 195 kB / 441.9 MB, free: 67.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001398/0.2237, allocations: 169.2 kB / 442.1 MB, free: 67.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002517/0.224, allocations: 257 kB / 442.3 MB, free: 67.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.134e-06/0.224, allocations: 1.031 kB / 442.3 MB, free: 67.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0005334/0.2245, allocations: 384.4 kB / 442.7 MB, free: 66.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.2245, allocations: 11.06 kB / 442.7 MB, free: 66.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.2245, allocations: 2.875 kB / 442.7 MB, free: 66.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001963/0.2247, allocations: 71.5 kB / 442.8 MB, free: 66.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.2249, allocations: 82.48 kB / 442.9 MB, free: 66.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007143/0.2256, allocations: 1.854 MB / 444.7 MB, free: 65.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.2258, allocations: 17.08 kB / 444.8 MB, free: 65.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.2258, allocations: 19.27 kB / 444.8 MB, free: 65.2 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: 5 (V5.fluidState.phase,V4.fluidState.phase,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 (18): * Single equations (assignments): 17 * 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 {(6,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.2259, allocations: 291.4 kB / 445.1 MB, free: 64.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.767e-05/0.226, allocations: 69.16 kB / 445.1 MB, free: 64.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.2272, allocations: 1.23 MB / 446.4 MB, free: 64.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.2272, allocations: 22.14 kB / 446.4 MB, free: 64.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.2272, allocations: 0 / 446.4 MB, free: 64.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.2272, allocations: 9.047 kB / 446.4 MB, free: 64.72 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005357/0.2277, allocations: 0.6219 MB / 447 MB, free: 64.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.2277, allocations: 0.5 kB / 447 MB, free: 64.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.748e-05/0.2278, allocations: 28.36 kB / 447 MB, free: 64.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001365/0.2292, allocations: 1.166 MB / 448.2 MB, free: 64.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.2292, allocations: 13.84 kB / 448.2 MB, free: 64.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008715/0.2301, allocations: 1.654 MB / 449.9 MB, free: 63.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2301, allocations: 0 / 449.9 MB, free: 63.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007858/0.2308, allocations: 1.166 MB / 451 MB, free: 63.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.721e-05/0.2309, allocations: 100.8 kB / 451.1 MB, free: 63.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.39e-05/0.231, allocations: 7.797 kB / 451.1 MB, free: 63.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.2311, allocations: 21.12 kB / 451.2 MB, free: 63.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.238e-05/0.2312, allocations: 40.17 kB / 451.2 MB, free: 63.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.2312, allocations: 16.22 kB / 451.2 MB, free: 63.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001841/0.2314, allocations: 342 kB / 451.6 MB, free: 63.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2314, allocations: 1.641 kB / 451.6 MB, free: 63.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001864/0.2332, allocations: 1.133 MB / 452.7 MB, free: 63.05 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: 10 ($cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse18.phase,$cse18.region,$cse22.phase,$cse22.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 {(5,35)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002322/0.2356, allocations: 1.081 MB / 453.8 MB, free: 62.94 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001069/0.2366, allocations: 0.6749 MB / 454.4 MB, free: 62.72 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2366, allocations: 0 / 454.4 MB, free: 62.72 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003538/0.237, allocations: 320 kB / 454.8 MB, free: 62.69 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008458/0.2378, allocations: 328.1 kB / 455.1 MB, free: 62.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.2394, allocations: 1.501 MB / 456.6 MB, free: 61.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.38e-05/0.2395, allocations: 178.3 kB / 456.8 MB, free: 61.88 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002617/0.2398, allocations: 250.5 kB / 457 MB, free: 61.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.869e-05/0.2398, allocations: 44.16 kB / 457 MB, free: 61.85 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.2398, allocations: 0 / 457 MB, free: 61.85 MB / 362.7 MB Notification: Performance of Templates: time 0.03532/0.2751, allocations: 47.43 MB / 0.4926 GB, free: 17.12 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValves.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestValves -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.187140959780663]