Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadModel(Modelica): time 2.127/2.127, allocations: 194.8 MB / 211.7 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00049/0.0004897, allocations: 11.94 kB / 264.5 MB, free: 12.96 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1416, allocations: 44.52 MB / 309 MB, free: 380 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4272/0.5688, allocations: 78.21 MB / 387.3 MB, free: 15.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/0.5692, allocations: 74.89 kB / 387.3 MB, free: 15.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05825/0.6274, allocations: 13.84 MB / 401.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.995e-06/0.6275, allocations: 3.781 kB / 401.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.271e-05/0.6276, allocations: 11.41 kB / 401.2 MB, free: 13.71 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002537/0.6301, allocations: 0.9826 MB / 402.2 MB, free: 12.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.6302, allocations: 7.75 kB / 402.2 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002795/0.6305, allocations: 85.62 kB / 402.3 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009309/0.6314, allocations: 452.1 kB / 402.7 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001786/0.6316, allocations: 97.14 kB / 402.8 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.6318, allocations: 44.62 kB / 402.8 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.6335, allocations: 0.6508 MB / 403.5 MB, free: 12.21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/0.6335, allocations: 0 / 403.5 MB, free: 12.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.45e-05/0.6336, allocations: 27.31 kB / 403.5 MB, free: 12.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.6336, allocations: 15.3 kB / 403.5 MB, free: 12.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/0.6354, allocations: 484.7 kB / 404 MB, free: 12.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004586/0.64, allocations: 1.881 MB / 405.9 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003396/0.6435, allocations: 0.7616 MB / 406.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.205e-05/0.6436, allocations: 11.38 kB / 406.7 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.6437, allocations: 46.81 kB / 406.7 MB, free: 10.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=56): time 4.088e-06/0.6437, allocations: 0 / 406.7 MB, free: 10.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.008728/0.6524, allocations: 1.622 MB / 408.3 MB, free: 10.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001575/0.6526, allocations: 0.5632 MB / 408.9 MB, free: 9.406 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008838/0.6535, allocations: 0.5173 MB / 409.4 MB, free: 9.215 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001472/0.6537, allocations: 40.77 kB / 409.4 MB, free: 9.184 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.6539, allocations: 280.2 kB / 409.7 MB, free: 9.035 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/0.6542, allocations: 191.5 kB / 409.9 MB, free: 8.895 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.486e-05/0.6542, allocations: 11.16 kB / 409.9 MB, free: 8.895 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.6543, allocations: 369 kB / 410.3 MB, free: 8.562 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008669/0.6552, allocations: 212.4 kB / 410.5 MB, free: 8.531 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.6562, allocations: 432.1 kB / 410.9 MB, free: 8.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.6573, allocations: 273.6 kB / 411.2 MB, free: 8.203 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.6574, allocations: 0 / 411.2 MB, free: 8.203 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003787/0.6612, allocations: 0.8737 MB / 412 MB, free: 7.934 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.012e-05/0.6613, allocations: 33.53 kB / 412.1 MB, free: 7.898 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.6613, allocations: 3.844 kB / 412.1 MB, free: 7.898 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001474/0.6628, allocations: 233.3 kB / 412.3 MB, free: 7.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.6642, allocations: 140.6 kB / 412.5 MB, free: 7.785 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/0.6744, allocations: 5.247 MB / 417.7 MB, free: 3.555 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.6758, allocations: 85.03 kB / 417.8 MB, free: 3.516 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/0.676, allocations: 22.52 kB / 417.8 MB, free: 3.512 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (49): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {5 2,1 1,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0004801/0.6765, allocations: 191.2 kB / 418 MB, free: 3.391 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002218/0.6767, allocations: 69.44 kB / 418.1 MB, free: 3.359 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004021/0.6807, allocations: 0.8368 MB / 418.9 MB, free: 3.125 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.6808, allocations: 3.719 kB / 418.9 MB, free: 3.125 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.6808, allocations: 7.969 kB / 418.9 MB, free: 3.117 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0037/0.6845, allocations: 1.098 MB / 420 MB, free: 2.426 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005257/0.6898, allocations: 1.578 MB / 421.6 MB, free: 1.715 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/0.6899, allocations: 128 / 421.6 MB, free: 1.715 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001561/0.6915, allocations: 144.5 kB / 421.7 MB, free: 1.676 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001293/0.6928, allocations: 183 kB / 421.9 MB, free: 1.613 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/0.6929, allocations: 15.14 kB / 421.9 MB, free: 1.609 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008145/0.7011, allocations: 3.598 MB / 425.5 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.7012, allocations: 0 / 425.5 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004907/0.7061, allocations: 1.156 MB / 426.7 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005405/0.7067, allocations: 201.4 kB / 426.9 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/0.7068, allocations: 15.31 kB / 426.9 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007998/0.7077, allocations: 47.03 kB / 426.9 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002031/0.7079, allocations: 51.27 kB / 427 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-05/0.7079, allocations: 19.64 kB / 427 MB, free: 14.17 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006507/0.7086, allocations: 369.3 kB / 427.4 MB, free: 14.04 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.7086, allocations: 0 / 427.4 MB, free: 14.04 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001124/0.7098, allocations: 213.7 kB / 427.6 MB, free: 14.03 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * 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 (46): * Single equations (assignments): 44 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003328/0.7101, allocations: 137.6 kB / 427.7 MB, free: 13.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003543/0.7137, allocations: 1.038 MB / 428.7 MB, free: 13.38 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/0.7137, allocations: 0 / 428.7 MB, free: 13.38 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002033/0.7158, allocations: 0.5578 MB / 429.3 MB, free: 13.08 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.7172, allocations: 168.6 kB / 429.5 MB, free: 13.04 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003644/0.7208, allocations: 1.507 MB / 431 MB, free: 12.08 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005934/0.7215, allocations: 0.8979 MB / 431.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006642/0.7222, allocations: 75.41 kB / 431.9 MB, free: 11.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.7224, allocations: 56.52 kB / 432 MB, free: 11.23 MB / 330.7 MB Notification: Performance of SimCode: time 1.322e-06/0.7224, allocations: 0 / 432 MB, free: 11.23 MB / 330.7 MB Notification: Performance of Templates: time 0.03515/0.7576, allocations: 12.43 MB / 444.4 MB, free: 3.398 MB / 330.7 MB