Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadModel(Modelica): time 1.923/1.923, allocations: 194.8 MB / 212.3 MB, free: 3.02 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005555/0.0005558, allocations: 15.98 kB / 264.5 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1329, allocations: 44.5 MB / 309 MB, free: 1.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5215/0.6545, allocations: 78.2 MB / 387.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003603/0.6549, allocations: 72.77 kB / 387.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07101/0.7259, allocations: 13.84 MB / 401.1 MB, free: 13.46 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.726, allocations: 0 / 401.1 MB, free: 13.46 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.979e-05/0.7261, allocations: 11.66 kB / 401.1 MB, free: 13.46 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.002594/0.7287, allocations: 0.9843 MB / 402.1 MB, free: 12.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.7287, allocations: 12.97 kB / 402.1 MB, free: 12.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003089/0.729, allocations: 84.31 kB / 402.2 MB, free: 12.67 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009607/0.73, allocations: 447.4 kB / 402.6 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001849/0.7302, allocations: 101 kB / 402.7 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.7304, allocations: 44.94 kB / 402.8 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.7321, allocations: 0.6646 MB / 403.4 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.035e-05/0.7322, allocations: 0 / 403.4 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-05/0.7323, allocations: 22.47 kB / 403.4 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.7323, allocations: 15.39 kB / 403.5 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.7342, allocations: 486.5 kB / 403.9 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004665/0.7389, allocations: 1.877 MB / 405.8 MB, free: 10.83 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003242/0.7421, allocations: 0.7196 MB / 406.5 MB, free: 10.6 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.7423, allocations: 12.09 kB / 406.5 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.7424, allocations: 49.84 kB / 406.6 MB, free: 10.55 MB / 314.7 MB Notification: Performance of pre-optimization done (n=56): time 3.897e-06/0.7424, allocations: 0 / 406.6 MB, free: 10.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.009062/0.7514, allocations: 1.614 MB / 408.2 MB, free: 9.848 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001503/0.7516, allocations: 0.5633 MB / 408.8 MB, free: 9.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009243/0.7526, allocations: 0.52 MB / 409.3 MB, free: 8.965 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001791/0.7528, allocations: 47.27 kB / 409.3 MB, free: 8.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.753, allocations: 296.5 kB / 409.6 MB, free: 8.734 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000215/0.7532, allocations: 197.9 kB / 409.8 MB, free: 8.594 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-05/0.7533, allocations: 13.44 kB / 409.8 MB, free: 8.594 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.747e-05/0.7533, allocations: 325.7 kB / 410.1 MB, free: 8.277 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009296/0.7543, allocations: 219 kB / 410.4 MB, free: 8.238 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.7554, allocations: 433.6 kB / 410.8 MB, free: 7.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.7564, allocations: 267.9 kB / 411 MB, free: 7.918 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.7565, allocations: 4 kB / 411 MB, free: 7.914 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003852/0.7603, allocations: 0.8289 MB / 411.9 MB, free: 7.664 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.003e-05/0.7604, allocations: 29.52 kB / 411.9 MB, free: 7.633 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.7605, allocations: 3.969 kB / 411.9 MB, free: 7.633 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001511/0.762, allocations: 230.5 kB / 412.1 MB, free: 7.555 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/0.7635, allocations: 139.9 kB / 412.3 MB, free: 7.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01047/0.774, allocations: 5.255 MB / 417.5 MB, free: 3.289 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.7752, allocations: 87.58 kB / 417.6 MB, free: 3.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.817e-05/0.7753, allocations: 18.98 kB / 417.6 MB, free: 3.246 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.0004536/0.7757, allocations: 187.7 kB / 417.8 MB, free: 3.129 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002118/0.776, allocations: 66.16 kB / 417.9 MB, free: 3.098 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003867/0.7799, allocations: 0.8434 MB / 418.7 MB, free: 2.855 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.7799, allocations: 3.875 kB / 418.7 MB, free: 2.855 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7799, allocations: 4 kB / 418.7 MB, free: 2.852 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003552/0.7835, allocations: 1.108 MB / 419.8 MB, free: 2.152 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005485/0.789, allocations: 1.566 MB / 421.4 MB, free: 1.453 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.7891, allocations: 0 / 421.4 MB, free: 1.453 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/0.7906, allocations: 136.2 kB / 421.5 MB, free: 1.422 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001356/0.792, allocations: 193.5 kB / 421.7 MB, free: 1.352 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-05/0.7922, allocations: 14.77 kB / 421.7 MB, free: 1.348 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008535/0.8007, allocations: 3.604 MB / 425.3 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.8008, allocations: 0 / 425.3 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004909/0.8057, allocations: 1.154 MB / 426.5 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000521/0.8063, allocations: 200.9 kB / 426.7 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001698/0.8064, allocations: 13.69 kB / 426.7 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007512/0.8072, allocations: 39.09 kB / 426.7 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/0.8074, allocations: 51.48 kB / 426.8 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.943e-05/0.8075, allocations: 15.03 kB / 426.8 MB, free: 13.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006952/0.8082, allocations: 370.1 kB / 427.2 MB, free: 13.78 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.8082, allocations: 0 / 427.2 MB, free: 13.78 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001062/0.8093, allocations: 220.5 kB / 427.4 MB, free: 13.77 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.0002771/0.8095, allocations: 143.7 kB / 427.5 MB, free: 13.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003485/0.813, allocations: 1.028 MB / 428.6 MB, free: 13.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.8131, allocations: 0 / 428.6 MB, free: 13.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001903/0.815, allocations: 0.5653 MB / 429.1 MB, free: 12.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.8164, allocations: 166.6 kB / 429.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003762/0.8202, allocations: 1.555 MB / 430.8 MB, free: 11.78 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000601/0.8208, allocations: 0.8941 MB / 431.7 MB, free: 10.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003419/0.8212, allocations: 57.58 kB / 431.8 MB, free: 10.97 MB / 330.7 MB Notification: Performance of SimCode: time 1.443e-06/0.8212, allocations: 0 / 431.8 MB, free: 10.97 MB / 330.7 MB Notification: Performance of Templates: time 0.03095/0.8522, allocations: 14.33 MB / 446.1 MB, free: 2.062 MB / 330.7 MB