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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 112.2 kB / 19.03 MB, free: 3.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 192.4 kB / 22.22 MB, free: 80 kB / 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.366/1.366, allocations: 207.6 MB / 232.8 MB, free: 11 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.29/0.29, allocations: 49.52 MB / 334.4 MB, free: 4.684 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 71.89 kB / 474.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1096, allocations: 62.33 MB / 0.524 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.2492/0.3588, allocations: 42.6 MB / 0.5656 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01437/0.3732, allocations: 9.932 MB / 0.5753 GB, free: 8.184 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006314/0.3738, allocations: 9.656 kB / 0.5753 GB, free: 8.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008299/0.3746, allocations: 228.9 kB / 0.5755 GB, free: 8.043 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000795/0.3754, allocations: 306.4 kB / 0.5758 GB, free: 7.844 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01352/0.3889, allocations: 4.741 MB / 0.5804 GB, free: 5.113 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001244/0.3902, allocations: 0.7631 MB / 0.5812 GB, free: 4.672 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003911/0.3906, allocations: 200.4 kB / 0.5814 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004388/0.391, allocations: 277.1 kB / 0.5816 GB, free: 4.395 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004091/0.3914, allocations: 305.2 kB / 0.5819 GB, free: 4.211 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.973e-05/0.3915, allocations: 28.75 kB / 0.5819 GB, free: 4.211 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01279/0.4042, allocations: 6.249 MB / 0.588 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.4044, allocations: 80.53 kB / 0.5881 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004574/0.4049, allocations: 240.3 kB / 0.5883 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01142/0.4163, allocations: 3.78 MB / 0.592 GB, free: 14.33 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.4163, allocations: 4 kB / 0.592 GB, free: 14.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4163, allocations: 0 / 0.592 GB, free: 14.33 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.4163, allocations: 0 / 0.592 GB, free: 14.33 MB / 446.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.004269/0.4206, allocations: 1.203 MB / 0.5932 GB, free: 13.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.4206, allocations: 17.34 kB / 0.5932 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003031/0.4209, allocations: 78.78 kB / 0.5933 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006242/0.4215, allocations: 387 kB / 0.5937 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.4216, allocations: 20.03 kB / 0.5937 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.09e-05/0.4216, allocations: 27.81 kB / 0.5937 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007994/0.4224, allocations: 398.9 kB / 0.5941 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.4224, allocations: 1.25 kB / 0.5941 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.4224, allocations: 10.97 kB / 0.5941 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.4225, allocations: 7.969 kB / 0.5941 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006729/0.4231, allocations: 263.1 kB / 0.5944 GB, free: 12.6 MB / 446.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.002341/0.4255, allocations: 2.014 MB / 0.5963 GB, free: 10.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004465/0.4259, allocations: 143.2 kB / 0.5965 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.4261, allocations: 76.72 kB / 0.5965 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0673/0.4934, allocations: 32.11 MB / 0.6279 GB, free: 8.496 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.4934, allocations: 38.56 kB / 0.6279 GB, free: 8.449 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.174e-06/0.4934, allocations: 4 kB / 0.628 GB, free: 8.445 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002613/0.496, allocations: 0.5698 MB / 0.6285 GB, free: 7.848 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.4961, allocations: 55.41 kB / 0.6286 GB, free: 7.781 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004803/0.4966, allocations: 402 kB / 0.6289 GB, free: 7.375 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.4966, allocations: 25.7 kB / 0.629 GB, free: 7.344 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.4968, allocations: 224.3 kB / 0.6292 GB, free: 7.121 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.796e-05/0.4968, allocations: 51.53 kB / 0.6292 GB, free: 7.07 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.525e-05/0.4969, allocations: 41.7 kB / 0.6293 GB, free: 7.023 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.4971, allocations: 358.7 kB / 0.6296 GB, free: 6.664 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.4973, allocations: 76.83 kB / 0.6297 GB, free: 6.586 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.4975, allocations: 108.2 kB / 0.6298 GB, free: 6.465 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003951/0.4979, allocations: 180.1 kB / 0.63 GB, free: 6.273 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4979, allocations: 0 / 0.63 GB, free: 6.273 MB / 478.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006778/0.4986, allocations: 310 kB / 0.6303 GB, free: 5.961 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.4986, allocations: 8.031 kB / 0.6303 GB, free: 5.953 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.4986, allocations: 4 kB / 0.6303 GB, free: 5.949 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002578/0.5012, allocations: 328.5 kB / 0.6306 GB, free: 5.625 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002617/0.5014, allocations: 51.89 kB / 0.6306 GB, free: 5.574 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009205/0.5024, allocations: 0.6508 MB / 0.6313 GB, free: 4.898 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003372/0.5027, allocations: 27.8 kB / 0.6313 GB, free: 4.871 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/0.5027, allocations: 11.98 kB / 0.6313 GB, free: 4.859 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002658/0.503, allocations: 164.1 kB / 0.6315 GB, free: 4.695 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002081/0.5032, allocations: 123.6 kB / 0.6316 GB, free: 4.547 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003669/0.5036, allocations: 191.5 kB / 0.6318 GB, free: 4.332 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.5036, allocations: 0 / 0.6318 GB, free: 4.332 MB / 478.1 MB Notification: Performance of matching and sorting (n=21) (initialization_lambda0): time 0.0008108/0.5044, allocations: 295 kB / 0.632 GB, free: 4.035 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.5044, allocations: 8 kB / 0.6321 GB, free: 4.027 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/0.5044, allocations: 0 / 0.6321 GB, free: 4.027 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003705/0.5048, allocations: 77.03 kB / 0.6321 GB, free: 3.949 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002633/0.505, allocations: 70.31 kB / 0.6322 GB, free: 3.883 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00188/0.5069, allocations: 1.57 MB / 0.6337 GB, free: 2.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002905/0.5072, allocations: 15.98 kB / 0.6337 GB, free: 2.164 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.5072, allocations: 8 kB / 0.6337 GB, free: 2.156 MB / 478.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 0.0001455/0.5074, allocations: 196.2 kB / 0.6339 GB, free: 1.957 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.173e-05/0.5074, allocations: 43.72 kB / 0.634 GB, free: 1.914 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001321/0.5088, allocations: 0.8738 MB / 0.6348 GB, free: 1.031 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.5088, allocations: 15.92 kB / 0.6348 GB, free: 1.016 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.5088, allocations: 0 / 0.6348 GB, free: 1.016 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.5088, allocations: 0 / 0.6348 GB, free: 1.016 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006394/0.5094, allocations: 0.5412 MB / 0.6354 GB, free: 436 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5094, allocations: 0 / 0.6354 GB, free: 436 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.199e-05/0.5095, allocations: 21.11 kB / 0.6354 GB, free: 416 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001598/0.5111, allocations: 0.5032 MB / 0.6359 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.5111, allocations: 7.938 kB / 0.6359 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001104/0.5122, allocations: 1.081 MB / 0.6369 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.5122, allocations: 4.031 kB / 0.637 GB, free: 14.78 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.5134, allocations: 0.7481 MB / 0.6377 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.5135, allocations: 132.7 kB / 0.6378 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.22e-05/0.5136, allocations: 15.95 kB / 0.6378 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.5138, allocations: 8.562 kB / 0.6378 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.059e-05/0.5139, allocations: 16.11 kB / 0.6378 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.5139, allocations: 11.94 kB / 0.6379 GB, free: 13.81 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004166/0.5143, allocations: 338.8 kB / 0.6382 GB, free: 13.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5143, allocations: 0 / 0.6382 GB, free: 13.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003371/0.5177, allocations: 0.9552 MB / 0.6391 GB, free: 12.52 MB / 494.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.004205/0.5219, allocations: 0.9772 MB / 0.6401 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001565/0.5234, allocations: 465.7 kB / 0.6405 GB, free: 11.07 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.5234, allocations: 0 / 0.6405 GB, free: 11.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003754/0.5238, allocations: 164.3 kB / 0.6407 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.5251, allocations: 230.7 kB / 0.6409 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.5266, allocations: 0.8811 MB / 0.6418 GB, free: 9.773 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/0.5271, allocations: 0.8475 MB / 0.6426 GB, free: 8.902 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003643/0.5275, allocations: 174.9 kB / 0.6427 GB, free: 8.734 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.982e-05/0.5275, allocations: 31.42 kB / 0.6428 GB, free: 8.707 MB / 494.1 MB Notification: Performance of SimCode: time 8.61e-07/0.5275, allocations: 4 kB / 0.6428 GB, free: 8.703 MB / 494.1 MB Notification: Performance of Templates: time 0.05267/0.5802, allocations: 35.84 MB / 0.6778 GB, free: 4.797 MB / 0.5137 GB " [Timeout remaining time 659] 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.415370057336986]