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.00141/0.00141, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001353/0.001353, allocations: 166.4 kB / 24.82 MB, free: 9.266 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.9333/0.9333, allocations: 158.6 MB / 186.7 MB, free: 2.793 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.2387/0.2387, allocations: 36.35 MB / 275.4 MB, free: 10.47 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 2.254e-06/2.254e-06, allocations: 0 / 354.3 MB, free: 3.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.808e-05/3.034e-05, allocations: 2.312 kB / 354.3 MB, free: 3.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.02142/0.02145, allocations: 24.17 MB / 378.4 MB, free: 10.88 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008483/0.02993, allocations: 8.18 MB / 386.6 MB, free: 2.672 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004262/0.03036, allocations: 23.75 kB / 386.6 MB, free: 2.648 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005405/0.0309, allocations: 150.8 kB / 386.8 MB, free: 2.5 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005438/0.03144, allocations: 297.8 kB / 387.1 MB, free: 2.207 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01053/0.04198, allocations: 4.942 MB / 392 MB, free: 13.24 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009677/0.04295, allocations: 0.8289 MB / 392.8 MB, free: 12.41 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003532/0.0433, allocations: 242.4 kB / 393.1 MB, free: 12.17 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007253/0.04403, allocations: 0.4945 MB / 393.6 MB, free: 11.67 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002624/0.04429, allocations: 251.2 kB / 393.8 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.936e-05/0.04433, allocations: 32 kB / 393.9 MB, free: 11.39 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00799/0.05232, allocations: 5.802 MB / 399.7 MB, free: 5.586 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.05246, allocations: 91.53 kB / 399.7 MB, free: 5.496 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000234/0.05269, allocations: 163.6 kB / 399.9 MB, free: 5.336 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007585/0.06028, allocations: 4.49 MB / 404.4 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.06029, allocations: 0 / 404.4 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.06029, allocations: 7.938 kB / 404.4 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.0603, allocations: 0 / 404.4 MB, free: 0.8281 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.002515/0.06282, allocations: 1.206 MB / 405.6 MB, free: 15.58 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.06286, allocations: 8.031 kB / 405.6 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002265/0.06309, allocations: 116.5 kB / 405.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.06345, allocations: 329.2 kB / 406 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.06347, allocations: 25.03 kB / 406.1 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.0635, allocations: 28.38 kB / 406.1 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000478/0.06398, allocations: 380 kB / 406.5 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.06399, allocations: 192 / 406.5 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.06401, allocations: 19.94 kB / 406.5 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.06402, allocations: 15.98 kB / 406.5 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002481/0.06427, allocations: 167.6 kB / 406.7 MB, free: 14.44 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.001382/0.06565, allocations: 1.9 MB / 408.6 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005528/0.06621, allocations: 210.1 kB / 408.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.922e-05/0.06626, allocations: 55.28 kB / 408.8 MB, free: 12.17 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02545/0.09172, allocations: 14.74 MB / 423.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.09175, allocations: 37.39 kB / 423.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 2.464e-06/0.09175, allocations: 0 / 423.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006277/0.09238, allocations: 241.2 kB / 423.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.09242, allocations: 85.05 kB / 423.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.09267, allocations: 374.5 kB / 424.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.09269, allocations: 25.7 kB / 424.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.09284, allocations: 287.1 kB / 424.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/0.09288, allocations: 63.47 kB / 424.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.838e-05/0.09295, allocations: 59.33 kB / 424.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.09309, allocations: 0.5195 MB / 425.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.871e-05/0.09316, allocations: 35.61 kB / 425.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.825e-05/0.09325, allocations: 122.8 kB / 425.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.09339, allocations: 161.3 kB / 425.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.09339, allocations: 3.938 kB / 425.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002316/0.09363, allocations: 193.1 kB / 425.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.09364, allocations: 8 kB / 425.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.09365, allocations: 4 kB / 425.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.09366, allocations: 4 kB / 425.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.09382, allocations: 68.11 kB / 425.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.828e-06/0.09382, allocations: 0 / 425.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.09395, allocations: 31.83 kB / 425.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.09397, allocations: 11.98 kB / 425.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001018/0.09407, allocations: 150.9 kB / 426 MB, free: 10.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.528e-05/0.09416, allocations: 132.9 kB / 426.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001284/0.09429, allocations: 176.3 kB / 426.3 MB, free: 10.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.22e-07/0.09429, allocations: 0 / 426.3 MB, free: 10.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004571/0.09474, allocations: 209.5 kB / 426.5 MB, free: 10.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.173e-06/0.09475, allocations: 4 kB / 426.5 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.09475, allocations: 4 kB / 426.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.467e-06/0.09476, allocations: 4 kB / 426.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.09487, allocations: 51.91 kB / 426.6 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.09487, allocations: 4 kB / 426.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.09498, allocations: 28.09 kB / 426.6 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.09499, allocations: 15.98 kB / 426.6 MB, free: 10.08 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 (ValveLiqChocked.fluidState.phase,ValveVap.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.0001125/0.0951, allocations: 280 kB / 426.9 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.591e-05/0.09516, allocations: 43.7 kB / 426.9 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/0.09545, allocations: 256 kB / 427.2 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.09546, allocations: 4 kB / 427.2 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.09546, allocations: 3.984 kB / 427.2 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.09547, allocations: 0 / 427.2 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/0.09578, allocations: 272.8 kB / 427.5 MB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.09578, allocations: 0 / 427.5 MB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.09589, allocations: 43.97 kB / 427.5 MB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.09589, allocations: 3.938 kB / 427.5 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.0959, allocations: 4 kB / 427.5 MB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.09591, allocations: 4 kB / 427.5 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.09591, allocations: 3.984 kB / 427.5 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.09619, allocations: 423.1 kB / 427.9 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.355e-05/0.09624, allocations: 39.69 kB / 428 MB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.09627, allocations: 23.78 kB / 428 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.0964, allocations: 16 kB / 428 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.09644, allocations: 11.97 kB / 428 MB, free: 8.613 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.09645, allocations: 11.98 kB / 428 MB, free: 8.602 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001618/0.09662, allocations: 310.7 kB / 428.3 MB, free: 8.297 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.09662, allocations: 0 / 428.3 MB, free: 8.297 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002155/0.09877, allocations: 0.9668 MB / 429.3 MB, free: 7.328 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.002492/0.1013, allocations: 1.091 MB / 430.4 MB, free: 6.227 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003213/0.1016, allocations: 204 kB / 430.6 MB, free: 6.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1016, allocations: 0 / 430.6 MB, free: 6.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.468e-05/0.1017, allocations: 55.59 kB / 430.7 MB, free: 5.961 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006269/0.1023, allocations: 174.8 kB / 430.8 MB, free: 5.793 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.1035, allocations: 0.746 MB / 431.6 MB, free: 5.004 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.666e-05/0.1035, allocations: 104.6 kB / 431.7 MB, free: 4.883 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002235/0.1037, allocations: 146.7 kB / 431.8 MB, free: 4.742 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/0.104, allocations: 170.1 kB / 432 MB, free: 4.574 MB / 362.7 MB Notification: Performance of SimCode: time 1.523e-06/0.104, allocations: 0 / 432 MB, free: 4.574 MB / 362.7 MB Notification: Performance of Templates: time 0.1669/0.2708, allocations: 38.05 MB / 470 MB, free: 78.82 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.358007024973631]