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.0007506/0.0007506, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003589/0.003589, allocations: 162.7 kB / 24.7 MB, free: 9.43 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.8208/0.8208, allocations: 158.6 MB / 186.5 MB, free: 3.043 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.1882/0.1882, allocations: 36.35 MB / 275.1 MB, free: 10.89 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.804e-06/1.804e-06, allocations: 0 / 415.6 MB, free: 5.586 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.437e-05, allocations: 6.281 kB / 415.6 MB, free: 5.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValves): time 0.2319/0.2319, allocations: 64.41 MB / 480 MB, free: 10.28 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.2422, allocations: 10.6 MB / 490.6 MB, free: 2.055 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005677/0.2428, allocations: 31.34 kB / 490.6 MB, free: 2.035 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.2439, allocations: 393.5 kB / 491 MB, free: 1.703 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008357/0.2447, allocations: 0.5441 MB / 491.6 MB, free: 1.223 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01025/0.2549, allocations: 5.605 MB / 497.2 MB, free: 11.6 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001124/0.2561, allocations: 1.434 MB / 498.6 MB, free: 10.16 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004813/0.2566, allocations: 491.5 kB / 499.1 MB, free: 9.668 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005658/0.2571, allocations: 0.7559 MB / 499.9 MB, free: 8.91 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000449/0.2576, allocations: 0.5063 MB / 0.4886 GB, free: 8.402 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.087e-05/0.2576, allocations: 64 kB / 0.4887 GB, free: 8.34 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007346/0.265, allocations: 6.188 MB / 0.4947 GB, free: 2.145 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.943e-05/0.2651, allocations: 167.3 kB / 0.4949 GB, free: 1.98 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001976/0.2653, allocations: 319.2 kB / 0.4952 GB, free: 1.668 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004697/0.27, allocations: 5.363 MB / 0.5004 GB, free: 12.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.27, allocations: 0 / 0.5004 GB, free: 12.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.27, allocations: 0 / 0.5004 GB, free: 12.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.27, allocations: 0 / 0.5004 GB, free: 12.29 MB / 410.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.002753/0.2727, allocations: 1.588 MB / 0.502 GB, free: 10.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.2728, allocations: 12.03 kB / 0.502 GB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000274/0.273, allocations: 128.3 kB / 0.5021 GB, free: 10.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006009/0.2736, allocations: 0.5233 MB / 0.5026 GB, free: 9.977 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.2737, allocations: 37.69 kB / 0.5027 GB, free: 9.938 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.835e-05/0.2737, allocations: 48.38 kB / 0.5027 GB, free: 9.891 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.2748, allocations: 0.8846 MB / 0.5036 GB, free: 8.965 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.2748, allocations: 6.938 kB / 0.5036 GB, free: 8.961 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.781e-05/0.2749, allocations: 27.5 kB / 0.5036 GB, free: 8.938 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.2749, allocations: 12 kB / 0.5036 GB, free: 8.926 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.2761, allocations: 0.9017 MB / 0.5045 GB, free: 8.02 MB / 410.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.001858/0.2779, allocations: 2.139 MB / 0.5066 GB, free: 5.812 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000575/0.2785, allocations: 376.7 kB / 0.507 GB, free: 5.438 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000241/0.2787, allocations: 184.8 kB / 0.5071 GB, free: 5.254 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02657/0.3053, allocations: 16.81 MB / 0.5235 GB, free: 4.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.3053, allocations: 38.5 kB / 0.5236 GB, free: 4.383 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003705/0.3057, allocations: 99.73 kB / 0.5237 GB, free: 4.285 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 1.973e-06/0.3057, allocations: 0 / 0.5237 GB, free: 4.285 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.004263/0.31, allocations: 1.695 MB / 0.5253 GB, free: 2.578 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.31, allocations: 59.39 kB / 0.5254 GB, free: 2.508 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003881/0.3104, allocations: 0.4913 MB / 0.5259 GB, free: 2.004 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.3104, allocations: 33.7 kB / 0.5259 GB, free: 1.965 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.3106, allocations: 356.3 kB / 0.5262 GB, free: 1.613 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.392e-05/0.3107, allocations: 114.9 kB / 0.5263 GB, free: 1.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.87e-05/0.3108, allocations: 81.98 kB / 0.5264 GB, free: 1.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.3109, allocations: 366.8 kB / 0.5268 GB, free: 1.043 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.3111, allocations: 162.1 kB / 0.5269 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/0.3114, allocations: 214.3 kB / 0.5271 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000502/0.3119, allocations: 380.7 kB / 0.5275 GB, free: 272 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3119, allocations: 0 / 0.5275 GB, free: 272 kB / 426.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008429/0.3127, allocations: 0.6146 MB / 0.5281 GB, free: 15.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.3127, allocations: 6.656 kB / 0.5281 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.3127, allocations: 4 kB / 0.5281 GB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003481/0.3162, allocations: 1.187 MB / 0.5293 GB, free: 14.44 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.3163, allocations: 47.91 kB / 0.5293 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001014/0.3173, allocations: 0.9581 MB / 0.5302 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.3176, allocations: 35.95 kB / 0.5303 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.3176, allocations: 19.97 kB / 0.5303 GB, free: 13.36 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003195/0.3179, allocations: 272.6 kB / 0.5306 GB, free: 13.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002386/0.3182, allocations: 221.4 kB / 0.5308 GB, free: 12.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004432/0.3186, allocations: 369.4 kB / 0.5311 GB, free: 12.45 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.152e-06/0.3186, allocations: 0 / 0.5311 GB, free: 12.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0006823/0.3193, allocations: 0.5134 MB / 0.5316 GB, free: 11.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.3193, allocations: 11.92 kB / 0.5316 GB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.846e-06/0.3193, allocations: 4 kB / 0.5316 GB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001495/0.3194, allocations: 73.02 kB / 0.5317 GB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.3196, allocations: 91.86 kB / 0.5318 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008899/0.3205, allocations: 1.426 MB / 0.5332 GB, free: 10.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.3207, allocations: 23.97 kB / 0.5332 GB, free: 10.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.3207, allocations: 24.86 kB / 0.5332 GB, free: 10.17 MB / 442.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.0001092/0.3209, allocations: 200.8 kB / 0.5334 GB, free: 9.969 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.577e-05/0.3209, allocations: 63.58 kB / 0.5335 GB, free: 9.906 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.3225, allocations: 1.993 MB / 0.5354 GB, free: 7.906 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.3225, allocations: 19.97 kB / 0.5355 GB, free: 7.887 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.3225, allocations: 0 / 0.5355 GB, free: 7.887 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.3225, allocations: 4.078 kB / 0.5355 GB, free: 7.883 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005525/0.3231, allocations: 0.7673 MB / 0.5362 GB, free: 7.086 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.748e-06/0.3231, allocations: 1.25 kB / 0.5362 GB, free: 7.086 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.007e-05/0.3231, allocations: 39.97 kB / 0.5362 GB, free: 7.047 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001576/0.3247, allocations: 1.407 MB / 0.5376 GB, free: 5.633 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.3247, allocations: 15.98 kB / 0.5376 GB, free: 5.617 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001414/0.3262, allocations: 2.131 MB / 0.5397 GB, free: 3.457 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3262, allocations: 0 / 0.5397 GB, free: 3.457 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.3275, allocations: 1.692 MB / 0.5414 GB, free: 1.746 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.268e-05/0.3275, allocations: 95.17 kB / 0.5415 GB, free: 1.652 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.293e-05/0.3276, allocations: 11.94 kB / 0.5415 GB, free: 1.641 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.3277, allocations: 31.47 kB / 0.5415 GB, free: 1.613 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.408e-05/0.3278, allocations: 36.38 kB / 0.5415 GB, free: 1.578 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.3278, allocations: 15.98 kB / 0.5416 GB, free: 1.562 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000238/0.3281, allocations: 346.8 kB / 0.5419 GB, free: 1.223 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3281, allocations: 4 kB / 0.5419 GB, free: 1.219 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002144/0.3302, allocations: 1.131 MB / 0.543 GB, free: 88 kB / 442.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.002226/0.3324, allocations: 1.111 MB / 0.5441 GB, free: 14.96 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00137/0.3338, allocations: 0.9006 MB / 0.545 GB, free: 14.05 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3338, allocations: 0 / 0.545 GB, free: 14.05 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004844/0.3343, allocations: 428.8 kB / 0.5454 GB, free: 13.62 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008298/0.3351, allocations: 310.7 kB / 0.5457 GB, free: 13.33 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.3366, allocations: 1.612 MB / 0.5472 GB, free: 11.68 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.3369, allocations: 408.9 kB / 0.5476 GB, free: 11.24 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.509e-05/0.3369, allocations: 36.5 kB / 0.5477 GB, free: 11.21 MB / 458.7 MB Notification: Performance of SimCode: time 6.31e-07/0.3369, allocations: 0 / 0.5477 GB, free: 11.21 MB / 458.7 MB Notification: Performance of Templates: time 0.02171/0.3586, allocations: 27.37 MB / 0.5744 GB, free: 15.8 MB / 490.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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.3094112584367394] Failed to read output from testmodel.py, exit status != 0: 0.3642819123342633 0.37201609 0.10023322600000001 Calling exit ...