Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.SimpleLiquidWater.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadModel(Modelica): time 1.625/1.625, allocations: 171.3 MB / 179.2 MB, free: 8.184 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.496e-05/1.501e-05, allocations: 0 / 222.5 MB, free: 8.812 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07641/0.07645, allocations: 38.77 MB / 261.3 MB, free: 1.953 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7009/0.7774, allocations: 262.4 MB / 0.5114 GB, free: 25.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001889/0.7777, allocations: 63.22 kB / 0.5115 GB, free: 25.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02874/0.8064, allocations: 9.31 MB / 0.5206 GB, free: 17.8 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.88e-06/0.8065, allocations: 0 / 0.5206 GB, free: 17.8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.8065, allocations: 4 kB / 0.5206 GB, free: 17.8 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007803/0.8073, allocations: 449.5 kB / 0.521 GB, free: 17.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.8074, allocations: 8.031 kB / 0.521 GB, free: 17.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002165/0.8076, allocations: 23.8 kB / 0.521 GB, free: 17.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.8078, allocations: 209.8 kB / 0.5212 GB, free: 17.05 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.8078, allocations: 4 kB / 0.5212 GB, free: 17.05 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.516e-05/0.8079, allocations: 8 kB / 0.5212 GB, free: 17.04 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002745/0.8082, allocations: 111.9 kB / 0.5213 GB, free: 16.97 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.8085, allocations: 182.2 kB / 0.5215 GB, free: 16.8 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.8085, allocations: 4 kB / 0.5215 GB, free: 16.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.8085, allocations: 0 / 0.5215 GB, free: 16.79 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.45e-06/0.8085, allocations: 4 kB / 0.5215 GB, free: 16.79 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.8098, allocations: 0.9067 MB / 0.5224 GB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.8101, allocations: 126.9 kB / 0.5225 GB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.635e-05/0.8102, allocations: 50.88 kB / 0.5226 GB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005284/0.8107, allocations: 0.4974 MB / 0.5231 GB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.8108, allocations: 38.44 kB / 0.5231 GB, free: 15.17 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 3.778e-06/0.8108, allocations: 4 kB / 0.5231 GB, free: 15.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.002035/0.8128, allocations: 0.5895 MB / 0.5237 GB, free: 14.61 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.968e-05/0.8129, allocations: 55.41 kB / 0.5237 GB, free: 14.54 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.813, allocations: 147.3 kB / 0.5239 GB, free: 14.39 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.813, allocations: 25.7 kB / 0.5239 GB, free: 14.36 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.203e-05/0.8131, allocations: 202.1 kB / 0.5241 GB, free: 14.17 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.295e-05/0.8132, allocations: 74.69 kB / 0.5242 GB, free: 14.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.795e-05/0.8132, allocations: 0 / 0.5242 GB, free: 14.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.606e-05/0.8133, allocations: 326.5 kB / 0.5245 GB, free: 13.79 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.8134, allocations: 64.17 kB / 0.5245 GB, free: 13.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.8136, allocations: 154.6 kB / 0.5247 GB, free: 13.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.8138, allocations: 86.02 kB / 0.5248 GB, free: 13.51 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.269e-06/0.8138, allocations: 0 / 0.5248 GB, free: 13.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005406/0.8144, allocations: 246 kB / 0.525 GB, free: 13.31 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.8144, allocations: 12.06 kB / 0.525 GB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.8144, allocations: 7.938 kB / 0.525 GB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.8145, allocations: 4 kB / 0.525 GB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004605/0.8149, allocations: 87.38 kB / 0.5251 GB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.699e-06/0.815, allocations: 8 kB / 0.5251 GB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002842/0.8153, allocations: 15.92 kB / 0.5251 GB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/0.8153, allocations: 12 kB / 0.5251 GB, free: 13.17 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.879e-05/0.8154, allocations: 116.7 kB / 0.5253 GB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.226e-05/0.8155, allocations: 11.91 kB / 0.5253 GB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000509/0.816, allocations: 195 kB / 0.5255 GB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.741e-06/0.816, allocations: 0 / 0.5255 GB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.816, allocations: 0 / 0.5255 GB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.8161, allocations: 3.984 kB / 0.5255 GB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.8172, allocations: 0.5188 MB / 0.526 GB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.174e-06/0.8172, allocations: 0 / 0.526 GB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003525/0.8176, allocations: 47.95 kB / 0.526 GB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.885e-06/0.8176, allocations: 4 kB / 0.526 GB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.8177, allocations: 11.94 kB / 0.526 GB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.884e-06/0.8177, allocations: 0 / 0.526 GB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.266e-06/0.8177, allocations: 7.938 kB / 0.526 GB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005438/0.8182, allocations: 382.6 kB / 0.5264 GB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.997e-05/0.8183, allocations: 92.86 kB / 0.5265 GB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.146e-05/0.8183, allocations: 3.984 kB / 0.5265 GB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002962/0.8186, allocations: 11.98 kB / 0.5265 GB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/0.8187, allocations: 11.98 kB / 0.5265 GB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/0.8187, allocations: 16 kB / 0.5265 GB, free: 11.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.046e-05/0.8188, allocations: 105.5 kB / 0.5266 GB, free: 11.63 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.8188, allocations: 0 / 0.5266 GB, free: 11.63 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005169/0.8194, allocations: 59.88 kB / 0.5267 GB, free: 11.57 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002178/0.8196, allocations: 147.7 kB / 0.5268 GB, free: 11.42 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00035/0.82, allocations: 168.5 kB / 0.527 GB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.82, allocations: 0 / 0.527 GB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.8201, allocations: 76.89 kB / 0.5271 GB, free: 11.18 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.8205, allocations: 31.91 kB / 0.5271 GB, free: 11.15 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007418/0.8213, allocations: 311 kB / 0.5274 GB, free: 10.8 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/0.8214, allocations: 0.7165 MB / 0.5281 GB, free: 10.06 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.8216, allocations: 31.42 kB / 0.5281 GB, free: 10.04 MB / 346.7 MB Notification: Performance of SimCode: time 1.696e-06/0.8216, allocations: 4 kB / 0.5281 GB, free: 10.03 MB / 346.7 MB Notification: Performance of Templates: time 0.00513/0.8267, allocations: 2.717 MB / 0.5308 GB, free: 7.309 MB / 346.7 MB