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.001074/0.001074, allocations: 93.7 kB / 16.3 MB, free: 5.996 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.0009759/0.0009759, allocations: 180.5 kB / 17.19 MB, free: 5.906 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.38/1.38, allocations: 205.4 MB / 223.4 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.414/0.414, allocations: 48.77 MB / 320.4 MB, free: 3.832 MB / 254.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.000792/0.0007923, allocations: 16 kB / 391.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1121, allocations: 60.26 MB / 451.4 MB, free: 1.926 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.204/0.3161, allocations: 35.36 MB / 486.7 MB, free: 28.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008733/0.3249, allocations: 8.55 MB / 495.3 MB, free: 22.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003451/0.3252, allocations: 13.78 kB / 495.3 MB, free: 22.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005695/0.3258, allocations: 188.7 kB / 495.5 MB, free: 22.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005345/0.3264, allocations: 282.8 kB / 495.8 MB, free: 22.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01102/0.3374, allocations: 3.655 MB / 499.4 MB, free: 20.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009309/0.3383, allocations: 0.5035 MB / 499.9 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003803/0.3387, allocations: 198 kB / 0.4884 GB, free: 19.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003354/0.3391, allocations: 221.2 kB / 0.4886 GB, free: 19.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003163/0.3394, allocations: 223.3 kB / 0.4888 GB, free: 19.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.486e-05/0.3395, allocations: 21.09 kB / 0.4888 GB, free: 19.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01202/0.3515, allocations: 6.076 MB / 0.4948 GB, free: 17.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.3516, allocations: 59.41 kB / 0.4948 GB, free: 17.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002348/0.3519, allocations: 108.1 kB / 0.4949 GB, free: 17.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00496/0.3569, allocations: 2.489 MB / 0.4974 GB, free: 15.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.3569, allocations: 0 / 0.4974 GB, free: 15.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3569, allocations: 0 / 0.4974 GB, free: 15.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.3569, allocations: 0 / 0.4974 GB, free: 15.77 MB / 382.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.003406/0.3603, allocations: 1.111 MB / 0.4985 GB, free: 14.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.3604, allocations: 8.781 kB / 0.4985 GB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002838/0.3607, allocations: 74.77 kB / 0.4985 GB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004006/0.3611, allocations: 363.4 kB / 0.4989 GB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.3611, allocations: 20.59 kB / 0.4989 GB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.852e-05/0.3611, allocations: 37.98 kB / 0.4989 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006747/0.3618, allocations: 381.4 kB / 0.4993 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3618, allocations: 0 / 0.4993 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.823e-05/0.3619, allocations: 19.84 kB / 0.4993 GB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.3619, allocations: 6.688 kB / 0.4993 GB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005892/0.3625, allocations: 269.1 kB / 0.4996 GB, free: 14.16 MB / 382.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.001695/0.3642, allocations: 2.031 MB / 0.5016 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004277/0.3646, allocations: 156.9 kB / 0.5017 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06105/0.4257, allocations: 32.29 MB / 0.5332 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.4258, allocations: 42.52 kB / 0.5333 GB, free: 10.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 3.737e-06/0.4258, allocations: 0 / 0.5333 GB, free: 10.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.002367/0.4282, allocations: 0.5849 MB / 0.5339 GB, free: 10 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.4282, allocations: 55.41 kB / 0.5339 GB, free: 9.938 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004639/0.4287, allocations: 401.9 kB / 0.5343 GB, free: 9.531 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.4287, allocations: 25.7 kB / 0.5343 GB, free: 9.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.4289, allocations: 216.1 kB / 0.5345 GB, free: 9.285 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.141e-05/0.4289, allocations: 59.19 kB / 0.5346 GB, free: 9.227 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.258e-05/0.429, allocations: 8 kB / 0.5346 GB, free: 9.219 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.4291, allocations: 346.8 kB / 0.5349 GB, free: 8.871 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.4293, allocations: 64.28 kB / 0.535 GB, free: 8.809 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.4294, allocations: 112.9 kB / 0.5351 GB, free: 8.684 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.4296, allocations: 71.42 kB / 0.5352 GB, free: 8.617 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4296, allocations: 4 kB / 0.5352 GB, free: 8.613 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006169/0.4302, allocations: 289.8 kB / 0.5354 GB, free: 8.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001809/0.4304, allocations: 457.1 kB / 0.5359 GB, free: 7.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.4305, allocations: 11.89 kB / 0.5359 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001735/0.4322, allocations: 240.6 kB / 0.5361 GB, free: 7.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.4325, allocations: 59.02 kB / 0.5362 GB, free: 7.535 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008142/0.4333, allocations: 0.64 MB / 0.5368 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004176/0.4337, allocations: 43.83 kB / 0.5368 GB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.4338, allocations: 7.984 kB / 0.5368 GB, free: 6.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.4338, allocations: 4 kB / 0.5369 GB, free: 6.816 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006448/0.4344, allocations: 248 kB / 0.5371 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.4344, allocations: 0 / 0.5371 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003509/0.4348, allocations: 80.81 kB / 0.5372 GB, free: 6.492 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.4351, allocations: 59.95 kB / 0.5372 GB, free: 6.434 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/0.4366, allocations: 1.464 MB / 0.5387 GB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003389/0.437, allocations: 39.86 kB / 0.5387 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.437, allocations: 8 kB / 0.5387 GB, free: 4.789 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001907/0.4372, allocations: 225.3 kB / 0.5389 GB, free: 4.559 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.419e-05/0.4373, allocations: 47.39 kB / 0.539 GB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.4385, allocations: 0.9244 MB / 0.5399 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.4385, allocations: 8 kB / 0.5399 GB, free: 3.574 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.175e-06/0.4385, allocations: 3.984 kB / 0.5399 GB, free: 3.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4385, allocations: 4 kB / 0.5399 GB, free: 3.566 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006255/0.4391, allocations: 0.5379 MB / 0.5404 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.4392, allocations: 0.8125 kB / 0.5404 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.343e-05/0.4393, allocations: 27.92 kB / 0.5404 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001887/0.4411, allocations: 0.8636 MB / 0.5413 GB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.4412, allocations: 11.95 kB / 0.5413 GB, free: 2.074 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008576/0.442, allocations: 1.069 MB / 0.5423 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.4421, allocations: 0 / 0.5423 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009366/0.443, allocations: 0.8113 MB / 0.5431 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.4432, allocations: 156.2 kB / 0.5433 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.372e-05/0.4433, allocations: 4 kB / 0.5433 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/0.4435, allocations: 23.94 kB / 0.5433 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-05/0.4436, allocations: 15.97 kB / 0.5433 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.4436, allocations: 4 kB / 0.5433 GB, free: 15.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003493/0.444, allocations: 330.9 kB / 0.5436 GB, free: 15.61 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.444, allocations: 0 / 0.5436 GB, free: 15.61 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00366/0.4477, allocations: 0.9563 MB / 0.5446 GB, free: 14.65 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.005846/0.4535, allocations: 0.9649 MB / 0.5455 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001536/0.4551, allocations: 489.9 kB / 0.546 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4551, allocations: 0 / 0.546 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003873/0.4555, allocations: 196 kB / 0.5462 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.4569, allocations: 217.7 kB / 0.5464 GB, free: 12.79 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.4582, allocations: 1.045 MB / 0.5474 GB, free: 11.72 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.4586, allocations: 0.8594 MB / 0.5482 GB, free: 10.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003066/0.4589, allocations: 165.8 kB / 0.5484 GB, free: 10.68 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.11e-05/0.459, allocations: 31.44 kB / 0.5484 GB, free: 10.65 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.459, allocations: 0 / 0.5484 GB, free: 10.65 MB / 430.1 MB Notification: Performance of Templates: time 0.06805/0.527, allocations: 35.5 MB / 0.5831 GB, free: 7.148 MB / 462.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: