Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.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.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") translateModel(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 182.8 kB / 16.71 MB, free: 4.969 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.328/1.328, allocations: 225.7 MB / 243.2 MB, free: 8.465 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.0008563/0.0008562, allocations: 97.47 kB / 294.4 MB, free: 9.5 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.4088/0.4088, allocations: 48.8 MB / 394.3 MB, free: 33.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003131/0.0003131, allocations: 8 kB / 468.1 MB, free: 9.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.273, allocations: 63.09 MB / 0.5187 GB, free: 37.69 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.03295/0.306, allocations: 50.2 MB / 0.5678 GB, free: 14.35 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01489/0.321, allocations: 14.03 MB / 0.5815 GB, free: 2.367 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000614/0.3216, allocations: 15.16 kB / 0.5815 GB, free: 2.359 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.3227, allocations: 172.1 kB / 0.5816 GB, free: 2.262 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0014/0.3241, allocations: 268 kB / 0.5819 GB, free: 2.094 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01569/0.3398, allocations: 4.088 MB / 0.5859 GB, free: 15.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001388/0.3412, allocations: 1.036 MB / 0.5869 GB, free: 14.28 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005094/0.3417, allocations: 214.4 kB / 0.5871 GB, free: 14.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009239/0.3427, allocations: 374.3 kB / 0.5875 GB, free: 13.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005012/0.3432, allocations: 286.6 kB / 0.5877 GB, free: 13.42 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.66e-05/0.3433, allocations: 16 kB / 0.5878 GB, free: 13.4 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0122/0.3555, allocations: 5.869 MB / 0.5935 GB, free: 7.527 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.3557, allocations: 63.64 kB / 0.5935 GB, free: 7.465 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003599/0.356, allocations: 252.4 kB / 0.5938 GB, free: 7.211 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008391/0.3644, allocations: 3.687 MB / 0.5974 GB, free: 3.516 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3645, allocations: 4 kB / 0.5974 GB, free: 3.512 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3645, allocations: 0 / 0.5974 GB, free: 3.512 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.3645, allocations: 0 / 0.5974 GB, free: 3.512 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.003182/0.3677, allocations: 1.107 MB / 0.5985 GB, free: 2.355 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.3678, allocations: 21.09 kB / 0.5985 GB, free: 2.336 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002707/0.3681, allocations: 64.36 kB / 0.5986 GB, free: 2.273 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005129/0.3686, allocations: 366 kB / 0.5989 GB, free: 1.875 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.172e-05/0.3686, allocations: 28.97 kB / 0.5989 GB, free: 1.844 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.608e-05/0.3687, allocations: 32.38 kB / 0.599 GB, free: 1.812 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.3697, allocations: 442.4 kB / 0.5994 GB, free: 1.344 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.3697, allocations: 0 / 0.5994 GB, free: 1.344 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.473e-05/0.3697, allocations: 12 kB / 0.5994 GB, free: 1.332 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.3698, allocations: 11.94 kB / 0.5994 GB, free: 1.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.371, allocations: 384.1 kB / 0.5998 GB, free: 0.9453 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.002334/0.3734, allocations: 2.124 MB / 0.6018 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.3746, allocations: 345 kB / 0.6022 GB, free: 14.28 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003965/0.375, allocations: 125.6 kB / 0.6023 GB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06116/0.4362, allocations: 32.41 MB / 0.6339 GB, free: 9.898 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.186e-05/0.4362, allocations: 38.56 kB / 0.634 GB, free: 9.852 MB / 458.7 MB Notification: Performance of pre-optimization done (n=17): time 2.044e-06/0.4363, allocations: 0 / 0.634 GB, free: 9.852 MB / 458.7 MB Notification: Performance of matching and sorting (n=17): time 0.001748/0.438, allocations: 448.7 kB / 0.6344 GB, free: 9.406 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/0.4381, allocations: 85.47 kB / 0.6345 GB, free: 9.305 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005441/0.4386, allocations: 430.1 kB / 0.6349 GB, free: 8.875 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.4387, allocations: 29.7 kB / 0.6349 GB, free: 8.84 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.4389, allocations: 224.1 kB / 0.6351 GB, free: 8.613 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/0.439, allocations: 67.03 kB / 0.6352 GB, free: 8.547 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-05/0.439, allocations: 8 kB / 0.6352 GB, free: 8.539 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.4391, allocations: 354.7 kB / 0.6356 GB, free: 8.184 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003561/0.4395, allocations: 103.9 kB / 0.6357 GB, free: 8.082 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003826/0.4399, allocations: 174 kB / 0.6358 GB, free: 7.887 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007141/0.4406, allocations: 271.5 kB / 0.6361 GB, free: 7.594 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4406, allocations: 0 / 0.6361 GB, free: 7.594 MB / 458.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009457/0.4416, allocations: 352.9 kB / 0.6364 GB, free: 7.242 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.4417, allocations: 148 kB / 0.6366 GB, free: 7.066 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.4417, allocations: 0 / 0.6366 GB, free: 7.066 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.4418, allocations: 7.938 kB / 0.6366 GB, free: 7.059 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003644/0.4421, allocations: 79.88 kB / 0.6366 GB, free: 6.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.4421, allocations: 4.312 kB / 0.6366 GB, free: 6.977 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004142/0.4426, allocations: 63.53 kB / 0.6367 GB, free: 6.914 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.4426, allocations: 8 kB / 0.6367 GB, free: 6.906 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.696e-06/0.4426, allocations: 4 kB / 0.6367 GB, free: 6.902 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008149/0.4434, allocations: 259.8 kB / 0.637 GB, free: 6.648 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.4435, allocations: 3.984 kB / 0.637 GB, free: 6.645 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.073e-06/0.4435, allocations: 4 kB / 0.637 GB, free: 6.641 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.4438, allocations: 75.95 kB / 0.637 GB, free: 6.566 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.4438, allocations: 4 kB / 0.637 GB, free: 6.562 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003731/0.4442, allocations: 55.62 kB / 0.6371 GB, free: 6.508 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.4442, allocations: 11.98 kB / 0.6371 GB, free: 6.496 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (ValveVap.fluidState.phase,ValveLiqChocked.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001958/0.4444, allocations: 234.2 kB / 0.6373 GB, free: 6.258 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.162e-05/0.4445, allocations: 47.44 kB / 0.6374 GB, free: 6.211 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.4456, allocations: 472.6 kB / 0.6378 GB, free: 5.742 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.4456, allocations: 0 / 0.6378 GB, free: 5.742 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.4456, allocations: 0 / 0.6378 GB, free: 5.742 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.4456, allocations: 4 kB / 0.6378 GB, free: 5.738 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005895/0.4462, allocations: 460.9 kB / 0.6383 GB, free: 5.238 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.4463, allocations: 4 kB / 0.6383 GB, free: 5.234 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002901/0.4466, allocations: 59.89 kB / 0.6383 GB, free: 5.176 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.872e-06/0.4466, allocations: 4 kB / 0.6383 GB, free: 5.172 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.4466, allocations: 3.984 kB / 0.6383 GB, free: 5.168 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.4466, allocations: 0 / 0.6383 GB, free: 5.168 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.4466, allocations: 4 kB / 0.6383 GB, free: 5.164 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009085/0.4475, allocations: 473.8 kB / 0.6388 GB, free: 4.684 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/0.4477, allocations: 168.1 kB / 0.639 GB, free: 4.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.397e-05/0.4478, allocations: 11.98 kB / 0.639 GB, free: 4.488 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003634/0.4482, allocations: 31.98 kB / 0.639 GB, free: 4.457 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.759e-05/0.4483, allocations: 15.97 kB / 0.639 GB, free: 4.441 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.4483, allocations: 4 kB / 0.639 GB, free: 4.438 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000456/0.4487, allocations: 406.8 kB / 0.6394 GB, free: 4.043 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4487, allocations: 4 kB / 0.6394 GB, free: 4.039 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002615/0.4514, allocations: 0.9368 MB / 0.6403 GB, free: 3.102 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003886/0.4553, allocations: 0.9591 MB / 0.6413 GB, free: 2.129 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001299/0.4566, allocations: 393.3 kB / 0.6416 GB, free: 1.746 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.4566, allocations: 0 / 0.6416 GB, free: 1.746 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000371/0.457, allocations: 116.2 kB / 0.6418 GB, free: 1.633 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.4584, allocations: 230.8 kB / 0.642 GB, free: 1.41 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.46, allocations: 0.9588 MB / 0.6429 GB, free: 428 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.4605, allocations: 0.8308 MB / 0.6437 GB, free: 15.56 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004419/0.4609, allocations: 163.7 kB / 0.6439 GB, free: 15.41 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.581e-05/0.461, allocations: 35.42 kB / 0.6439 GB, free: 15.37 MB / 474.7 MB Notification: Performance of SimCode: time 4.61e-07/0.461, allocations: 0 / 0.6439 GB, free: 15.37 MB / 474.7 MB Notification: Performance of Templates: time 0.2343/0.6953, allocations: 34.02 MB / 0.6771 GB, free: 141.7 MB / 490.7 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1)