Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.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.001411/0.001411, allocations: 82.58 kB / 20.68 MB, free: 1.035 MB / 14.72 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.00152/0.00152, allocations: 163.2 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.294/1.294, allocations: 158.6 MB / 185.7 MB, free: 6.43 MB / 174.1 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.2728/0.2728, allocations: 36.35 MB / 274.3 MB, free: 0.6445 MB / 254.1 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.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 414.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.142e-05, allocations: 2.281 kB / 414.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.04613/0.04615, allocations: 38.22 MB / 453.1 MB, free: 5.266 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01344/0.05959, allocations: 8.751 MB / 461.8 MB, free: 12.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004319/0.06002, allocations: 19.88 kB / 461.8 MB, free: 12.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008572/0.06088, allocations: 214.4 kB / 462.1 MB, free: 12.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008972/0.06177, allocations: 309.7 kB / 462.4 MB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01347/0.07524, allocations: 4.744 MB / 467.1 MB, free: 7.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001157/0.0764, allocations: 0.7967 MB / 467.9 MB, free: 6.387 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000453/0.07685, allocations: 208.2 kB / 468.1 MB, free: 6.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000659/0.07751, allocations: 398.9 kB / 468.5 MB, free: 5.793 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000478/0.07799, allocations: 243.3 kB / 468.7 MB, free: 5.555 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.144e-05/0.07805, allocations: 28 kB / 468.8 MB, free: 5.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1886/0.2667, allocations: 5.961 MB / 474.7 MB, free: 21.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.2668, allocations: 78.78 kB / 474.8 MB, free: 21.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000354/0.2672, allocations: 166.4 kB / 475 MB, free: 21.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0101/0.2773, allocations: 4.738 MB / 479.7 MB, free: 21.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2773, allocations: 1.594 kB / 479.7 MB, free: 21.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2773, allocations: 0 / 479.7 MB, free: 21.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.862e-05/0.2773, allocations: 0 / 479.7 MB, free: 21.29 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.004852/0.2821, allocations: 1.124 MB / 480.8 MB, free: 20.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.2822, allocations: 8.562 kB / 480.8 MB, free: 20.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003312/0.2825, allocations: 77.36 kB / 480.9 MB, free: 20.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005835/0.2831, allocations: 329 kB / 481.2 MB, free: 20.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.2831, allocations: 24.03 kB / 481.2 MB, free: 20.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.939e-05/0.2831, allocations: 27.56 kB / 481.3 MB, free: 20.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007968/0.2839, allocations: 383.8 kB / 481.6 MB, free: 20.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.284, allocations: 6.906 kB / 481.7 MB, free: 20.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.284, allocations: 18.75 kB / 481.7 MB, free: 20.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.284, allocations: 7.875 kB / 481.7 MB, free: 20.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006568/0.2847, allocations: 257.1 kB / 481.9 MB, free: 20.36 MB / 398.1 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.001631/0.2863, allocations: 1.218 MB / 483.1 MB, free: 19.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004476/0.2867, allocations: 148.4 kB / 483.3 MB, free: 19.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.2869, allocations: 71.58 kB / 483.4 MB, free: 19.58 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05981/0.3467, allocations: 16.81 MB / 0.4884 GB, free: 17.92 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.3467, allocations: 36.62 kB / 0.4885 GB, free: 17.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.863e-06/0.3467, allocations: 0 / 0.4885 GB, free: 17.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.002541/0.3493, allocations: 0.4961 MB / 0.489 GB, free: 17.69 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/0.3493, allocations: 54.31 kB / 0.489 GB, free: 17.62 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003296/0.3496, allocations: 331.3 kB / 0.4893 GB, free: 17.47 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.3497, allocations: 29.39 kB / 0.4894 GB, free: 17.44 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.3498, allocations: 232.9 kB / 0.4896 GB, free: 17.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/0.3498, allocations: 52.75 kB / 0.4896 GB, free: 17.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.557e-05/0.3499, allocations: 44.23 kB / 0.4897 GB, free: 17.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.155e-05/0.35, allocations: 344.6 kB / 0.49 GB, free: 16.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.3502, allocations: 78.28 kB / 0.4901 GB, free: 16.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.3503, allocations: 107.5 kB / 0.4902 GB, free: 16.83 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/0.3507, allocations: 184.5 kB / 0.4904 GB, free: 16.78 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3507, allocations: 4 kB / 0.4904 GB, free: 16.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000615/0.3513, allocations: 291.9 kB / 0.4906 GB, free: 16.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3513, allocations: 5.75 kB / 0.4906 GB, free: 16.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3513, allocations: 5.484 kB / 0.4907 GB, free: 16.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002441/0.3538, allocations: 336.5 kB / 0.491 GB, free: 16.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.354, allocations: 47.14 kB / 0.491 GB, free: 16.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007181/0.3548, allocations: 0.6492 MB / 0.4917 GB, free: 16.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000324/0.3551, allocations: 19.75 kB / 0.4917 GB, free: 16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.3551, allocations: 6.875 kB / 0.4917 GB, free: 16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002242/0.3553, allocations: 170 kB / 0.4918 GB, free: 15.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001573/0.3555, allocations: 126.5 kB / 0.492 GB, free: 15.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002899/0.3558, allocations: 175.7 kB / 0.4921 GB, free: 15.74 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/0.3558, allocations: 4 kB / 0.4921 GB, free: 15.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization_lambda0): time 0.0007368/0.3565, allocations: 304.1 kB / 0.4924 GB, free: 15.62 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.3565, allocations: 7.281 kB / 0.4924 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.3565, allocations: 7.609 kB / 0.4924 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000342/0.3569, allocations: 76.7 kB / 0.4925 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.3571, allocations: 58.11 kB / 0.4926 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.3585, allocations: 1.433 MB / 0.494 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002917/0.3588, allocations: 20.89 kB / 0.494 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.3588, allocations: 12.31 kB / 0.494 GB, free: 14.32 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (V3.fluidState.phase,V2.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 9.053e-05/0.3589, allocations: 195.6 kB / 0.4942 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.977e-05/0.3589, allocations: 32.59 kB / 0.4942 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.36, allocations: 0.9053 MB / 0.4951 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.36, allocations: 15.05 kB / 0.4951 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-06/0.36, allocations: 0 / 0.4951 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.36, allocations: 4 kB / 0.4951 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004448/0.3604, allocations: 440.8 kB / 0.4955 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.3604, allocations: 4.734 kB / 0.4955 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.694e-05/0.3605, allocations: 21.05 kB / 0.4956 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001425/0.3619, allocations: 0.5048 MB / 0.4961 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.362, allocations: 0 / 0.4961 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007325/0.3627, allocations: 1.103 MB / 0.4971 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3627, allocations: 0 / 0.4971 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008331/0.3635, allocations: 0.7684 MB / 0.4979 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.969e-05/0.3636, allocations: 54.95 kB / 0.4979 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.527e-05/0.3637, allocations: 15.55 kB / 0.498 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.3639, allocations: 7.578 kB / 0.498 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/0.3639, allocations: 20.42 kB / 0.498 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.3639, allocations: 6.562 kB / 0.498 GB, free: 12.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002257/0.3641, allocations: 278.7 kB / 0.4982 GB, free: 12.51 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3641, allocations: 0 / 0.4982 GB, free: 12.51 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004016/0.3682, allocations: 0.9753 MB / 0.4992 GB, free: 12.07 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00688/0.375, allocations: 1.093 MB / 0.5003 GB, free: 11.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001355/0.3764, allocations: 477.4 kB / 0.5007 GB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3764, allocations: 0 / 0.5007 GB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003242/0.3767, allocations: 156.7 kB / 0.5009 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009457/0.3777, allocations: 160.8 kB / 0.501 GB, free: 10.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.3788, allocations: 0.8498 MB / 0.5019 GB, free: 9.703 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.379, allocations: 250.4 kB / 0.5021 GB, free: 9.434 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002382/0.3792, allocations: 159.8 kB / 0.5022 GB, free: 9.285 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.363e-05/0.3793, allocations: 24.5 kB / 0.5023 GB, free: 9.258 MB / 398.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3793, allocations: 0 / 0.5023 GB, free: 9.258 MB / 398.1 MB Notification: Performance of Templates: time 0.05103/0.4303, allocations: 34.23 MB / 0.5357 GB, free: 7.117 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.0192601308226585] Failed to read output from testmodel.py, exit status != 0: 0.4390304274857044 0.45277115700000004 0.172306796 Calling exit ...