Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heater.mediums.1..h|heater.mediums.1..p|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.2..p|radiator.mediums.1..h|radiator.mediums.1..p|tank.level|tank.medium.h",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") Notification: Performance of loadModel(ModelicaTest): time 2.353/2.353, allocations: 234.9 MB / 251.1 MB, free: 9.688 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005992/0.0005992, allocations: 12 kB / 314.9 MB, free: 9.742 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3602, allocations: 54.86 MB / 369.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.726/8.086, allocations: 2.67 GB / 3.031 GB, free: 48.79 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/8.086, allocations: 99.19 kB / 3.031 GB, free: 48.73 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.793/13.88, allocations: 1.025 GB / 4.057 GB, free: 34.14 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.056e-06/13.88, allocations: 0 / 4.057 GB, free: 34.14 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004116/13.88, allocations: 73.66 kB / 4.057 GB, free: 34.12 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 670 * Number of variables: 670 Notification: Performance of Generate backend data structure: time 0.02383/13.9, allocations: 4.696 MB / 4.061 GB, free: 32.13 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.55e-05/13.9, allocations: 12.31 kB / 4.061 GB, free: 32.13 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01174/13.92, allocations: 1.021 MB / 4.062 GB, free: 31.97 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009815/13.93, allocations: 2.272 MB / 4.064 GB, free: 31.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005339/13.93, allocations: 287.5 kB / 4.065 GB, free: 31.43 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001489/13.93, allocations: 243.8 kB / 4.065 GB, free: 31.43 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01733/13.94, allocations: 4.521 MB / 4.069 GB, free: 30.82 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000146/13.95, allocations: 7.875 kB / 4.069 GB, free: 30.82 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001206/13.95, allocations: 114.1 kB / 4.07 GB, free: 30.82 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004058/13.95, allocations: 219.9 kB / 4.07 GB, free: 30.82 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01695/13.96, allocations: 4.197 MB / 4.074 GB, free: 30.79 MB / 0.5261 GB 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.04269/14.01, allocations: 19.03 MB / 4.092 GB, free: 20 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01138/14.02, allocations: 2.887 MB / 4.095 GB, free: 19.95 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05554/14.07, allocations: 16.99 MB / 4.112 GB, free: 25.43 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001261/14.07, allocations: 67.08 kB / 4.112 GB, free: 25.38 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004169/14.08, allocations: 239.5 kB / 4.112 GB, free: 25.28 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=194): time 2.02e-05/14.08, allocations: 0 / 4.112 GB, free: 25.28 MB / 0.5417 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pump.medium.p 2: heater.mediums[1].p 3: tank.medium.h 4: pump.medium.h Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=215): time 0.1217/14.2, allocations: 17.95 MB / 4.13 GB, free: 22.96 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/14.2, allocations: 129.9 kB / 4.13 GB, free: 22.83 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003952/14.2, allocations: 1.899 MB / 4.132 GB, free: 22.58 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0007271/14.2, allocations: 63.42 kB / 4.132 GB, free: 22.55 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008754/14.21, allocations: 1.063 MB / 4.133 GB, free: 22.02 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.00119/14.21, allocations: 0.7269 MB / 4.133 GB, free: 21.55 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003057/14.21, allocations: 46 kB / 4.133 GB, free: 21.55 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002431/14.21, allocations: 413.4 kB / 4.134 GB, free: 21.23 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004644/14.21, allocations: 1.445 MB / 4.135 GB, free: 21.23 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005244/14.22, allocations: 1.957 MB / 4.137 GB, free: 20.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005356/14.22, allocations: 1.65 MB / 4.139 GB, free: 20.68 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.408e-05/14.22, allocations: 3.219 kB / 4.139 GB, free: 20.68 MB / 0.5417 GB Notification: Performance of matching and sorting (n=306) (initialization): time 0.01397/14.24, allocations: 4.204 MB / 4.143 GB, free: 20.49 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003275/14.24, allocations: 0.4891 MB / 4.143 GB, free: 19.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-05/14.24, allocations: 17.64 kB / 4.143 GB, free: 19.92 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00798/14.25, allocations: 1.274 MB / 4.145 GB, free: 19.85 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004502/14.25, allocations: 0.5318 MB / 4.145 GB, free: 19.85 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007423/14.26, allocations: 5.751 MB / 4.151 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005012/14.26, allocations: 317.7 kB / 4.151 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000602/14.26, allocations: 119.5 kB / 4.151 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/14.26, allocations: 2.406 kB / 4.151 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01269/14.28, allocations: 3.752 MB / 4.155 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.788e-05/14.28, allocations: 12.59 kB / 4.155 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003223/14.28, allocations: 0.6379 MB / 4.155 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005223/14.28, allocations: 0.5883 MB / 4.156 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0109/14.3, allocations: 8.512 MB / 4.164 GB, free: 8.926 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004045/14.3, allocations: 317.2 kB / 4.165 GB, free: 8.902 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007368/14.3, allocations: 114.8 kB / 4.165 GB, free: 8.902 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 19 (radiator.state_b.phase,radiator.state_a.phase,heater.state_b.phase,heater.state_a.phase,tank.heatTransfer.states[1].phase,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[2].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.state_b.phase,pipe.state_a.phase,valve.state_b.phase,valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 5,1 1,2 7,1 1,4 14,1 1,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.003028/14.3, allocations: 0.8019 MB / 4.166 GB, free: 8.707 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008768/14.3, allocations: 233.7 kB / 4.166 GB, free: 8.59 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02171/14.33, allocations: 9.467 MB / 4.175 GB, free: 7.809 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001308/14.33, allocations: 110.4 kB / 4.175 GB, free: 7.805 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/14.33, allocations: 0 / 4.175 GB, free: 7.805 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0178/14.34, allocations: 8.334 MB / 4.183 GB, free: 6.93 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03296/14.38, allocations: 13.74 MB / 4.197 GB, free: 5.965 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.699e-05/14.38, allocations: 2.25 kB / 4.197 GB, free: 5.965 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003567/14.38, allocations: 404.1 kB / 4.197 GB, free: 5.965 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009805/14.39, allocations: 2.312 MB / 4.199 GB, free: 5.824 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007189/14.39, allocations: 76.81 kB / 4.199 GB, free: 5.824 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009296/14.4, allocations: 7.009 MB / 4.206 GB, free: 17.63 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/14.4, allocations: 0 / 4.206 GB, free: 17.63 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02394/14.42, allocations: 10.28 MB / 4.216 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002939/14.43, allocations: 0.8286 MB / 4.217 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001125/14.43, allocations: 55.59 kB / 4.217 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004397/14.43, allocations: 269.3 kB / 4.217 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009037/14.43, allocations: 194.3 kB / 4.218 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003339/14.43, allocations: 85.33 kB / 4.218 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003239/14.44, allocations: 1.34 MB / 4.219 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.81e-07/14.44, allocations: 0 / 4.219 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01489/14.45, allocations: 3.092 MB / 4.222 GB, free: 12.6 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (tank.medium.h,tank.level,heater.mediums[1].p,heater.mediums[1].h,radiator.mediums[1].p,radiator.mediums[1].h,pipe.mediums[1].p,pipe.mediums[1].h,pipe.mediums[2].p,pipe.mediums[2].h) * Number of discrete variables: 58 ($cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.region3boundary,$cse9.region3boundary,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.region3boundary,$cse20.region3boundary,$cse21.phase,$cse21.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.region3boundary,$cse27.region3boundary,$cse28.phase,$cse28.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse35.phase,$cse35.region,$cse38.region3boundary,$cse39.region3boundary,$cse40.phase,$cse40.region,$cse41.region3boundary,$cse42.region3boundary,$cse43.phase,$cse43.region,$cse45.phase,$cse45.region,tank.heatTransfer.states[1].phase,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[2].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (208): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {2 4,1 1,2 9,1 1,4 18,1 1,1 10,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01636/14.47, allocations: 3.088 MB / 4.225 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02161/14.49, allocations: 6.672 MB / 4.232 GB, free: 9.402 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/14.49, allocations: 0.5 kB / 4.232 GB, free: 9.402 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.009039/14.5, allocations: 3.047 MB / 4.235 GB, free: 7.789 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01031/14.51, allocations: 1.076 MB / 4.236 GB, free: 7.008 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0297/14.54, allocations: 10.7 MB / 4.246 GB, free: 13.67 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004456/14.54, allocations: 2.531 MB / 4.248 GB, free: 11.71 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001708/14.55, allocations: 225.9 kB / 4.249 GB, free: 11.5 MB / 0.573 GB Notification: Performance of SimCode: time 8.62e-07/14.55, allocations: 0 / 4.249 GB, free: 11.5 MB / 0.573 GB Notification: Performance of Templates: time 0.7849/15.33, allocations: 188.1 MB / 4.432 GB, free: 27.57 MB / 0.573 GB