Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 183.7 kB / 16.71 MB, free: 4.973 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 225.7 MB / 243.2 MB, free: 8.531 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007561/0.0007561, allocations: 94.59 kB / 294.4 MB, free: 9.527 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3506/0.3506, allocations: 48.79 MB / 394.3 MB, free: 33.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003117/0.0003117, allocations: 8 kB / 468.1 MB, free: 9.453 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2765, allocations: 63.08 MB / 0.5187 GB, free: 37.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.03053/0.3071, allocations: 47.57 MB / 0.5652 GB, free: 0.668 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01473/0.3219, allocations: 14.92 MB / 0.5798 GB, free: 3.887 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004321/0.3223, allocations: 10.94 kB / 0.5798 GB, free: 3.883 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007254/0.3231, allocations: 200.5 kB / 0.58 GB, free: 3.77 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007396/0.3238, allocations: 275.8 kB / 0.5802 GB, free: 3.598 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01296/0.3368, allocations: 3.771 MB / 0.5839 GB, free: 1.305 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001312/0.3381, allocations: 0.9989 MB / 0.5849 GB, free: 416 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003556/0.3385, allocations: 207.1 kB / 0.5851 GB, free: 204 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003434/0.3388, allocations: 250.9 kB / 0.5853 GB, free: 15.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003518/0.3392, allocations: 278.8 kB / 0.5856 GB, free: 15.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.056e-05/0.3393, allocations: 16 kB / 0.5856 GB, free: 15.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01181/0.3511, allocations: 5.951 MB / 0.5914 GB, free: 9.707 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.3512, allocations: 67.56 kB / 0.5915 GB, free: 9.641 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003071/0.3515, allocations: 240.6 kB / 0.5917 GB, free: 9.398 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006585/0.3581, allocations: 3.757 MB / 0.5954 GB, free: 5.633 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3581, allocations: 0 / 0.5954 GB, free: 5.633 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3582, allocations: 4 kB / 0.5954 GB, free: 5.629 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.3582, allocations: 0 / 0.5954 GB, free: 5.629 MB / 410.7 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.00239/0.3606, allocations: 1.099 MB / 0.5964 GB, free: 4.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.3606, allocations: 13.11 kB / 0.5965 GB, free: 4.469 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002455/0.3609, allocations: 80.34 kB / 0.5965 GB, free: 4.391 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004447/0.3613, allocations: 374.1 kB / 0.5969 GB, free: 3.984 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.3614, allocations: 21.03 kB / 0.5969 GB, free: 3.965 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.302e-05/0.3614, allocations: 32.38 kB / 0.5969 GB, free: 3.934 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007803/0.3622, allocations: 397 kB / 0.5973 GB, free: 3.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.3622, allocations: 0 / 0.5973 GB, free: 3.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.3623, allocations: 12 kB / 0.5973 GB, free: 3.508 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.3623, allocations: 4 kB / 0.5973 GB, free: 3.504 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006418/0.3629, allocations: 273.9 kB / 0.5976 GB, free: 3.238 MB / 410.7 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.001988/0.3649, allocations: 2.035 MB / 0.5996 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004225/0.3653, allocations: 158.4 kB / 0.5997 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.3655, allocations: 89.09 kB / 0.5998 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05937/0.4249, allocations: 32.3 MB / 0.6314 GB, free: 12.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.425, allocations: 34.55 kB / 0.6314 GB, free: 12.56 MB / 458.7 MB Notification: Performance of pre-optimization done (n=15): time 1.934e-06/0.425, allocations: 0 / 0.6314 GB, free: 12.56 MB / 458.7 MB Notification: Performance of matching and sorting (n=15): time 0.002331/0.4273, allocations: 0.6003 MB / 0.632 GB, free: 11.93 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.4274, allocations: 51.41 kB / 0.632 GB, free: 11.87 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004125/0.4278, allocations: 398 kB / 0.6324 GB, free: 11.47 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.4278, allocations: 25.7 kB / 0.6324 GB, free: 11.44 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.428, allocations: 224 kB / 0.6327 GB, free: 11.22 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.351e-05/0.428, allocations: 47.36 kB / 0.6327 GB, free: 11.17 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.383e-05/0.4281, allocations: 4 kB / 0.6327 GB, free: 11.17 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.4282, allocations: 354.7 kB / 0.633 GB, free: 10.81 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.4284, allocations: 75.95 kB / 0.6331 GB, free: 10.74 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.4286, allocations: 112.2 kB / 0.6332 GB, free: 10.61 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003725/0.429, allocations: 196 kB / 0.6334 GB, free: 10.41 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.429, allocations: 3.938 kB / 0.6334 GB, free: 10.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007805/0.4298, allocations: 333.7 kB / 0.6337 GB, free: 10.07 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.697e-05/0.4299, allocations: 124.5 kB / 0.6338 GB, free: 9.926 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.4299, allocations: 0 / 0.6338 GB, free: 9.926 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002374/0.4323, allocations: 332.5 kB / 0.6342 GB, free: 9.598 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.4325, allocations: 51.89 kB / 0.6342 GB, free: 9.547 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007598/0.4333, allocations: 0.6421 MB / 0.6348 GB, free: 8.879 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003259/0.4336, allocations: 43.73 kB / 0.6349 GB, free: 8.836 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.4337, allocations: 11.98 kB / 0.6349 GB, free: 8.824 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.274e-06/0.4337, allocations: 4 kB / 0.6349 GB, free: 8.82 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006817/0.4344, allocations: 240.4 kB / 0.6351 GB, free: 8.582 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-06/0.4344, allocations: 0 / 0.6351 GB, free: 8.582 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003638/0.4348, allocations: 80.86 kB / 0.6352 GB, free: 8.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.435, allocations: 59.95 kB / 0.6353 GB, free: 8.441 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001504/0.4365, allocations: 1.445 MB / 0.6367 GB, free: 6.859 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/0.4368, allocations: 47.77 kB / 0.6367 GB, free: 6.812 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.4368, allocations: 11.92 kB / 0.6367 GB, free: 6.801 MB / 458.7 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.000172/0.437, allocations: 222.5 kB / 0.6369 GB, free: 6.574 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.752e-05/0.4371, allocations: 39.53 kB / 0.637 GB, free: 6.535 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.4383, allocations: 0.9167 MB / 0.6379 GB, free: 5.605 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.4383, allocations: 8.125 kB / 0.6379 GB, free: 5.598 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.4383, allocations: 3.984 kB / 0.6379 GB, free: 5.594 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.4383, allocations: 7.938 kB / 0.6379 GB, free: 5.586 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005606/0.4389, allocations: 0.545 MB / 0.6384 GB, free: 4.992 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.4389, allocations: 0 / 0.6384 GB, free: 4.992 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.205e-05/0.439, allocations: 27.92 kB / 0.6385 GB, free: 4.965 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001946/0.441, allocations: 0.8626 MB / 0.6393 GB, free: 4.098 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.441, allocations: 8 kB / 0.6393 GB, free: 4.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009083/0.4419, allocations: 1.084 MB / 0.6404 GB, free: 2.98 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4419, allocations: 0 / 0.6404 GB, free: 2.98 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009713/0.4429, allocations: 0.8064 MB / 0.6411 GB, free: 2.152 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.443, allocations: 148.2 kB / 0.6413 GB, free: 1.988 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.385e-05/0.4431, allocations: 7.938 kB / 0.6413 GB, free: 1.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.4433, allocations: 31.89 kB / 0.6413 GB, free: 1.949 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.4434, allocations: 11.97 kB / 0.6413 GB, free: 1.938 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-05/0.4434, allocations: 8 kB / 0.6413 GB, free: 1.93 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003302/0.4437, allocations: 334.9 kB / 0.6417 GB, free: 1.602 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4437, allocations: 0 / 0.6417 GB, free: 1.602 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002336/0.4461, allocations: 0.9485 MB / 0.6426 GB, free: 0.6523 MB / 458.7 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.003008/0.4491, allocations: 0.9747 MB / 0.6435 GB, free: 15.67 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001354/0.4505, allocations: 498.4 kB / 0.644 GB, free: 15.17 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.4505, allocations: 0 / 0.644 GB, free: 15.17 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003578/0.4508, allocations: 192 kB / 0.6442 GB, free: 14.98 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.452, allocations: 223.2 kB / 0.6444 GB, free: 14.77 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.4533, allocations: 1.081 MB / 0.6455 GB, free: 13.65 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.4537, allocations: 0.8436 MB / 0.6463 GB, free: 12.79 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003375/0.4541, allocations: 163 kB / 0.6465 GB, free: 12.63 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.664e-05/0.4542, allocations: 31.44 kB / 0.6465 GB, free: 12.6 MB / 474.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4542, allocations: 0 / 0.6465 GB, free: 12.6 MB / 474.7 MB Notification: Performance of Templates: time 0.2233/0.6775, allocations: 35.12 MB / 0.6808 GB, free: 141 MB / 490.7 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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe 2>&1)