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.0007778/0.0007779, allocations: 90.78 kB / 16.65 MB, free: 6.348 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.000807/0.0008069, allocations: 177.3 kB / 17.56 MB, free: 5.949 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.348/1.348, allocations: 205.4 MB / 223.7 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2768/0.2768, allocations: 48.79 MB / 320.8 MB, free: 11.19 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.0007944/0.0007944, allocations: 14.03 kB / 391.8 MB, free: 50.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1064, allocations: 60.27 MB / 452.1 MB, free: 9.191 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.04377/0.1502, allocations: 42.02 MB / 494.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0128/0.1631, allocations: 10.47 MB / 0.4927 GB, free: 4.523 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004899/0.1636, allocations: 15.88 kB / 0.4928 GB, free: 4.508 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007464/0.1643, allocations: 194.9 kB / 0.4929 GB, free: 4.316 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007402/0.1651, allocations: 270.3 kB / 0.4932 GB, free: 4.051 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0112/0.1763, allocations: 3.781 MB / 0.4969 GB, free: 264 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001179/0.1775, allocations: 0.9922 MB / 0.4979 GB, free: 15.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004727/0.178, allocations: 203.2 kB / 0.4981 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005265/0.1785, allocations: 246.8 kB / 0.4983 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005655/0.1791, allocations: 294.7 kB / 0.4986 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.669e-05/0.1792, allocations: 16 kB / 0.4986 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01091/0.1901, allocations: 6.169 MB / 0.5046 GB, free: 8.344 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.1903, allocations: 63.64 kB / 0.5047 GB, free: 8.281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003261/0.1906, allocations: 240.6 kB / 0.5049 GB, free: 8.039 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007178/0.1978, allocations: 3.75 MB / 0.5086 GB, free: 4.281 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1978, allocations: 4 kB / 0.5086 GB, free: 4.277 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1978, allocations: 4 kB / 0.5086 GB, free: 4.273 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.1978, allocations: 0 / 0.5086 GB, free: 4.273 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.002864/0.2007, allocations: 1.099 MB / 0.5097 GB, free: 3.125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.2007, allocations: 11.97 kB / 0.5097 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002938/0.201, allocations: 80.27 kB / 0.5097 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004855/0.2015, allocations: 374.1 kB / 0.5101 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.2016, allocations: 21.03 kB / 0.5101 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.577e-05/0.2016, allocations: 32.31 kB / 0.5101 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007805/0.2024, allocations: 393 kB / 0.5105 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.2024, allocations: 0 / 0.5105 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.972e-05/0.2025, allocations: 12 kB / 0.5105 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.2025, allocations: 8 kB / 0.5105 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006669/0.2032, allocations: 277.9 kB / 0.5108 GB, free: 1.875 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.002216/0.2054, allocations: 2.027 MB / 0.5128 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004406/0.2058, allocations: 158.4 kB / 0.5129 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.206, allocations: 84.81 kB / 0.513 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2556/0.4617, allocations: 32.29 MB / 0.5445 GB, free: 74.01 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.4617, allocations: 36.19 kB / 0.5446 GB, free: 73.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.903e-06/0.4618, allocations: 4 kB / 0.5446 GB, free: 73.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.002523/0.4643, allocations: 0.5931 MB / 0.5452 GB, free: 73.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.4643, allocations: 52.5 kB / 0.5452 GB, free: 73.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005049/0.4648, allocations: 401.1 kB / 0.5456 GB, free: 73.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.4649, allocations: 31.7 kB / 0.5456 GB, free: 73.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.4651, allocations: 220.6 kB / 0.5458 GB, free: 73.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.979e-05/0.4651, allocations: 57.56 kB / 0.5459 GB, free: 73.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.4652, allocations: 21.28 kB / 0.5459 GB, free: 73.51 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.572e-05/0.4653, allocations: 355 kB / 0.5462 GB, free: 73.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.4655, allocations: 72.77 kB / 0.5463 GB, free: 73.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.4657, allocations: 111.6 kB / 0.5464 GB, free: 73.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/0.4661, allocations: 196 kB / 0.5466 GB, free: 73.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4661, allocations: 0 / 0.5466 GB, free: 73.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00065/0.4667, allocations: 325.5 kB / 0.5469 GB, free: 73.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.811e-05/0.4668, allocations: 123 kB / 0.547 GB, free: 72.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.4668, allocations: 2.266 kB / 0.547 GB, free: 72.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002441/0.4693, allocations: 331.5 kB / 0.5474 GB, free: 72.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.4695, allocations: 51.11 kB / 0.5474 GB, free: 72.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007301/0.4703, allocations: 0.6451 MB / 0.548 GB, free: 72.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/0.4706, allocations: 44.17 kB / 0.5481 GB, free: 72.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/0.4707, allocations: 11.78 kB / 0.5481 GB, free: 72.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.4707, allocations: 3.281 kB / 0.5481 GB, free: 72.36 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007029/0.4714, allocations: 240.8 kB / 0.5483 GB, free: 72.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.4714, allocations: 2.25 kB / 0.5483 GB, free: 72.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003633/0.4718, allocations: 75.06 kB / 0.5484 GB, free: 72.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.4721, allocations: 67.53 kB / 0.5485 GB, free: 72.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00136/0.4734, allocations: 1.457 MB / 0.5499 GB, free: 70.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002988/0.4737, allocations: 42.42 kB / 0.5499 GB, free: 70.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.4738, allocations: 15.28 kB / 0.5499 GB, free: 70.91 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 0.0001603/0.4739, allocations: 213.2 kB / 0.5501 GB, free: 70.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.474, allocations: 48.97 kB / 0.5502 GB, free: 70.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.4752, allocations: 0.926 MB / 0.5511 GB, free: 70.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.4752, allocations: 8.047 kB / 0.5511 GB, free: 70.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.4752, allocations: 0 / 0.5511 GB, free: 70.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.4753, allocations: 8.781 kB / 0.5511 GB, free: 70.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005022/0.4758, allocations: 0.5439 MB / 0.5516 GB, free: 69.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.4758, allocations: 0 / 0.5516 GB, free: 69.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.232e-05/0.4759, allocations: 27.38 kB / 0.5517 GB, free: 69.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00201/0.4779, allocations: 0.8609 MB / 0.5525 GB, free: 69.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.4779, allocations: 5.188 kB / 0.5525 GB, free: 69.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008039/0.4787, allocations: 1.089 MB / 0.5536 GB, free: 68.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4787, allocations: 7.672 kB / 0.5536 GB, free: 68.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000939/0.4797, allocations: 0.799 MB / 0.5544 GB, free: 68.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.4798, allocations: 152.5 kB / 0.5545 GB, free: 67.94 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.427e-05/0.4799, allocations: 4.969 kB / 0.5545 GB, free: 67.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.4801, allocations: 25.48 kB / 0.5545 GB, free: 67.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.4802, allocations: 21.16 kB / 0.5546 GB, free: 67.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.4802, allocations: 4.25 kB / 0.5546 GB, free: 67.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003257/0.4805, allocations: 335.9 kB / 0.5549 GB, free: 67.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.91e-07/0.4805, allocations: 0 / 0.5549 GB, free: 67.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003466/0.484, allocations: 0.9499 MB / 0.5558 GB, free: 67.62 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.004812/0.4888, allocations: 0.9732 MB / 0.5568 GB, free: 67.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.4901, allocations: 0.4933 MB / 0.5572 GB, free: 67.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4901, allocations: 0 / 0.5572 GB, free: 67.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003193/0.4905, allocations: 194.5 kB / 0.5574 GB, free: 66.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.4917, allocations: 220 kB / 0.5576 GB, free: 66.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009444/0.4927, allocations: 1.083 MB / 0.5587 GB, free: 66.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.4929, allocations: 0.8497 MB / 0.5595 GB, free: 65.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002429/0.4931, allocations: 161.6 kB / 0.5597 GB, free: 65.28 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.392e-05/0.4932, allocations: 30.72 kB / 0.5597 GB, free: 65.27 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4932, allocations: 0 / 0.5597 GB, free: 65.27 MB / 414.1 MB Notification: Performance of Templates: time 0.03514/0.5283, allocations: 35.1 MB / 0.594 GB, free: 31.76 MB / 414.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: