Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.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.0008969/0.0008969, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.0009693/0.0009693, allocations: 161 kB / 24.56 MB, free: 20 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.9453/0.9453, allocations: 158.6 MB / 186.4 MB, free: 2.555 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.1966/0.1966, allocations: 36.34 MB / 275.1 MB, free: 10.73 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.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") translateModel(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 353.8 MB, free: 3.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.648e-05/1.79e-05, allocations: 2.312 kB / 353.8 MB, free: 3.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.01919/0.01921, allocations: 24.5 MB / 378.3 MB, free: 10.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008339/0.02755, allocations: 8.32 MB / 386.6 MB, free: 2.492 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003662/0.02791, allocations: 15.88 kB / 386.6 MB, free: 2.477 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000514/0.02843, allocations: 150.7 kB / 386.8 MB, free: 2.328 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004825/0.02891, allocations: 301.8 kB / 387.1 MB, free: 2.031 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009195/0.03811, allocations: 4.946 MB / 392 MB, free: 13.07 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007802/0.03889, allocations: 0.8327 MB / 392.9 MB, free: 12.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003123/0.0392, allocations: 238.6 kB / 393.1 MB, free: 11.99 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000595/0.03979, allocations: 0.4945 MB / 393.6 MB, free: 11.49 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000258/0.04005, allocations: 247.3 kB / 393.8 MB, free: 11.25 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.363e-05/0.04009, allocations: 32 kB / 393.9 MB, free: 11.22 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007511/0.0476, allocations: 5.798 MB / 399.7 MB, free: 5.414 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.866e-05/0.04768, allocations: 83.61 kB / 399.7 MB, free: 5.332 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.04784, allocations: 171.6 kB / 399.9 MB, free: 5.164 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005627/0.05347, allocations: 4.498 MB / 404.4 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.05347, allocations: 4 kB / 404.4 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.05348, allocations: 0 / 404.4 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.05348, allocations: 0 / 404.4 MB, free: 0.6523 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.002217/0.0557, allocations: 1.194 MB / 405.6 MB, free: 15.42 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.05574, allocations: 16.03 kB / 405.6 MB, free: 15.4 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002283/0.05597, allocations: 112.5 kB / 405.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.05633, allocations: 333.2 kB / 406.1 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.05636, allocations: 29.03 kB / 406.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.05639, allocations: 28.38 kB / 406.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005268/0.05692, allocations: 404 kB / 406.5 MB, free: 14.44 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.05693, allocations: 4.125 kB / 406.5 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/0.05696, allocations: 19.94 kB / 406.5 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.05697, allocations: 8 kB / 406.5 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003185/0.05729, allocations: 187.7 kB / 406.7 MB, free: 14.22 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.001346/0.05863, allocations: 1.966 MB / 408.7 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005266/0.05916, allocations: 218.1 kB / 408.9 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.741e-05/0.05924, allocations: 51.3 kB / 409 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02969/0.08893, allocations: 16.86 MB / 425.8 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.08897, allocations: 33.39 kB / 425.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 2.074e-06/0.08898, allocations: 0 / 425.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007368/0.08971, allocations: 257.3 kB / 426.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.08975, allocations: 85.11 kB / 426.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002899/0.09004, allocations: 378.7 kB / 426.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.09006, allocations: 25.7 kB / 426.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.09021, allocations: 295.1 kB / 426.9 MB, free: 9.879 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/0.09025, allocations: 63.47 kB / 426.9 MB, free: 9.816 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002201/0.09047, allocations: 59.34 kB / 427 MB, free: 9.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.0906, allocations: 0.5118 MB / 427.5 MB, free: 9.227 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.161e-05/0.09069, allocations: 43.66 kB / 427.5 MB, free: 9.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.0908, allocations: 129 kB / 427.7 MB, free: 9.016 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.09101, allocations: 169 kB / 427.8 MB, free: 8.812 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.09101, allocations: 0 / 427.8 MB, free: 8.812 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002898/0.0913, allocations: 213.1 kB / 428 MB, free: 8.598 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.09131, allocations: 8 kB / 428 MB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.09132, allocations: 4.219 kB / 428.1 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.09134, allocations: 4 kB / 428.1 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.09151, allocations: 63.89 kB / 428.1 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.09152, allocations: 4 kB / 428.1 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.09166, allocations: 27.83 kB / 428.1 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.09168, allocations: 15.94 kB / 428.2 MB, free: 8.473 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001192/0.0918, allocations: 162.8 kB / 428.3 MB, free: 8.309 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001006/0.0919, allocations: 132.9 kB / 428.5 MB, free: 8.133 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001608/0.09206, allocations: 172.7 kB / 428.6 MB, free: 7.918 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.348e-06/0.09207, allocations: 7.984 kB / 428.6 MB, free: 7.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0002428/0.09231, allocations: 217.1 kB / 428.8 MB, free: 7.691 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.915e-06/0.09232, allocations: 7.984 kB / 428.8 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-06/0.09232, allocations: 4 kB / 428.9 MB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.507e-06/0.09232, allocations: 4 kB / 428.9 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.09244, allocations: 51.91 kB / 428.9 MB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.09245, allocations: 4.281 kB / 428.9 MB, free: 7.621 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.09256, allocations: 31.88 kB / 428.9 MB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.09257, allocations: 8 kB / 429 MB, free: 7.582 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (ValveVap.fluidState.phase,ValveLiqChocked.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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 0.0001052/0.09267, allocations: 287.9 kB / 429.2 MB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.697e-05/0.09273, allocations: 43.77 kB / 429.3 MB, free: 7.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003409/0.09307, allocations: 272.3 kB / 429.5 MB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.341e-06/0.09308, allocations: 7.984 kB / 429.5 MB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.09308, allocations: 0 / 429.5 MB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.09309, allocations: 7.984 kB / 429.6 MB, free: 6.957 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003348/0.09342, allocations: 336.2 kB / 429.9 MB, free: 6.594 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.09342, allocations: 4 kB / 429.9 MB, free: 6.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.09353, allocations: 35.97 kB / 429.9 MB, free: 6.555 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.09354, allocations: 4 kB / 429.9 MB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.09355, allocations: 7.984 kB / 429.9 MB, free: 6.543 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.09356, allocations: 4 kB / 429.9 MB, free: 6.539 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.09356, allocations: 3.938 kB / 429.9 MB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.09386, allocations: 434.6 kB / 430.4 MB, free: 6.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.959e-05/0.0939, allocations: 43.69 kB / 430.4 MB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.956e-05/0.09394, allocations: 19.84 kB / 430.4 MB, free: 6.027 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.09408, allocations: 15.98 kB / 430.4 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.039e-05/0.09415, allocations: 11.97 kB / 430.5 MB, free: 6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.09417, allocations: 8 kB / 430.5 MB, free: 5.992 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002463/0.09441, allocations: 338.8 kB / 430.8 MB, free: 5.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09441, allocations: 0 / 430.8 MB, free: 5.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002025/0.09644, allocations: 0.959 MB / 431.8 MB, free: 4.699 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (19): * Single equations (assignments): 19 * 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.002373/0.09881, allocations: 1.071 MB / 432.8 MB, free: 3.617 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003316/0.09914, allocations: 203.3 kB / 433 MB, free: 3.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.09914, allocations: 0 / 433 MB, free: 3.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.005e-05/0.09922, allocations: 67.53 kB / 433.1 MB, free: 3.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006278/0.09985, allocations: 183.6 kB / 433.3 MB, free: 3.164 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.1014, allocations: 0.7422 MB / 434 MB, free: 2.379 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.887e-05/0.1014, allocations: 104.6 kB / 434.1 MB, free: 2.258 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002098/0.1016, allocations: 142.8 kB / 434.3 MB, free: 2.121 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.286e-05/0.1017, allocations: 40.42 kB / 434.3 MB, free: 2.082 MB / 362.7 MB Notification: Performance of SimCode: time 1.633e-06/0.1017, allocations: 0 / 434.3 MB, free: 2.082 MB / 362.7 MB Notification: Performance of Templates: time 0.1786/0.2804, allocations: 33.75 MB / 468 MB, free: 79.76 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.564474021550268]