Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.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.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") translateModel(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000935/0.000935, allocations: 180.3 kB / 16.71 MB, free: 4.945 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.261/1.261, allocations: 225.7 MB / 243.2 MB, free: 8.441 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.0007501/0.0007501, allocations: 93.78 kB / 294.4 MB, free: 9.484 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.3573/0.3573, allocations: 48.79 MB / 394.3 MB, free: 33.61 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.0003081/0.0003082, allocations: 8 kB / 468.1 MB, free: 9.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2708, allocations: 63.08 MB / 0.5187 GB, free: 37.58 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01319/0.2841, allocations: 18.48 MB / 0.5368 GB, free: 23.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01421/0.2983, allocations: 20.98 MB / 0.5573 GB, free: 5.254 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/0.2985, allocations: 1.625 kB / 0.5573 GB, free: 5.254 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004194/0.299, allocations: 124.2 kB / 0.5574 GB, free: 5.191 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005478/0.2995, allocations: 248 kB / 0.5576 GB, free: 5.055 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01223/0.3118, allocations: 4.38 MB / 0.5619 GB, free: 3.062 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001477/0.3133, allocations: 1.279 MB / 0.5631 GB, free: 2.695 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.942e-05/0.3133, allocations: 33.73 kB / 0.5632 GB, free: 2.684 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007334/0.3141, allocations: 479.1 kB / 0.5636 GB, free: 2.535 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006446/0.3147, allocations: 459.3 kB / 0.5641 GB, free: 2.41 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.3149, allocations: 41.16 kB / 0.5641 GB, free: 2.406 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0115/0.3264, allocations: 6.086 MB / 0.5701 GB, free: 88 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002564/0.3267, allocations: 179.5 kB / 0.5702 GB, free: 15.91 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004604/0.3271, allocations: 268.8 kB / 0.5705 GB, free: 15.64 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009075/0.3362, allocations: 3.922 MB / 0.5743 GB, free: 11.71 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3363, allocations: 0 / 0.5743 GB, free: 11.71 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3363, allocations: 0 / 0.5743 GB, free: 11.71 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.3363, allocations: 0 / 0.5743 GB, free: 11.71 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.004786/0.3411, allocations: 1.471 MB / 0.5757 GB, free: 10.19 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.3411, allocations: 11.98 kB / 0.5758 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/0.3425, allocations: 160.4 kB / 0.5759 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005052/0.343, allocations: 339.9 kB / 0.5762 GB, free: 9.652 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003436/0.3433, allocations: 146.8 kB / 0.5764 GB, free: 9.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.3435, allocations: 40.03 kB / 0.5764 GB, free: 9.461 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00466/0.3482, allocations: 2.044 MB / 0.5784 GB, free: 7.379 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3482, allocations: 0 / 0.5784 GB, free: 7.379 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-05/0.3483, allocations: 12 kB / 0.5784 GB, free: 7.367 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/0.3483, allocations: 16.56 kB / 0.5784 GB, free: 7.352 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007121/0.3554, allocations: 2.988 MB / 0.5814 GB, free: 4.363 MB / 394.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.004307/0.3598, allocations: 4.824 MB / 0.5861 GB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003862/0.3636, allocations: 1.518 MB / 0.5875 GB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002542/0.3662, allocations: 1.157 MB / 0.5887 GB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1503/0.5165, allocations: 76.75 MB / 0.6636 GB, free: 6.957 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/0.5166, allocations: 42.88 kB / 0.6637 GB, free: 6.906 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 2.835e-06/0.5166, allocations: 3.938 kB / 0.6637 GB, free: 6.902 MB / 490.7 MB Notification: Performance of matching and sorting (n=43): time 0.02174/0.5383, allocations: 6.681 MB / 0.6702 GB, free: 168 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.5384, allocations: 59.41 kB / 0.6703 GB, free: 96 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.5386, allocations: 150.2 kB / 0.6704 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.5387, allocations: 33.7 kB / 0.6704 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.572e-05/0.5388, allocations: 144.6 kB / 0.6706 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/0.539, allocations: 149.8 kB / 0.6707 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.5391, allocations: 12 kB / 0.6707 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.5392, allocations: 334.8 kB / 0.671 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003669/0.5429, allocations: 1.289 MB / 0.6723 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00368/0.5466, allocations: 1.376 MB / 0.6736 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006688/0.5533, allocations: 2.316 MB / 0.6759 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.5533, allocations: 3.938 kB / 0.6759 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00773/0.5611, allocations: 2.663 MB / 0.6785 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.5611, allocations: 11.98 kB / 0.6785 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.5611, allocations: 0 / 0.6785 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.5612, allocations: 8 kB / 0.6785 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002644/0.5638, allocations: 0.5816 MB / 0.6791 GB, free: 6.926 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/0.5638, allocations: 7.938 kB / 0.6791 GB, free: 6.918 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/0.5658, allocations: 351.5 kB / 0.6794 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001895/0.566, allocations: 83.84 kB / 0.6795 GB, free: 6.492 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 4 (fluid[2].phase,fluid[1].phase,dew.phase,bubble.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0003727/0.5664, allocations: 182.1 kB / 0.6797 GB, free: 6.305 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.5665, allocations: 15.81 kB / 0.6797 GB, free: 6.289 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.207/0.7736, allocations: 7.444 MB / 0.687 GB, free: 158.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00921/0.7828, allocations: 6.898 MB / 0.6937 GB, free: 156.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/0.7829, allocations: 2.938 kB / 0.6937 GB, free: 156.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.7829, allocations: 3.422 kB / 0.6937 GB, free: 156.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01323/0.7961, allocations: 10.77 MB / 0.7042 GB, free: 151 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.7962, allocations: 1.375 kB / 0.7042 GB, free: 151 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002497/0.7987, allocations: 0.5859 MB / 0.7048 GB, free: 151 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.188e-05/0.7987, allocations: 3.656 kB / 0.7048 GB, free: 151 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001313/0.7988, allocations: 46.84 kB / 0.7049 GB, free: 151 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.154e-06/0.7989, allocations: 6.844 kB / 0.7049 GB, free: 151 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.7989, allocations: 5.062 kB / 0.7049 GB, free: 151 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01038/0.8092, allocations: 4.977 MB / 0.7097 GB, free: 149.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004333/0.8097, allocations: 282.2 kB / 0.71 GB, free: 149.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.8099, allocations: 20.78 kB / 0.71 GB, free: 149.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001659/0.8115, allocations: 356.8 kB / 0.7104 GB, free: 149.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/0.8117, allocations: 78.02 kB / 0.7104 GB, free: 149.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/0.8119, allocations: 50.91 kB / 0.7105 GB, free: 149.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.016e-05/0.8119, allocations: 112.1 kB / 0.7106 GB, free: 149.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8119, allocations: 0 / 0.7106 GB, free: 149.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002612/0.8146, allocations: 0.9777 MB / 0.7115 GB, free: 149.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rhobar_check[1]) * Number of discrete variables: 8 ($cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.region3boundary,$cse24.region3boundary,$cse25.region3boundary,$cse26.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.003253/0.8178, allocations: 0.9939 MB / 0.7125 GB, free: 149.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007137/0.825, allocations: 2.967 MB / 0.7154 GB, free: 148.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.825, allocations: 0 / 0.7154 GB, free: 148.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003487/0.8285, allocations: 1.706 MB / 0.7171 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000784/0.8293, allocations: 98.44 kB / 0.7172 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004548/0.8339, allocations: 2.682 MB / 0.7198 GB, free: 144.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.8342, allocations: 0.928 MB / 0.7207 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002301/0.8365, allocations: 1.297 MB / 0.722 GB, free: 142.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007625/0.8373, allocations: 162.8 kB / 0.7221 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/0.8373, allocations: 3.938 kB / 0.7221 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.04276/0.88, allocations: 42.99 MB / 0.7641 GB, free: 100.4 MB / 0.4948 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1)