Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.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/ThermalSeparation 0.2.0-master/package.mo", uses=false) Using package ThermalSeparation with version 0.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermalSeparation 0.2.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(ThermalSeparation.Examples.Testing.Pump.PumpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem") translateModel(ThermalSeparation.Examples.Testing.Pump.PumpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009253/0.0009254, allocations: 185.2 kB / 16.08 MB, free: 5.535 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.591/1.591, allocations: 225.7 MB / 242.5 MB, free: 404 kB / 186.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.0008282/0.0008281, allocations: 97.75 kB / 293.7 MB, free: 12.89 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.7557/0.7557, allocations: 65.48 MB / 410.3 MB, free: 48.8 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003825/0.0003826, allocations: 8 kB / 485.9 MB, free: 1.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1567, allocations: 64.89 MB / 0.5379 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.008441/0.1652, allocations: 6.614 MB / 0.5444 GB, free: 10.3 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.007162/0.1724, allocations: 4.173 MB / 0.5484 GB, free: 6.113 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.1737, allocations: 11.94 kB / 0.5485 GB, free: 6.102 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002169/0.1759, allocations: 0.5092 MB / 0.5489 GB, free: 5.59 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002529/0.1785, allocations: 0.672 MB / 0.5496 GB, free: 4.914 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.1801, allocations: 495.4 kB / 0.5501 GB, free: 4.43 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00441/0.1845, allocations: 3.176 MB / 0.5532 GB, free: 1.242 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001429/0.186, allocations: 0.6172 MB / 0.5538 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3399/0.5259, allocations: 0.7294 MB / 0.5545 GB, free: 36.68 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002869/0.5288, allocations: 1.021 MB / 0.5555 GB, free: 36.68 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00091/0.5297, allocations: 78.75 kB / 0.5556 GB, free: 36.68 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.531, allocations: 77.34 kB / 0.5556 GB, free: 36.68 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001738/0.5328, allocations: 0.6774 MB / 0.5563 GB, free: 36.62 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003996/0.5368, allocations: 0.9618 MB / 0.5572 GB, free: 36.32 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0061/0.5429, allocations: 2.873 MB / 0.56 GB, free: 36.01 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.198e-06/0.543, allocations: 0 / 0.56 GB, free: 36.01 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.543, allocations: 0 / 0.56 GB, free: 36.01 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001634/0.5432, allocations: 0.625 kB / 0.56 GB, free: 36.01 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 547 * Number of variables: 547 Notification: Performance of Generate backend data structure: time 0.007483/0.5507, allocations: 1.817 MB / 0.5618 GB, free: 35.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.5507, allocations: 12.75 kB / 0.5618 GB, free: 35.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008646/0.5516, allocations: 190.8 kB / 0.562 GB, free: 35.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001943/0.5536, allocations: 0.7522 MB / 0.5627 GB, free: 34.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000222/0.5538, allocations: 150.3 kB / 0.5629 GB, free: 34.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001187/0.555, allocations: 276 kB / 0.5632 GB, free: 34.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007415/0.5624, allocations: 2.724 MB / 0.5658 GB, free: 34.22 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-05/0.5625, allocations: 7.938 kB / 0.5658 GB, free: 34.22 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002776/0.5628, allocations: 84.59 kB / 0.5659 GB, free: 34.22 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002104/0.563, allocations: 150.4 kB / 0.566 GB, free: 34.22 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005672/0.5687, allocations: 2.176 MB / 0.5682 GB, free: 34.2 MB / 426.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.01702/0.5858, allocations: 10.8 MB / 0.5787 GB, free: 27.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003034/0.5888, allocations: 2.783 MB / 0.5814 GB, free: 25.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001584/0.5904, allocations: 0.6457 MB / 0.5821 GB, free: 25.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/0.5906, allocations: 25.92 kB / 0.5821 GB, free: 25.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.5906, allocations: 54.17 kB / 0.5821 GB, free: 25.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=115): time 4.89e-06/0.5906, allocations: 0 / 0.5821 GB, free: 25.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=140): time 0.02283/0.6135, allocations: 7.728 MB / 0.5897 GB, free: 22.39 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004375/0.6179, allocations: 3.89 MB / 0.5935 GB, free: 19.05 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.6193, allocations: 1.087 MB / 0.5945 GB, free: 18.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002833/0.6196, allocations: 47.89 kB / 0.5946 GB, free: 18.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004301/0.6201, allocations: 0.9272 MB / 0.5955 GB, free: 17.81 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004549/0.6205, allocations: 0.4988 MB / 0.596 GB, free: 17.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.6206, allocations: 45.28 kB / 0.596 GB, free: 17.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.6208, allocations: 438.4 kB / 0.5964 GB, free: 17.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001432/0.6222, allocations: 0.9082 MB / 0.5973 GB, free: 16.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.6239, allocations: 1.866 MB / 0.5992 GB, free: 15.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003292/0.6273, allocations: 2.938 MB / 0.602 GB, free: 13 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.375e-05/0.6273, allocations: 9.656 kB / 0.602 GB, free: 13 MB / 426.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.007876/0.6352, allocations: 3.669 MB / 0.6056 GB, free: 11.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.458e-05/0.6352, allocations: 19.25 kB / 0.6056 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-05/0.6353, allocations: 31.94 kB / 0.6057 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004592/0.6399, allocations: 0.9936 MB / 0.6066 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002917/0.6428, allocations: 0.5671 MB / 0.6072 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01065/0.6535, allocations: 6.202 MB / 0.6132 GB, free: 23.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002888/0.6564, allocations: 224.1 kB / 0.6135 GB, free: 23.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002696/0.6567, allocations: 124.2 kB / 0.6136 GB, free: 23.47 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 5 (tank.mediumLiquidIn.state.phase,tank.mediumLiquid.state.phase,sourceLiquid.medium.state.phase,idealPumpControlledVdot.mediumLiquidIn.state.phase,idealPumpControlledVdot.mediumLiquid.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 264 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(8,15,67.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001247/0.6579, allocations: 0.5667 MB / 0.6141 GB, free: 23.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002916/0.6582, allocations: 128.9 kB / 0.6143 GB, free: 23.04 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008012/0.6663, allocations: 2.859 MB / 0.6171 GB, free: 21.99 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006904/0.6732, allocations: 2.473 MB / 0.6195 GB, free: 21.14 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.433e-05/0.6732, allocations: 5.5 kB / 0.6195 GB, free: 21.14 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.133e-05/0.6733, allocations: 9.828 kB / 0.6195 GB, free: 21.14 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01341/0.6867, allocations: 6.033 MB / 0.6254 GB, free: 18.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/0.6868, allocations: 6.438 kB / 0.6254 GB, free: 18.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001753/0.6885, allocations: 291.8 kB / 0.6257 GB, free: 18.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00516/0.6937, allocations: 1.197 MB / 0.6268 GB, free: 17.69 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002007/0.6939, allocations: 39.02 kB / 0.6269 GB, free: 17.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008497/0.7024, allocations: 5.936 MB / 0.6327 GB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00502/0.7075, allocations: 3.728 MB / 0.6363 GB, free: 9.57 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009146/0.7166, allocations: 4.303 MB / 0.6405 GB, free: 6.879 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007089/0.7174, allocations: 218.4 kB / 0.6407 GB, free: 6.695 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/0.7176, allocations: 42.25 kB / 0.6408 GB, free: 6.668 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/0.7191, allocations: 147.1 kB / 0.6409 GB, free: 6.594 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003466/0.7194, allocations: 114.4 kB / 0.641 GB, free: 6.527 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/0.7195, allocations: 50.14 kB / 0.641 GB, free: 6.512 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001026/0.7206, allocations: 0.6888 MB / 0.6417 GB, free: 5.969 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7206, allocations: 0 / 0.6417 GB, free: 5.969 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002684/0.7233, allocations: 0.5742 MB / 0.6423 GB, free: 5.395 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 4 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],tank.level) * 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 (126): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,10,61.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (5,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002545/0.7235, allocations: 168.8 kB / 0.6424 GB, free: 5.223 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006702/0.7302, allocations: 2.596 MB / 0.645 GB, free: 2.617 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.7303, allocations: 3.938 kB / 0.645 GB, free: 2.613 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003778/0.7341, allocations: 1.395 MB / 0.6463 GB, free: 1.207 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00299/0.7371, allocations: 393.2 kB / 0.6467 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007627/0.7447, allocations: 4.689 MB / 0.6513 GB, free: 12.02 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001254/0.746, allocations: 1.407 MB / 0.6527 GB, free: 10.58 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001936/0.7479, allocations: 460.6 kB / 0.6531 GB, free: 10.12 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004007/0.7483, allocations: 115.4 kB / 0.6532 GB, free: 10.01 MB / 458.7 MB Notification: Performance of SimCode: time 1.162e-06/0.7483, allocations: 0 / 0.6532 GB, free: 10.01 MB / 458.7 MB Notification: Performance of Templates: time 0.04498/0.7933, allocations: 27.51 MB / 0.6801 GB, free: 14.73 MB / 490.7 MB make -j1 -f ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.makefile (rm -f ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe ; mkfifo ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe ; head -c 1048576 < ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe >> ../files/ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.sim & ./ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe 2>&1)