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.TwoMass.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.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadModel(Modelica): time 1.642/1.642, allocations: 171.2 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004754/0.0004755, allocations: 8 kB / 233.8 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08027/0.08077, allocations: 38.78 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006187/0.08701, allocations: 3.811 MB / 276.4 MB, free: 7.699 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003022/0.09009, allocations: 1.229 MB / 277.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000471/0.09061, allocations: 8 kB / 277.7 MB, free: 6.461 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003709/0.091, allocations: 103.2 kB / 277.8 MB, free: 6.359 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009638/0.09198, allocations: 327.1 kB / 278.1 MB, free: 6.039 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005596/0.09256, allocations: 163.8 kB / 278.3 MB, free: 5.879 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001458/0.09403, allocations: 0.7535 MB / 279 MB, free: 5.125 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005404/0.09459, allocations: 262.5 kB / 279.3 MB, free: 4.859 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005901/0.0952, allocations: 366.8 kB / 279.6 MB, free: 4.5 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007015/0.09592, allocations: 426.2 kB / 280 MB, free: 4.082 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001908/0.09612, allocations: 60 kB / 280.1 MB, free: 4.023 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002392/0.09637, allocations: 60 kB / 280.2 MB, free: 3.965 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002121/0.0966, allocations: 167.4 kB / 280.3 MB, free: 3.801 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002492/0.09686, allocations: 193.3 kB / 280.5 MB, free: 3.605 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.09806, allocations: 0.8221 MB / 281.3 MB, free: 2.781 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.09809, allocations: 0 / 281.3 MB, free: 2.781 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.739e-06/0.0981, allocations: 4 kB / 281.3 MB, free: 2.777 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.729e-05/0.09813, allocations: 0 / 281.3 MB, free: 2.777 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.003326/0.1015, allocations: 1.162 MB / 282.5 MB, free: 1.547 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.1015, allocations: 8.031 kB / 282.5 MB, free: 1.539 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002856/0.1018, allocations: 103 kB / 282.6 MB, free: 1.438 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.1031, allocations: 0.5076 MB / 283.1 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005121/0.1036, allocations: 174.4 kB / 283.3 MB, free: 0.6992 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.1038, allocations: 52 kB / 283.3 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002357/0.1061, allocations: 0.8589 MB / 284.2 MB, free: 15.68 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/0.1062, allocations: 0 / 284.2 MB, free: 15.68 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.1063, allocations: 24 kB / 284.2 MB, free: 15.66 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.1064, allocations: 16 kB / 284.2 MB, free: 15.64 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002611/0.109, allocations: 0.6453 MB / 284.9 MB, free: 15 MB / 250.7 MB 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.004976/0.114, allocations: 1.968 MB / 286.8 MB, free: 12.93 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002482/0.1165, allocations: 0.8973 MB / 287.7 MB, free: 11.97 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/0.1167, allocations: 16.64 kB / 287.8 MB, free: 11.95 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.856e-05/0.1167, allocations: 47.22 kB / 287.8 MB, free: 11.9 MB / 250.7 MB Notification: Performance of pre-optimization done (n=72): time 4.419e-06/0.1168, allocations: 3.938 kB / 287.8 MB, free: 11.89 MB / 250.7 MB Notification: Performance of matching and sorting (n=72): time 0.009578/0.1263, allocations: 1.991 MB / 289.8 MB, free: 9.809 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004066/0.1268, allocations: 0.8312 MB / 290.6 MB, free: 8.781 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009911/0.1278, allocations: 0.5471 MB / 291.2 MB, free: 8.223 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.1279, allocations: 41.7 kB / 291.2 MB, free: 8.176 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003747/0.1283, allocations: 329 kB / 291.5 MB, free: 7.852 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002897/0.1286, allocations: 252.3 kB / 291.8 MB, free: 7.602 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.805e-05/0.1287, allocations: 12 kB / 291.8 MB, free: 7.59 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.1289, allocations: 386.8 kB / 292.2 MB, free: 7.203 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/0.1302, allocations: 301.8 kB / 292.5 MB, free: 6.906 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001618/0.1318, allocations: 0.5604 MB / 293 MB, free: 6.25 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/0.1332, allocations: 420.1 kB / 293.4 MB, free: 5.824 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.1332, allocations: 0 / 293.4 MB, free: 5.824 MB / 250.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.004777/0.138, allocations: 1.168 MB / 294.6 MB, free: 4.617 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.831e-05/0.1381, allocations: 93.05 kB / 294.7 MB, free: 4.508 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.1381, allocations: 0 / 294.7 MB, free: 4.508 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001162/0.1393, allocations: 251.3 kB / 294.9 MB, free: 4.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.1405, allocations: 147.8 kB / 295.1 MB, free: 4.105 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2575/0.398, allocations: 6.57 MB / 301.7 MB, free: 27.45 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/0.4001, allocations: 129.3 kB / 301.8 MB, free: 27.45 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000249/0.4004, allocations: 21.42 kB / 301.8 MB, free: 27.45 MB / 250.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 (67): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 3,1 1,3 3,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.000762/0.4012, allocations: 215.7 kB / 302 MB, free: 27.34 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003336/0.4015, allocations: 79.39 kB / 302.1 MB, free: 27.34 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003351/0.4019, allocations: 87.73 kB / 302.2 MB, free: 27.32 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005483/0.4074, allocations: 1.331 MB / 303.5 MB, free: 26.75 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/0.4074, allocations: 0 / 303.5 MB, free: 26.75 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003481/0.4078, allocations: 158.8 kB / 303.7 MB, free: 26.65 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003643/0.4082, allocations: 20.14 kB / 303.7 MB, free: 26.65 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/0.4097, allocations: 70.42 kB / 303.8 MB, free: 26.64 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003084/0.4101, allocations: 61.47 kB / 303.8 MB, free: 26.64 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006726/0.4168, allocations: 1.14 MB / 305 MB, free: 26.48 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00443/0.4213, allocations: 1.307 MB / 306.3 MB, free: 25.93 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001382/0.4227, allocations: 340.6 kB / 306.6 MB, free: 25.82 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0007533/0.4235, allocations: 394.8 kB / 307 MB, free: 25.64 MB / 250.7 MB Notification: Performance of Backend: time 7.92e-07/0.4235, allocations: 0 / 307 MB, free: 25.64 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.003151/0.4267, allocations: 1.189 MB / 308.2 MB, free: 24.75 MB / 250.7 MB Notification: Performance of SimCode: time 0.004459/0.4312, allocations: 2.388 MB / 310.6 MB, free: 23.15 MB / 250.7 MB Notification: Performance of Templates: time 0.03733/0.4686, allocations: 14.4 MB / 325 MB, free: 13.95 MB / 250.7 MB