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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 117 kB / 17.7 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001398, allocations: 191 kB / 18.63 MB, free: 4.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2865/0.2865, allocations: 48.83 MB / 320.7 MB, free: 11.04 MB / 270.1 MB 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.001449/0.001449, allocations: 72.16 kB / 391.5 MB, free: 48.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0944/0.09587, allocations: 59.17 MB / 450.7 MB, free: 9.039 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.03968/0.1356, allocations: 41.96 MB / 492.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01179/0.1474, allocations: 9.884 MB / 0.4908 GB, free: 5.008 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003968/0.1478, allocations: 11.94 kB / 0.4908 GB, free: 4.996 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007097/0.1486, allocations: 230.5 kB / 0.491 GB, free: 4.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006244/0.1492, allocations: 298 kB / 0.4913 GB, free: 4.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01275/0.162, allocations: 4.706 MB / 0.4959 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001058/0.1631, allocations: 0.762 MB / 0.4966 GB, free: 14.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003967/0.1635, allocations: 251.8 kB / 0.4969 GB, free: 14.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003473/0.1639, allocations: 274.9 kB / 0.4971 GB, free: 14.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003546/0.1642, allocations: 294.7 kB / 0.4974 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.408e-05/0.1643, allocations: 35.88 kB / 0.4974 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01072/0.175, allocations: 6.228 MB / 0.5035 GB, free: 7.914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.1751, allocations: 79.69 kB / 0.5036 GB, free: 7.836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003321/0.1755, allocations: 234.8 kB / 0.5038 GB, free: 7.605 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007235/0.1827, allocations: 3.766 MB / 0.5075 GB, free: 3.832 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.1828, allocations: 0 / 0.5075 GB, free: 3.832 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1828, allocations: 0 / 0.5075 GB, free: 3.832 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.1828, allocations: 0 / 0.5075 GB, free: 3.832 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.00266/0.1854, allocations: 1.177 MB / 0.5086 GB, free: 2.605 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1855, allocations: 19.89 kB / 0.5087 GB, free: 2.586 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002657/0.1858, allocations: 72.34 kB / 0.5087 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005651/0.1863, allocations: 382.1 kB / 0.5091 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.1864, allocations: 17.03 kB / 0.5091 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/0.1864, allocations: 32.38 kB / 0.5091 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007801/0.1872, allocations: 393 kB / 0.5095 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1872, allocations: 0 / 0.5095 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.268e-05/0.1873, allocations: 12 kB / 0.5095 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.1873, allocations: 8 kB / 0.5095 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006542/0.188, allocations: 258 kB / 0.5098 GB, free: 1.371 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.002007/0.19, allocations: 2.019 MB / 0.5118 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004323/0.1904, allocations: 150.4 kB / 0.5119 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.1906, allocations: 80.81 kB / 0.512 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.23/0.4206, allocations: 32.12 MB / 0.5433 GB, free: 73.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.4206, allocations: 37.56 kB / 0.5434 GB, free: 73.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.964e-06/0.4207, allocations: 1.375 kB / 0.5434 GB, free: 73.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.002346/0.423, allocations: 0.5693 MB / 0.5439 GB, free: 73.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.423, allocations: 56.48 kB / 0.544 GB, free: 73.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000403/0.4235, allocations: 400 kB / 0.5444 GB, free: 73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.4235, allocations: 27.61 kB / 0.5444 GB, free: 72.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.4236, allocations: 215.9 kB / 0.5446 GB, free: 72.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.4236, allocations: 54.61 kB / 0.5447 GB, free: 72.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.439e-05/0.4237, allocations: 47.16 kB / 0.5447 GB, free: 72.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.779e-05/0.4238, allocations: 358.1 kB / 0.545 GB, free: 72.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.424, allocations: 76.19 kB / 0.5451 GB, free: 72.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.4242, allocations: 103.5 kB / 0.5452 GB, free: 72.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.4245, allocations: 179.1 kB / 0.5454 GB, free: 72.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4245, allocations: 3.281 kB / 0.5454 GB, free: 72.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005631/0.4251, allocations: 304.8 kB / 0.5457 GB, free: 72.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.4251, allocations: 4.812 kB / 0.5457 GB, free: 72.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.4251, allocations: 1.469 kB / 0.5457 GB, free: 72.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002366/0.4275, allocations: 334.3 kB / 0.546 GB, free: 72.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.4277, allocations: 52.86 kB / 0.5461 GB, free: 72.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006909/0.4284, allocations: 0.651 MB / 0.5467 GB, free: 71.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002868/0.4287, allocations: 25.06 kB / 0.5467 GB, free: 71.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.4288, allocations: 18.47 kB / 0.5467 GB, free: 71.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002099/0.429, allocations: 159.2 kB / 0.5469 GB, free: 71.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001524/0.4292, allocations: 128 kB / 0.547 GB, free: 71.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002832/0.4294, allocations: 189.5 kB / 0.5472 GB, free: 71.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.363e-06/0.4295, allocations: 1.094 kB / 0.5472 GB, free: 71.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization_lambda0): time 0.0007059/0.4302, allocations: 298.5 kB / 0.5475 GB, free: 71.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.4302, allocations: 13.84 kB / 0.5475 GB, free: 71.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4302, allocations: 2.906 kB / 0.5475 GB, free: 71.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003279/0.4305, allocations: 78.25 kB / 0.5476 GB, free: 71.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.4308, allocations: 63.38 kB / 0.5476 GB, free: 71.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.4321, allocations: 1.568 MB / 0.5492 GB, free: 69.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.4324, allocations: 19.44 kB / 0.5492 GB, free: 69.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.4324, allocations: 10.5 kB / 0.5492 GB, free: 69.79 MB / 414.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 8.712e-05/0.4325, allocations: 195.8 kB / 0.5494 GB, free: 69.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.839e-05/0.4326, allocations: 39.34 kB / 0.5494 GB, free: 69.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.4336, allocations: 0.9062 MB / 0.5503 GB, free: 69.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.4336, allocations: 8.219 kB / 0.5503 GB, free: 69.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.4336, allocations: 3.984 kB / 0.5503 GB, free: 69.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.4336, allocations: 2.812 kB / 0.5503 GB, free: 69.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004459/0.4341, allocations: 0.5402 MB / 0.5508 GB, free: 68.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.4341, allocations: 1.531 kB / 0.5508 GB, free: 68.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.35e-05/0.4342, allocations: 23.3 kB / 0.5509 GB, free: 68.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00139/0.4356, allocations: 0.4938 MB / 0.5513 GB, free: 68.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.4356, allocations: 8 kB / 0.5513 GB, free: 68.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007887/0.4364, allocations: 1.084 MB / 0.5524 GB, free: 67.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4364, allocations: 1.312 kB / 0.5524 GB, free: 67.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000889/0.4373, allocations: 0.7881 MB / 0.5532 GB, free: 67.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.981e-05/0.4374, allocations: 132.7 kB / 0.5533 GB, free: 66.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.629e-05/0.4375, allocations: 15.38 kB / 0.5533 GB, free: 66.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.4377, allocations: 4.906 kB / 0.5533 GB, free: 66.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/0.4377, allocations: 24.38 kB / 0.5533 GB, free: 66.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.4378, allocations: 4.906 kB / 0.5534 GB, free: 66.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003118/0.4381, allocations: 338.7 kB / 0.5537 GB, free: 66.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4381, allocations: 0 / 0.5537 GB, free: 66.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002629/0.4407, allocations: 0.9456 MB / 0.5546 GB, free: 66.58 MB / 414.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.003383/0.4441, allocations: 0.9628 MB / 0.5555 GB, free: 66.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00134/0.4455, allocations: 496.3 kB / 0.556 GB, free: 66.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4455, allocations: 2.906 kB / 0.556 GB, free: 66.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003186/0.4458, allocations: 192.8 kB / 0.5562 GB, free: 65.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.4469, allocations: 224.2 kB / 0.5564 GB, free: 65.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.448, allocations: 0.8457 MB / 0.5572 GB, free: 65.35 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.4482, allocations: 0.8496 MB / 0.5581 GB, free: 64.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000257/0.4485, allocations: 170.8 kB / 0.5582 GB, free: 64.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.782e-05/0.4485, allocations: 35.14 kB / 0.5583 GB, free: 64.5 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4485, allocations: 3.938 kB / 0.5583 GB, free: 64.5 MB / 414.1 MB Notification: Performance of Templates: time 0.03476/0.4833, allocations: 35.55 MB / 0.593 GB, free: 31.28 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.makefile (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 -s cvode -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe 2>&1)