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.0009869/0.0009869, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001148/0.001148, allocations: 172.9 kB / 25.61 MB, free: 8.449 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.8951/0.8951, allocations: 177.1 MB / 206 MB, free: 4.449 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.09024/0.09024, allocations: 19.73 MB / 282.3 MB, free: 12.23 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 1.032e-06/1.032e-06, allocations: 0 / 359.2 MB, free: 44.14 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054e-05/1.157e-05, allocations: 2.312 kB / 359.2 MB, free: 44.14 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.02013/0.02014, allocations: 35.77 MB / 395 MB, free: 9.027 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006824/0.02697, allocations: 8.842 MB / 403.8 MB, free: 168 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003277/0.02729, allocations: 31.69 kB / 403.8 MB, free: 136 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004307/0.02772, allocations: 277.6 kB / 404.1 MB, free: 15.86 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006975/0.02842, allocations: 0.5816 MB / 404.7 MB, free: 15.27 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00951/0.03793, allocations: 5.862 MB / 410.6 MB, free: 9.387 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001392/0.03932, allocations: 1.625 MB / 412.2 MB, free: 7.754 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003239/0.03965, allocations: 374.3 kB / 412.6 MB, free: 7.379 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005601/0.04021, allocations: 0.7442 MB / 413.3 MB, free: 6.633 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003874/0.04059, allocations: 448.9 kB / 413.7 MB, free: 6.195 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.225e-05/0.04065, allocations: 52 kB / 413.8 MB, free: 6.145 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006836/0.04748, allocations: 5.853 MB / 419.6 MB, free: 292 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.203e-05/0.04757, allocations: 143.3 kB / 419.8 MB, free: 148 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002075/0.04777, allocations: 311.2 kB / 420.1 MB, free: 15.84 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004143/0.05192, allocations: 4.782 MB / 424.9 MB, free: 11.05 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.05192, allocations: 0 / 424.9 MB, free: 11.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.31e-07/0.05192, allocations: 0 / 424.9 MB, free: 11.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.05193, allocations: 0 / 424.9 MB, free: 11.05 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.002258/0.05418, allocations: 1.692 MB / 426.6 MB, free: 9.312 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.42e-05/0.05421, allocations: 8.031 kB / 426.6 MB, free: 9.305 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002865/0.0545, allocations: 224.2 kB / 426.8 MB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004777/0.05497, allocations: 0.5358 MB / 427.3 MB, free: 8.516 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.05509, allocations: 279.5 kB / 427.6 MB, free: 8.195 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.49e-05/0.05514, allocations: 56.36 kB / 427.6 MB, free: 8.141 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007034/0.05584, allocations: 0.6323 MB / 428.3 MB, free: 7.449 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.05585, allocations: 3.938 kB / 428.3 MB, free: 7.445 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.05588, allocations: 24 kB / 428.3 MB, free: 7.422 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.05589, allocations: 19.98 kB / 428.3 MB, free: 7.402 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005706/0.05646, allocations: 403.9 kB / 428.7 MB, free: 7.008 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.001525/0.05799, allocations: 2.596 MB / 431.3 MB, free: 4.332 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000404/0.05839, allocations: 272.3 kB / 431.6 MB, free: 4.016 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.963e-05/0.05846, allocations: 54.86 kB / 431.6 MB, free: 3.945 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.05848, allocations: 11.98 kB / 431.6 MB, free: 3.934 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.0585, allocations: 41.33 kB / 431.7 MB, free: 3.883 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 1.193e-06/0.0585, allocations: 4 kB / 431.7 MB, free: 3.879 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009463/0.05945, allocations: 0.4898 MB / 432.2 MB, free: 3.383 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.05949, allocations: 136.5 kB / 432.3 MB, free: 3.219 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/0.05979, allocations: 0.5305 MB / 432.8 MB, free: 2.672 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.05981, allocations: 25.7 kB / 432.9 MB, free: 2.641 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004233/0.06023, allocations: 442.6 kB / 433.3 MB, free: 2.203 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.941e-05/0.06028, allocations: 87.23 kB / 433.4 MB, free: 2.117 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.787e-05/0.06035, allocations: 67.59 kB / 433.5 MB, free: 2.043 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.06048, allocations: 0.5506 MB / 434 MB, free: 1.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.905e-05/0.06055, allocations: 47.64 kB / 434.1 MB, free: 1.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.757e-05/0.06064, allocations: 82.66 kB / 434.1 MB, free: 1.332 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.06079, allocations: 110.6 kB / 434.2 MB, free: 1.207 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.06079, allocations: 0 / 434.2 MB, free: 1.207 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002802/0.06107, allocations: 241 kB / 434.5 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.06108, allocations: 4 kB / 434.5 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-06/0.06108, allocations: 0 / 434.5 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.951e-06/0.06109, allocations: 4 kB / 434.5 MB, free: 0.957 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.06126, allocations: 71.88 kB / 434.6 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.06127, allocations: 4 kB / 434.6 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.06141, allocations: 19.84 kB / 434.6 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.06142, allocations: 15.98 kB / 434.6 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001234/0.06155, allocations: 154.9 kB / 434.7 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.163e-05/0.06164, allocations: 132.8 kB / 434.9 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001533/0.06179, allocations: 176.5 kB / 435 MB, free: 304 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.815e-06/0.06179, allocations: 7.938 kB / 435.1 MB, free: 296 kB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0002589/0.06205, allocations: 237.2 kB / 435.3 MB, free: 52 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.511e-06/0.06206, allocations: 4 kB / 435.3 MB, free: 48 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.06206, allocations: 7.984 kB / 435.3 MB, free: 40 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.347e-06/0.06207, allocations: 4 kB / 435.3 MB, free: 36 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.06221, allocations: 63.91 kB / 435.4 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.06221, allocations: 7.938 kB / 435.4 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.06235, allocations: 27.83 kB / 435.4 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.06236, allocations: 12 kB / 435.4 MB, free: 15.93 MB / 362.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.203e-05/0.06245, allocations: 284.9 kB / 435.7 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.967e-05/0.06255, allocations: 75.62 kB / 435.8 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002659/0.06282, allocations: 229 kB / 436 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.06282, allocations: 4 kB / 436 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.06283, allocations: 8 kB / 436 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.06283, allocations: 1.5 kB / 436 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008512/0.06368, allocations: 1.151 MB / 437.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.06368, allocations: 4 kB / 437.2 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.895e-05/0.06377, allocations: 47.91 kB / 437.2 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.06378, allocations: 4.375 kB / 437.2 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.06379, allocations: 23.92 kB / 437.2 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.06379, allocations: 4 kB / 437.2 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.0638, allocations: 4 kB / 437.2 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/0.06416, allocations: 0.8041 MB / 438 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.566e-05/0.06421, allocations: 67.48 kB / 438.1 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.258e-05/0.06425, allocations: 15.94 kB / 438.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.06444, allocations: 8 kB / 438.1 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.06448, allocations: 39.84 kB / 438.2 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.06449, allocations: 11.98 kB / 438.2 MB, free: 12.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001844/0.06468, allocations: 362.9 kB / 438.5 MB, free: 12.63 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06468, allocations: 3.938 kB / 438.5 MB, free: 12.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001481/0.06616, allocations: 1.123 MB / 439.7 MB, free: 11.5 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.002448/0.0686, allocations: 1.12 MB / 440.8 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002767/0.06888, allocations: 215 kB / 441 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.06888, allocations: 3.938 kB / 441 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.046e-05/0.06896, allocations: 84.62 kB / 441.1 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.07001, allocations: 373.2 kB / 441.4 MB, free: 9.719 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.07115, allocations: 1.157 MB / 442.6 MB, free: 8.461 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.845e-05/0.07124, allocations: 137.5 kB / 442.7 MB, free: 8.305 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006487/0.07189, allocations: 0.8362 MB / 443.6 MB, free: 7.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003443/0.07223, allocations: 282 kB / 443.8 MB, free: 7.203 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.07223, allocations: 3.938 kB / 443.8 MB, free: 7.199 MB / 362.7 MB Notification: Performance of Templates: time 0.03811/0.1103, allocations: 43.71 MB / 487.6 MB, free: 11.71 MB / 410.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: 5.191320253070444]