Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.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.001325/0.001325, allocations: 83.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.001403/0.001403, allocations: 165 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.7766/0.7766, allocations: 158.6 MB / 186.4 MB, free: 2.93 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.1587/0.1587, allocations: 36.35 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.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 353.8 MB, free: 3.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.405e-05, allocations: 6.312 kB / 353.8 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.02784/0.02787, allocations: 35.72 MB / 389.5 MB, free: 15.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00975/0.03762, allocations: 8.643 MB / 398.2 MB, free: 6.902 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004241/0.03804, allocations: 31.62 kB / 398.2 MB, free: 6.871 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006529/0.03869, allocations: 265.8 kB / 398.5 MB, free: 6.609 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008851/0.03958, allocations: 0.539 MB / 399 MB, free: 6.066 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01162/0.0512, allocations: 5.587 MB / 404.6 MB, free: 468 kB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001375/0.05258, allocations: 1.442 MB / 406 MB, free: 15 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004765/0.05305, allocations: 342.1 kB / 406.4 MB, free: 14.66 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000729/0.05378, allocations: 0.6701 MB / 407 MB, free: 13.99 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004814/0.05426, allocations: 402.7 kB / 407.4 MB, free: 13.59 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.579e-05/0.05433, allocations: 48 kB / 407.5 MB, free: 13.55 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008326/0.06266, allocations: 5.845 MB / 413.3 MB, free: 7.695 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.06276, allocations: 127.4 kB / 413.4 MB, free: 7.57 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002681/0.06303, allocations: 271.3 kB / 413.7 MB, free: 7.305 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00593/0.06896, allocations: 4.692 MB / 418.4 MB, free: 2.602 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.06896, allocations: 0 / 418.4 MB, free: 2.602 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.06896, allocations: 0 / 418.4 MB, free: 2.602 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.06897, allocations: 4 kB / 418.4 MB, free: 2.598 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.002564/0.07154, allocations: 1.482 MB / 419.9 MB, free: 1.074 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.07158, allocations: 16.02 kB / 419.9 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004199/0.072, allocations: 192.2 kB / 420.1 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006261/0.07263, allocations: 492 kB / 420.6 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.34e-05/0.07266, allocations: 37.38 kB / 420.6 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.244e-05/0.07271, allocations: 48.38 kB / 420.6 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008301/0.07354, allocations: 0.5864 MB / 421.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.07356, allocations: 4.125 kB / 421.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.958e-05/0.0736, allocations: 27.94 kB / 421.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/0.07362, allocations: 16 kB / 421.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005278/0.07415, allocations: 263.4 kB / 421.5 MB, free: 15.3 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.001988/0.07614, allocations: 3.552 MB / 425.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.07639, allocations: 192.4 kB / 425.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.229e-05/0.07644, allocations: 46.83 kB / 425.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1411/0.2175, allocations: 16.8 MB / 442.1 MB, free: 68.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.2176, allocations: 39.08 kB / 442.2 MB, free: 68.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.763e-06/0.2176, allocations: 0 / 442.2 MB, free: 68.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007064/0.2183, allocations: 320.8 kB / 442.5 MB, free: 68.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.2183, allocations: 139.1 kB / 442.6 MB, free: 68.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/0.2186, allocations: 0.5109 MB / 443.1 MB, free: 68.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.2186, allocations: 29.02 kB / 443.2 MB, free: 68.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.2187, allocations: 427.9 kB / 443.6 MB, free: 68.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.2187, allocations: 44.39 kB / 443.6 MB, free: 68.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.944e-05/0.2188, allocations: 57.52 kB / 443.7 MB, free: 68.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.596e-05/0.2188, allocations: 0.531 MB / 444.2 MB, free: 67.81 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.351e-05/0.2189, allocations: 34.38 kB / 444.2 MB, free: 67.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.065e-05/0.219, allocations: 134.6 kB / 444.4 MB, free: 67.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.2191, allocations: 182 kB / 444.5 MB, free: 67.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2191, allocations: 0 / 444.5 MB, free: 67.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002294/0.2193, allocations: 233.1 kB / 444.8 MB, free: 67.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.2193, allocations: 6.438 kB / 444.8 MB, free: 67.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2193, allocations: 3.25 kB / 444.8 MB, free: 67.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.2194, allocations: 3.188 kB / 444.8 MB, free: 67.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.2195, allocations: 59.03 kB / 444.8 MB, free: 67.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.2195, allocations: 3.219 kB / 444.8 MB, free: 67.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.2197, allocations: 22.09 kB / 444.9 MB, free: 67.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.2197, allocations: 15.48 kB / 444.9 MB, free: 67.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.31e-05/0.2198, allocations: 148.5 kB / 445 MB, free: 67.31 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.576e-05/0.2198, allocations: 222.5 kB / 445.2 MB, free: 67.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001167/0.22, allocations: 277.8 kB / 445.5 MB, free: 66.76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.292e-06/0.22, allocations: 0 / 445.5 MB, free: 66.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0002004/0.2202, allocations: 237.5 kB / 445.8 MB, free: 66.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.58e-06/0.2202, allocations: 12.55 kB / 445.8 MB, free: 66.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-06/0.2202, allocations: 6.906 kB / 445.8 MB, free: 66.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.348e-06/0.2202, allocations: 8.375 kB / 445.8 MB, free: 66.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.75e-05/0.2203, allocations: 55.59 kB / 445.8 MB, free: 66.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.2203, allocations: 11.41 kB / 445.8 MB, free: 66.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.2204, allocations: 18.11 kB / 445.9 MB, free: 66.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.2204, allocations: 12.88 kB / 445.9 MB, free: 66.69 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (ValveLiq4.fluidState.phase,ValveLiq3.fluidState.phase,ValveLiq2.fluidState.phase,ValveLiq1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.196e-05/0.2205, allocations: 288.7 kB / 446.2 MB, free: 66.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.57e-05/0.2205, allocations: 62.41 kB / 446.2 MB, free: 66.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.2208, allocations: 351.6 kB / 446.6 MB, free: 66.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.2208, allocations: 6.969 kB / 446.6 MB, free: 66.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.2208, allocations: 0 / 446.6 MB, free: 66.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2208, allocations: 3.312 kB / 446.6 MB, free: 66.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003601/0.2211, allocations: 474.4 kB / 447 MB, free: 66.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2211, allocations: 3.125 kB / 447 MB, free: 66.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.098e-05/0.2212, allocations: 23.81 kB / 447.1 MB, free: 66.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2212, allocations: 0 / 447.1 MB, free: 66.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.2212, allocations: 4.781 kB / 447.1 MB, free: 66.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2212, allocations: 3.5 kB / 447.1 MB, free: 66.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2212, allocations: 2.719 kB / 447.1 MB, free: 66.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.2214, allocations: 0.6523 MB / 447.7 MB, free: 65.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.889e-05/0.2214, allocations: 52.08 kB / 447.8 MB, free: 65.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.671e-05/0.2215, allocations: 35.27 kB / 447.8 MB, free: 65.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.2216, allocations: 3.375 kB / 447.8 MB, free: 65.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.641e-05/0.2216, allocations: 10.75 kB / 447.8 MB, free: 65.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.2216, allocations: 2.531 kB / 447.8 MB, free: 65.51 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002886/0.2219, allocations: 0.5058 MB / 448.3 MB, free: 65.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2219, allocations: 0 / 448.3 MB, free: 65.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0016/0.2235, allocations: 1.105 MB / 449.4 MB, free: 65.33 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001996/0.2255, allocations: 1.081 MB / 450.5 MB, free: 65.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002263/0.2257, allocations: 172.7 kB / 450.7 MB, free: 65.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2257, allocations: 3.531 kB / 450.7 MB, free: 65.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.671e-05/0.2258, allocations: 39.02 kB / 450.7 MB, free: 65.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008547/0.2266, allocations: 303.5 kB / 451 MB, free: 65.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.2277, allocations: 1.083 MB / 452.1 MB, free: 64.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.475e-05/0.2278, allocations: 136.4 kB / 452.2 MB, free: 64.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002267/0.228, allocations: 252.9 kB / 452.5 MB, free: 64.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.582e-05/0.228, allocations: 48.03 kB / 452.5 MB, free: 64.37 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.228, allocations: 0 / 452.5 MB, free: 64.37 MB / 362.7 MB Notification: Performance of Templates: time 0.02929/0.2573, allocations: 42.11 MB / 494.6 MB, free: 25.84 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.84127748478204]