Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009975/0.009975, allocations: 164.9 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.64/1.64, allocations: 170.8 MB / 186.6 MB, free: 1.133 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001957/0.001957, allocations: 111 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4244/0.4244, allocations: 38.04 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000471/0.0004711, allocations: 12 kB / 363 MB, free: 5.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.101, allocations: 48.71 MB / 411.7 MB, free: 4.734 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.942/2.043, allocations: 0.6213 GB / 1.023 GB, free: 81.98 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003888/2.044, allocations: 88.95 kB / 1.023 GB, free: 81.93 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944/3.988, allocations: 353.9 MB / 1.369 GB, free: 55.32 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.384e-06/3.988, allocations: 0 / 1.369 GB, free: 55.32 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001022/3.988, allocations: 29.25 kB / 1.369 GB, free: 55.31 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.006781/3.995, allocations: 1.696 MB / 1.371 GB, free: 54.33 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/3.995, allocations: 10.34 kB / 1.371 GB, free: 54.33 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005753/3.996, allocations: 117.2 kB / 1.371 GB, free: 54.29 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001851/3.998, allocations: 201.6 kB / 1.371 GB, free: 54.24 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00304/4.001, allocations: 0.8384 MB / 1.372 GB, free: 53.91 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.746e-05/4.001, allocations: 52.8 kB / 1.372 GB, free: 53.91 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002014/4.001, allocations: 59.72 kB / 1.372 GB, free: 53.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002908/4.004, allocations: 1.159 MB / 1.373 GB, free: 53.72 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/4.004, allocations: 0 / 1.373 GB, free: 53.72 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001639/4.004, allocations: 30.28 kB / 1.373 GB, free: 53.72 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001558/4.004, allocations: 81.94 kB / 1.373 GB, free: 53.72 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003116/4.007, allocations: 1.16 MB / 1.374 GB, free: 53.71 MB / 442.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.01075/4.018, allocations: 4.318 MB / 1.379 GB, free: 51.85 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002256/4.021, allocations: 0.7615 MB / 1.379 GB, free: 51.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004444/4.021, allocations: 326.7 kB / 1.38 GB, free: 51.45 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/4.021, allocations: 42.16 kB / 1.38 GB, free: 51.41 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001171/4.022, allocations: 113.7 kB / 1.38 GB, free: 51.36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=61): time 3.577e-06/4.022, allocations: 3.812 kB / 1.38 GB, free: 51.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=61): time 0.0119/4.034, allocations: 2.023 MB / 1.382 GB, free: 50.75 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.619e-05/4.034, allocations: 228 kB / 1.382 GB, free: 50.49 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/4.036, allocations: 0.7166 MB / 1.383 GB, free: 50.18 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002115/4.036, allocations: 45.03 kB / 1.383 GB, free: 50.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003559/4.036, allocations: 461.8 kB / 1.383 GB, free: 49.77 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002565/4.037, allocations: 221 kB / 1.383 GB, free: 49.61 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/4.037, allocations: 18.16 kB / 1.383 GB, free: 49.59 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.285e-05/4.037, allocations: 336.8 kB / 1.384 GB, free: 49.27 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/4.038, allocations: 392.2 kB / 1.384 GB, free: 49.14 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/4.039, allocations: 0.6187 MB / 1.385 GB, free: 48.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/4.041, allocations: 475.3 kB / 1.385 GB, free: 48.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/4.041, allocations: 3.875 kB / 1.385 GB, free: 48.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003651/4.044, allocations: 1.304 MB / 1.386 GB, free: 48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005328/4.045, allocations: 2.439 MB / 1.389 GB, free: 45.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/4.045, allocations: 10.03 kB / 1.389 GB, free: 45.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00829/4.053, allocations: 0.8389 MB / 1.39 GB, free: 45.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/4.054, allocations: 173.5 kB / 1.39 GB, free: 45.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/4.057, allocations: 1.185 MB / 1.391 GB, free: 44.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/4.058, allocations: 68.05 kB / 1.391 GB, free: 44.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001777/4.059, allocations: 72.95 kB / 1.391 GB, free: 44.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/4.059, allocations: 8.344 kB / 1.391 GB, free: 44.5 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003747/4.062, allocations: 1.115 MB / 1.392 GB, free: 44.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/4.062, allocations: 7.625 kB / 1.392 GB, free: 44.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/4.064, allocations: 162 kB / 1.392 GB, free: 44.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/4.065, allocations: 208.7 kB / 1.393 GB, free: 44.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003946/4.069, allocations: 2.203 MB / 1.395 GB, free: 42.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/4.071, allocations: 72.72 kB / 1.395 GB, free: 42.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/4.071, allocations: 70.94 kB / 1.395 GB, free: 42.31 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (85): * Single equations (assignments): 84 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 19} Notification: Performance of prepare postOptimizeDAE: time 0.0007701/4.072, allocations: 356.8 kB / 1.395 GB, free: 42.03 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002232/4.072, allocations: 92.12 kB / 1.395 GB, free: 41.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004374/4.076, allocations: 1.316 MB / 1.397 GB, free: 41.47 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/4.076, allocations: 10.42 kB / 1.397 GB, free: 41.47 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/4.076, allocations: 5.281 kB / 1.397 GB, free: 41.47 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/4.076, allocations: 3.609 kB / 1.397 GB, free: 41.47 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004854/4.081, allocations: 1.955 MB / 1.398 GB, free: 40.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.417e-06/4.081, allocations: 3.281 kB / 1.398 GB, free: 40.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006341/4.082, allocations: 80.06 kB / 1.399 GB, free: 40.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005413/4.087, allocations: 0.6954 MB / 1.399 GB, free: 40.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/4.087, allocations: 22.31 kB / 1.399 GB, free: 40.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/4.089, allocations: 1.182 MB / 1.4 GB, free: 39.64 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/4.089, allocations: 0 / 1.4 GB, free: 39.64 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002739/4.092, allocations: 1.183 MB / 1.402 GB, free: 38.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003533/4.092, allocations: 181.2 kB / 1.402 GB, free: 38.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002064/4.093, allocations: 13.19 kB / 1.402 GB, free: 38.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/4.094, allocations: 45.59 kB / 1.402 GB, free: 38.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/4.094, allocations: 46.64 kB / 1.402 GB, free: 38.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/4.094, allocations: 42.16 kB / 1.402 GB, free: 38.79 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001076/4.095, allocations: 0.569 MB / 1.402 GB, free: 38.55 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.41e-07/4.095, allocations: 0 / 1.402 GB, free: 38.55 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004619/4.1, allocations: 1.23 MB / 1.404 GB, free: 38.21 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (37): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.007863/4.108, allocations: 3.847 MB / 1.407 GB, free: 36.19 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004569/4.112, allocations: 1.573 MB / 1.409 GB, free: 35.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/4.112, allocations: 0 / 1.409 GB, free: 35.57 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001157/4.113, allocations: 417.2 kB / 1.409 GB, free: 35.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003991/4.117, allocations: 491.4 kB / 1.41 GB, free: 35.32 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01641/4.134, allocations: 8.757 MB / 1.418 GB, free: 29.04 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001265/4.135, allocations: 1.069 MB / 1.419 GB, free: 44.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003102/4.138, allocations: 449.7 kB / 1.42 GB, free: 44.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009161/4.139, allocations: 346.9 kB / 1.42 GB, free: 43.94 MB / 458.7 MB Notification: Performance of SimCode: time 2.595e-06/4.139, allocations: 0 / 1.42 GB, free: 43.94 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4612/4.6, allocations: 53.75 MB / 1.473 GB, free: 69.32 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000247/4.601, allocations: 273.8 kB / 1.473 GB, free: 68.96 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.631/9.231, allocations: 2.688 kB / 1.473 GB, free: 68.96 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal_res.mat does not exist to compare? outputFormat=mat