Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001385/0.001385, allocations: 80.8 kB / 21.49 MB, free: 2.984 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.001054/0.001054, allocations: 174.2 kB / 24.91 MB, free: 9.18 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9293/0.9293, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1116/0.1116, allocations: 19.74 MB / 281.6 MB, free: 9.152 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve") translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 1.625 kB / 305.2 MB, free: 13.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.554e-05/2.776e-05, allocations: 3.953 kB / 305.2 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.02783/0.02786, allocations: 36.08 MB / 341.3 MB, free: 10.1 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009382/0.03724, allocations: 8.984 MB / 350.2 MB, free: 1.082 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005052/0.03775, allocations: 35.62 kB / 350.3 MB, free: 1.047 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006239/0.03837, allocations: 273.7 kB / 350.5 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008789/0.03925, allocations: 0.5661 MB / 351.1 MB, free: 212 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01144/0.05069, allocations: 5.896 MB / 357 MB, free: 10.29 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00158/0.05227, allocations: 1.632 MB / 358.6 MB, free: 8.648 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004175/0.05268, allocations: 382.9 kB / 359 MB, free: 8.258 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006371/0.05332, allocations: 0.7404 MB / 359.8 MB, free: 7.516 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004011/0.05372, allocations: 426.6 kB / 360.2 MB, free: 7.098 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.546e-05/0.05378, allocations: 52 kB / 360.2 MB, free: 7.047 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00785/0.06163, allocations: 5.849 MB / 366.1 MB, free: 1.191 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002146/0.06184, allocations: 151.2 kB / 366.2 MB, free: 1.043 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004638/0.06231, allocations: 303.3 kB / 366.5 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00833/0.07064, allocations: 4.778 MB / 371.3 MB, free: 11.96 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.07064, allocations: 0 / 371.3 MB, free: 11.96 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.07064, allocations: 0 / 371.3 MB, free: 11.96 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.07065, allocations: 0 / 371.3 MB, free: 11.96 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002819/0.07347, allocations: 1.602 MB / 372.9 MB, free: 10.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.07351, allocations: 12.03 kB / 372.9 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002803/0.07379, allocations: 188.7 kB / 373.1 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005232/0.07431, allocations: 497.8 kB / 373.6 MB, free: 9.613 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.07445, allocations: 275.5 kB / 373.8 MB, free: 9.297 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.512e-05/0.0745, allocations: 52.38 kB / 373.9 MB, free: 9.246 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006808/0.07518, allocations: 0.6148 MB / 374.5 MB, free: 8.586 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.07519, allocations: 3.938 kB / 374.5 MB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.07522, allocations: 27.94 kB / 374.5 MB, free: 8.555 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.07523, allocations: 16 kB / 374.6 MB, free: 8.539 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005062/0.07573, allocations: 371.5 kB / 374.9 MB, free: 8.176 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.001441/0.07717, allocations: 1.827 MB / 376.7 MB, free: 6.289 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003782/0.07755, allocations: 246.4 kB / 377 MB, free: 6.012 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.241e-05/0.07761, allocations: 51.48 kB / 377 MB, free: 5.949 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.07764, allocations: 8 kB / 377 MB, free: 5.941 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.07766, allocations: 42.56 kB / 377.1 MB, free: 5.891 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 1.963e-06/0.07766, allocations: 3.938 kB / 377.1 MB, free: 5.887 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008086/0.07847, allocations: 445.1 kB / 377.5 MB, free: 5.445 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.07852, allocations: 136.5 kB / 377.7 MB, free: 5.281 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005462/0.07906, allocations: 496 kB / 378.1 MB, free: 4.785 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.07909, allocations: 33.7 kB / 378.2 MB, free: 4.746 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.07921, allocations: 306 kB / 378.5 MB, free: 4.438 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.259e-05/0.07925, allocations: 75.27 kB / 378.5 MB, free: 4.363 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.51e-05/0.07932, allocations: 65.64 kB / 378.6 MB, free: 4.293 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.246e-05/0.07941, allocations: 378.6 kB / 379 MB, free: 3.914 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.836e-05/0.07947, allocations: 32.83 kB / 379 MB, free: 3.879 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.04e-05/0.07954, allocations: 67.91 kB / 379.1 MB, free: 3.801 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.07967, allocations: 111.2 kB / 379.2 MB, free: 3.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.07967, allocations: 4 kB / 379.2 MB, free: 3.676 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001979/0.07987, allocations: 157.5 kB / 379.3 MB, free: 3.516 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.07988, allocations: 8 kB / 379.4 MB, free: 3.508 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.07989, allocations: 0 / 379.4 MB, free: 3.508 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.0799, allocations: 4 kB / 379.4 MB, free: 3.504 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.08008, allocations: 59.89 kB / 379.4 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.08008, allocations: 4 kB / 379.4 MB, free: 3.441 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.08022, allocations: 27.83 kB / 379.4 MB, free: 3.414 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.08023, allocations: 8 kB / 379.5 MB, free: 3.406 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000107/0.08034, allocations: 112.1 kB / 379.6 MB, free: 3.293 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.202e-05/0.08042, allocations: 105.6 kB / 379.7 MB, free: 3.156 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001272/0.08055, allocations: 154.2 kB / 379.8 MB, free: 2.973 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.52e-07/0.08055, allocations: 0 / 379.8 MB, free: 2.973 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0001934/0.08074, allocations: 193.2 kB / 380 MB, free: 2.777 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.661e-06/0.08075, allocations: 4 kB / 380 MB, free: 2.773 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.866e-06/0.08075, allocations: 4 kB / 380 MB, free: 2.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.687e-06/0.08076, allocations: 4 kB / 380 MB, free: 2.766 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.08089, allocations: 63.89 kB / 380.1 MB, free: 2.703 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.08089, allocations: 4 kB / 380.1 MB, free: 2.699 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.08101, allocations: 19.89 kB / 380.1 MB, free: 2.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.08102, allocations: 8.219 kB / 380.1 MB, free: 2.672 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (31): * Single equations (assignments): 31 * 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.801e-05/0.08112, allocations: 201 kB / 380.3 MB, free: 2.469 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.566e-05/0.0812, allocations: 47.94 kB / 380.4 MB, free: 2.422 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.08146, allocations: 203.2 kB / 380.6 MB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.08146, allocations: 4 kB / 380.6 MB, free: 2.211 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.08146, allocations: 0 / 380.6 MB, free: 2.211 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.08147, allocations: 11.98 kB / 380.6 MB, free: 2.199 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008335/0.08231, allocations: 0.8377 MB / 381.4 MB, free: 1.297 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.08231, allocations: 4.375 kB / 381.4 MB, free: 1.293 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.555e-05/0.08239, allocations: 51.91 kB / 381.5 MB, free: 1.242 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.0824, allocations: 8 kB / 381.5 MB, free: 1.234 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.08242, allocations: 15.92 kB / 381.5 MB, free: 1.219 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.08242, allocations: 7.938 kB / 381.5 MB, free: 1.211 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.08242, allocations: 4 kB / 381.5 MB, free: 1.207 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.08269, allocations: 0.5336 MB / 382 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.08274, allocations: 63.55 kB / 382.1 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.344e-05/0.08279, allocations: 27.81 kB / 382.1 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.08295, allocations: 8 kB / 382.1 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.08299, allocations: 31.83 kB / 382.2 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.083, allocations: 12 kB / 382.2 MB, free: 492 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001577/0.08316, allocations: 244.6 kB / 382.4 MB, free: 252 kB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.08316, allocations: 0 / 382.4 MB, free: 252 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.002257/0.08542, allocations: 1.123 MB / 383.5 MB, free: 15.12 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (24): * Single equations (assignments): 24 * 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.002198/0.08762, allocations: 1.159 MB / 384.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002991/0.08791, allocations: 201.2 kB / 384.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.08792, allocations: 8 kB / 384.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.548e-05/0.08799, allocations: 65.81 kB / 385 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.08921, allocations: 382.7 kB / 385.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.09045, allocations: 1.11 MB / 386.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.641e-05/0.09054, allocations: 133.5 kB / 386.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006783/0.09122, allocations: 0.8365 MB / 387.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003324/0.09155, allocations: 233.1 kB / 387.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/0.09155, allocations: 0 / 387.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of Templates: time 0.04138/0.1329, allocations: 42.79 MB / 430.4 MB, free: 328 kB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.1786805940791965]