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.001032/0.001032, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.00106/0.00106, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.9015/0.9015, allocations: 158.6 MB / 186.8 MB, free: 2.32 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.1813/0.1813, allocations: 36.35 MB / 275.4 MB, free: 10.52 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.272e-06/1.272e-06, allocations: 0 / 305.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.122e-05, allocations: 2.312 kB / 305.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.02669/0.02671, allocations: 35.49 MB / 340.7 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009112/0.03582, allocations: 8.658 MB / 349.3 MB, free: 7.836 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005366/0.03635, allocations: 31.62 kB / 349.4 MB, free: 7.805 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000661/0.03702, allocations: 253.9 kB / 349.6 MB, free: 7.555 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009008/0.03792, allocations: 0.539 MB / 350.2 MB, free: 7.012 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01268/0.0506, allocations: 5.619 MB / 355.8 MB, free: 1.371 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00159/0.05219, allocations: 1.449 MB / 357.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004731/0.05266, allocations: 346.8 kB / 357.6 MB, free: 15.56 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006511/0.05331, allocations: 0.6624 MB / 358.2 MB, free: 14.89 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004187/0.05373, allocations: 394.7 kB / 358.6 MB, free: 14.51 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.349e-05/0.05379, allocations: 48 kB / 358.7 MB, free: 14.46 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007731/0.06152, allocations: 5.836 MB / 364.5 MB, free: 8.621 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.06165, allocations: 131.4 kB / 364.6 MB, free: 8.492 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003158/0.06197, allocations: 267.3 kB / 364.9 MB, free: 8.23 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007441/0.06941, allocations: 4.692 MB / 369.6 MB, free: 3.527 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.06941, allocations: 0 / 369.6 MB, free: 3.527 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.06941, allocations: 0 / 369.6 MB, free: 3.527 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.06943, allocations: 4 kB / 369.6 MB, free: 3.523 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.002356/0.07178, allocations: 1.384 MB / 371 MB, free: 2.109 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.07182, allocations: 11.97 kB / 371 MB, free: 2.098 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002832/0.0721, allocations: 168.6 kB / 371.1 MB, free: 1.934 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004684/0.07257, allocations: 433.3 kB / 371.6 MB, free: 1.484 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.07259, allocations: 37.38 kB / 371.6 MB, free: 1.445 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.07263, allocations: 48.38 kB / 371.6 MB, free: 1.398 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005207/0.07315, allocations: 0.5115 MB / 372.2 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.07317, allocations: 4.172 kB / 372.2 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/0.07319, allocations: 31.88 kB / 372.2 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.0732, allocations: 16 kB / 372.2 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002983/0.0735, allocations: 216 kB / 372.4 MB, free: 0.5625 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.001528/0.07503, allocations: 2.368 MB / 374.8 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.07526, allocations: 162.4 kB / 374.9 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.727e-05/0.07529, allocations: 43.5 kB / 375 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09967/0.175, allocations: 58.25 MB / 433.2 MB, free: 3.539 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.175, allocations: 38.55 kB / 433.3 MB, free: 3.492 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.904e-06/0.175, allocations: 0 / 433.3 MB, free: 3.492 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006728/0.1757, allocations: 269.9 kB / 433.5 MB, free: 3.223 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.1757, allocations: 132.5 kB / 433.7 MB, free: 3.062 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.176, allocations: 451.2 kB / 434.1 MB, free: 2.609 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.176, allocations: 29.7 kB / 434.1 MB, free: 2.574 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.1762, allocations: 305.2 kB / 434.4 MB, free: 2.27 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.1762, allocations: 55.5 kB / 434.5 MB, free: 2.215 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.58e-05/0.1763, allocations: 45.67 kB / 434.5 MB, free: 2.164 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1764, allocations: 370.7 kB / 434.9 MB, free: 1.793 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.905e-05/0.1764, allocations: 24.7 kB / 434.9 MB, free: 1.766 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.123e-05/0.1765, allocations: 98.12 kB / 435 MB, free: 1.633 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.1766, allocations: 138 kB / 435.2 MB, free: 1.461 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1766, allocations: 4 kB / 435.2 MB, free: 1.457 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001867/0.1768, allocations: 157.3 kB / 435.3 MB, free: 1.297 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1769, allocations: 6.969 kB / 435.3 MB, free: 1.293 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.1769, allocations: 4 kB / 435.3 MB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1769, allocations: 4 kB / 435.3 MB, free: 1.285 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.177, allocations: 55.89 kB / 435.4 MB, free: 1.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.177, allocations: 7.984 kB / 435.4 MB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.1772, allocations: 28.09 kB / 435.4 MB, free: 1.195 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.1772, allocations: 7.984 kB / 435.4 MB, free: 1.188 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.414e-05/0.1773, allocations: 104.1 kB / 435.5 MB, free: 1.082 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.605e-05/0.1774, allocations: 151.7 kB / 435.7 MB, free: 0.8633 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001398/0.1775, allocations: 203.4 kB / 435.9 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.785e-06/0.1775, allocations: 4 kB / 435.9 MB, free: 0.5898 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0001823/0.1777, allocations: 189.4 kB / 436.1 MB, free: 408 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/0.1777, allocations: 8 kB / 436.1 MB, free: 400 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1777, allocations: 4 kB / 436.1 MB, free: 396 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.45e-06/0.1777, allocations: 8 kB / 436.1 MB, free: 388 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.822e-05/0.1778, allocations: 51.84 kB / 436.1 MB, free: 336 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1778, allocations: 8 kB / 436.1 MB, free: 328 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.178, allocations: 19.89 kB / 436.2 MB, free: 308 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.178, allocations: 16.36 kB / 436.2 MB, free: 292 kB / 394.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 (ValveLiq1.fluidState.phase,ValveLiq2.fluidState.phase,ValveLiq3.fluidState.phase,ValveLiq4.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 9.62e-05/0.1781, allocations: 204.3 kB / 436.4 MB, free: 80 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.814e-05/0.1781, allocations: 35.94 kB / 436.4 MB, free: 44 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003308/0.1785, allocations: 0.4923 MB / 436.9 MB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1785, allocations: 0 / 436.9 MB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.1785, allocations: 4 kB / 436.9 MB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1785, allocations: 3.984 kB / 436.9 MB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/0.1789, allocations: 320 kB / 437.2 MB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1789, allocations: 0 / 437.2 MB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.596e-05/0.1789, allocations: 27.92 kB / 437.2 MB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.1789, allocations: 12 kB / 437.3 MB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.1789, allocations: 0 / 437.3 MB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1789, allocations: 4 kB / 437.3 MB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1789, allocations: 3.938 kB / 437.3 MB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.1792, allocations: 0.5878 MB / 437.9 MB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-05/0.1792, allocations: 59.55 kB / 437.9 MB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.007e-05/0.1793, allocations: 31.67 kB / 437.9 MB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.1794, allocations: 4 kB / 437.9 MB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.533e-05/0.1795, allocations: 11.92 kB / 438 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.1795, allocations: 7.984 kB / 438 MB, free: 14.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000234/0.1797, allocations: 332.4 kB / 438.3 MB, free: 14.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1797, allocations: 4 kB / 438.3 MB, free: 14.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002231/0.1819, allocations: 1.103 MB / 439.4 MB, free: 13 MB / 410.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.002462/0.1844, allocations: 1.129 MB / 440.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002341/0.1846, allocations: 150.6 kB / 440.7 MB, free: 11.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/0.1846, allocations: 8.625 kB / 440.7 MB, free: 11.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.512e-05/0.1847, allocations: 35.3 kB / 440.7 MB, free: 11.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008393/0.1855, allocations: 297.9 kB / 441 MB, free: 11.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.1868, allocations: 1.072 MB / 442.1 MB, free: 10.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.628e-05/0.1869, allocations: 141.2 kB / 442.2 MB, free: 10.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003294/0.1873, allocations: 256 kB / 442.5 MB, free: 9.855 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002765/0.1875, allocations: 189.2 kB / 442.7 MB, free: 9.672 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1875, allocations: 0 / 442.7 MB, free: 9.672 MB / 410.7 MB Notification: Performance of Templates: time 0.1702/0.3577, allocations: 40.57 MB / 483.2 MB, free: 128.2 MB / 426.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.431911962106824]