Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadModel(Modelica): time 1.763/1.763, allocations: 171.2 MB / 186.7 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003528, allocations: 8 kB / 233.9 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08056/0.08093, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4424/0.5234, allocations: 70.99 MB / 343.6 MB, free: 2.379 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003731/0.5238, allocations: 75.84 kB / 343.7 MB, free: 2.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05381/0.5776, allocations: 9.506 MB / 353.2 MB, free: 10.36 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.5777, allocations: 0 / 353.2 MB, free: 10.36 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.523e-05/0.5778, allocations: 8 kB / 353.2 MB, free: 10.36 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.002805/0.5806, allocations: 0.8052 MB / 354 MB, free: 9.531 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.5806, allocations: 8.031 kB / 354 MB, free: 9.523 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000285/0.581, allocations: 63.34 kB / 354.1 MB, free: 9.461 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.5821, allocations: 385.5 kB / 354.4 MB, free: 9.094 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002002/0.5824, allocations: 68.77 kB / 354.5 MB, free: 9.031 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.5825, allocations: 32.25 kB / 354.5 MB, free: 9.012 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001842/0.5844, allocations: 496.1 kB / 355 MB, free: 8.586 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/0.5844, allocations: 0 / 355 MB, free: 8.586 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-05/0.5845, allocations: 19.31 kB / 355.1 MB, free: 8.578 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.5846, allocations: 4 kB / 355.1 MB, free: 8.574 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/0.5866, allocations: 370.3 kB / 355.4 MB, free: 8.309 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004394/0.591, allocations: 1.251 MB / 356.7 MB, free: 7.273 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/0.5929, allocations: 459.3 kB / 357.1 MB, free: 6.902 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.085e-05/0.593, allocations: 8 kB / 357.1 MB, free: 6.895 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.3e-05/0.5931, allocations: 38 kB / 357.2 MB, free: 6.852 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 4.469e-06/0.5931, allocations: 0 / 357.2 MB, free: 6.852 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.003704/0.5968, allocations: 0.7661 MB / 357.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002934/0.5971, allocations: 451.9 kB / 358.4 MB, free: 5.637 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.5982, allocations: 437.7 kB / 358.8 MB, free: 5.297 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.632e-05/0.5983, allocations: 32.7 kB / 358.8 MB, free: 5.262 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003034/0.5986, allocations: 233.7 kB / 359.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/0.5988, allocations: 129.4 kB / 359.2 MB, free: 5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.5989, allocations: 9.875 kB / 359.2 MB, free: 4.996 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002343/0.5991, allocations: 354.5 kB / 359.5 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008886/0.6, allocations: 158.4 kB / 359.7 MB, free: 4.547 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.6012, allocations: 304.1 kB / 360 MB, free: 4.258 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009981/0.6022, allocations: 200 kB / 360.2 MB, free: 4.113 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.6022, allocations: 0 / 360.2 MB, free: 4.113 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002504/0.6047, allocations: 0.5138 MB / 360.7 MB, free: 3.695 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.622e-05/0.6048, allocations: 34.8 kB / 360.7 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.6048, allocations: 4.031 kB / 360.7 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002805/0.6051, allocations: 52.12 kB / 360.8 MB, free: 3.605 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009796/0.6061, allocations: 95 kB / 360.9 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004407/0.6106, allocations: 2.76 MB / 363.6 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009703/0.6116, allocations: 58.89 kB / 363.7 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.914e-05/0.6117, allocations: 11.98 kB / 363.7 MB, free: 0.6094 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004789/0.6122, allocations: 176.6 kB / 363.9 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/0.6124, allocations: 47.44 kB / 363.9 MB, free: 420 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001921/0.6126, allocations: 52.56 kB / 364 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.6126, allocations: 4 kB / 364 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.6127, allocations: 4 kB / 364 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002203/0.6149, allocations: 0.7722 MB / 364.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003757/0.6187, allocations: 1.045 MB / 365.8 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.6187, allocations: 0 / 365.8 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/0.6198, allocations: 99.56 kB / 365.9 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-05/0.6199, allocations: 0 / 365.9 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-05/0.62, allocations: 15.48 kB / 365.9 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/0.62, allocations: 0 / 365.9 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.62, allocations: 0 / 365.9 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003153/0.6232, allocations: 0.7065 MB / 366.6 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003233/0.6236, allocations: 130.7 kB / 366.8 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002147/0.6238, allocations: 10.5 kB / 366.8 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000795/0.6246, allocations: 30.78 kB / 366.8 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.6248, allocations: 24.84 kB / 366.8 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.816e-05/0.6248, allocations: 10.3 kB / 366.8 MB, free: 13.86 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008084/0.6257, allocations: 319.5 kB / 367.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.6257, allocations: 0 / 367.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001188/0.6269, allocations: 149.3 kB / 367.3 MB, free: 13.48 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * 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 (36): * Single equations (assignments): 36 * 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.0003357/0.6273, allocations: 114.7 kB / 367.4 MB, free: 13.37 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002852/0.6301, allocations: 0.6711 MB / 368.1 MB, free: 12.76 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/0.6302, allocations: 4 kB / 368.1 MB, free: 12.76 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.6313, allocations: 199.6 kB / 368.3 MB, free: 12.61 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/0.6329, allocations: 121.6 kB / 368.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004117/0.637, allocations: 1.117 MB / 369.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008268/0.6379, allocations: 0.8315 MB / 370.3 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0007464/0.6387, allocations: 60.23 kB / 370.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000278/0.639, allocations: 39.44 kB / 370.4 MB, free: 10.49 MB / 298.7 MB Notification: Performance of SimCode: time 1.973e-06/0.639, allocations: 0 / 370.4 MB, free: 10.49 MB / 298.7 MB Notification: Performance of Templates: time 0.03259/0.6716, allocations: 7.576 MB / 378 MB, free: 2.973 MB / 298.7 MB