Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.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.Pipes.IdealMixing1,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1",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.01023/0.01023, allocations: 165.7 kB / 15.11 MB, free: 5.977 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.592/1.592, 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.001965/0.001965, allocations: 110.2 kB / 226.2 MB, free: 10.11 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.4567/0.4567, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006443/0.0006442, allocations: 15.98 kB / 363 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1033, allocations: 48.71 MB / 411.7 MB, free: 4.727 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.482/2.585, allocations: 0.7729 GB / 1.175 GB, free: 83.67 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/2.586, allocations: 86.34 kB / 1.175 GB, free: 83.62 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.583/9.169, allocations: 1.135 GB / 2.31 GB, free: 51.73 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.108e-06/9.169, allocations: 0 / 2.31 GB, free: 51.73 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000188/9.17, allocations: 38.55 kB / 2.31 GB, free: 51.73 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.02359/9.193, allocations: 2.497 MB / 2.312 GB, free: 51.03 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/9.193, allocations: 9.688 kB / 2.312 GB, free: 51.03 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001393/9.195, allocations: 202.9 kB / 2.312 GB, free: 50.98 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00824/9.203, allocations: 435 kB / 2.313 GB, free: 50.9 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005606/9.209, allocations: 1.272 MB / 2.314 GB, free: 50.64 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002063/9.209, allocations: 93.52 kB / 2.314 GB, free: 50.64 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001109/9.21, allocations: 111.7 kB / 2.314 GB, free: 50.64 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00918/9.219, allocations: 2.912 MB / 2.317 GB, free: 50.43 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.515e-05/9.219, allocations: 4.375 kB / 2.317 GB, free: 50.43 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005031/9.22, allocations: 54.09 kB / 2.317 GB, free: 50.43 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002717/9.22, allocations: 141.1 kB / 2.317 GB, free: 50.43 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01074/9.231, allocations: 3.664 MB / 2.321 GB, free: 50.41 MB / 474.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.02163/9.253, allocations: 6.932 MB / 2.328 GB, free: 48.45 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002544/9.255, allocations: 0.8409 MB / 2.328 GB, free: 48.41 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001682/9.257, allocations: 0.6832 MB / 2.329 GB, free: 47.85 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/9.257, allocations: 41.36 kB / 2.329 GB, free: 47.81 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00196/9.259, allocations: 236 kB / 2.329 GB, free: 47.78 MB / 474.7 MB Notification: Performance of pre-optimization done (n=56): time 3.536e-06/9.259, allocations: 0 / 2.329 GB, free: 47.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=56): time 0.01119/9.27, allocations: 2.189 MB / 2.331 GB, free: 47.58 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.613e-05/9.27, allocations: 135.3 kB / 2.332 GB, free: 47.42 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001898/9.272, allocations: 0.9345 MB / 2.332 GB, free: 47.27 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002027/9.272, allocations: 41.17 kB / 2.333 GB, free: 47.24 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006204/9.273, allocations: 0.7509 MB / 2.333 GB, free: 46.93 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000292/9.273, allocations: 213.5 kB / 2.333 GB, free: 46.84 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/9.274, allocations: 24.38 kB / 2.333 GB, free: 46.84 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/9.274, allocations: 347.7 kB / 2.334 GB, free: 46.53 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/9.275, allocations: 0.5456 MB / 2.334 GB, free: 46.53 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/9.277, allocations: 0.8868 MB / 2.335 GB, free: 46.13 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/9.279, allocations: 0.6825 MB / 2.336 GB, free: 46.12 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/9.279, allocations: 0 / 2.336 GB, free: 46.12 MB / 474.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00488/9.284, allocations: 1.842 MB / 2.338 GB, free: 46 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009021/9.284, allocations: 4.011 MB / 2.342 GB, free: 41.83 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.521e-05/9.285, allocations: 13.66 kB / 2.342 GB, free: 41.83 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006923/9.291, allocations: 0.9176 MB / 2.342 GB, free: 41.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/9.293, allocations: 241.4 kB / 2.343 GB, free: 41.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004048/9.298, allocations: 1.477 MB / 2.344 GB, free: 41.28 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002202/9.3, allocations: 94.62 kB / 2.344 GB, free: 41.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002306/9.3, allocations: 78.45 kB / 2.344 GB, free: 41.27 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/9.3, allocations: 4.188 kB / 2.344 GB, free: 41.27 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004884/9.305, allocations: 1.563 MB / 2.346 GB, free: 41.24 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.162e-05/9.305, allocations: 10.38 kB / 2.346 GB, free: 41.24 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/9.306, allocations: 174.1 kB / 2.346 GB, free: 41.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001936/9.308, allocations: 258.8 kB / 2.346 GB, free: 41.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004369/9.313, allocations: 2.234 MB / 2.348 GB, free: 39.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/9.315, allocations: 89 kB / 2.349 GB, free: 39.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001925/9.315, allocations: 76.69 kB / 2.349 GB, free: 39.95 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (124): * Single equations (assignments): 123 * 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 {6 13} Notification: Performance of prepare postOptimizeDAE: time 0.001277/9.316, allocations: 0.5121 MB / 2.349 GB, free: 39.76 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003237/9.317, allocations: 113.8 kB / 2.349 GB, free: 39.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004586/9.321, allocations: 1.452 MB / 2.351 GB, free: 39.62 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/9.321, allocations: 3.844 kB / 2.351 GB, free: 39.62 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/9.321, allocations: 0 / 2.351 GB, free: 39.62 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/9.321, allocations: 7.141 kB / 2.351 GB, free: 39.62 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006768/9.328, allocations: 2.464 MB / 2.353 GB, free: 39.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/9.328, allocations: 0 / 2.353 GB, free: 39.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008285/9.329, allocations: 78.09 kB / 2.353 GB, free: 39.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007273/9.336, allocations: 0.9228 MB / 2.354 GB, free: 39.28 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002415/9.337, allocations: 20.09 kB / 2.354 GB, free: 39.28 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003096/9.34, allocations: 1.422 MB / 2.355 GB, free: 38.75 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/9.34, allocations: 3.844 kB / 2.355 GB, free: 38.75 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003954/9.344, allocations: 1.314 MB / 2.357 GB, free: 38.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000865/9.345, allocations: 299.6 kB / 2.357 GB, free: 38.35 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002407/9.345, allocations: 13.03 kB / 2.357 GB, free: 38.35 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/9.346, allocations: 48.02 kB / 2.357 GB, free: 38.35 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001941/9.346, allocations: 42.53 kB / 2.357 GB, free: 38.35 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001386/9.346, allocations: 40.05 kB / 2.357 GB, free: 38.35 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001548/9.348, allocations: 0.7049 MB / 2.358 GB, free: 38.24 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.71e-07/9.348, allocations: 0 / 2.358 GB, free: 38.24 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007625/9.356, allocations: 1.862 MB / 2.36 GB, free: 37.96 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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 {6 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.01382/9.369, allocations: 4.308 MB / 2.364 GB, free: 36.66 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007554/9.377, allocations: 2.219 MB / 2.366 GB, free: 36.52 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/9.377, allocations: 0 / 2.366 GB, free: 36.52 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001805/9.379, allocations: 488.2 kB / 2.367 GB, free: 36.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003698/9.383, allocations: 439.2 kB / 2.367 GB, free: 36.49 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/9.396, allocations: 11.3 MB / 2.378 GB, free: 27.39 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/9.397, allocations: 1.327 MB / 2.379 GB, free: 26.68 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003294/9.4, allocations: 0.5059 MB / 2.38 GB, free: 26.66 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/9.401, allocations: 0.4955 MB / 2.38 GB, free: 26.66 MB / 474.7 MB Notification: Performance of SimCode: time 1.213e-06/9.401, allocations: 2.281 kB / 2.38 GB, free: 26.66 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1829/9.584, allocations: 68.09 MB / 2.447 GB, free: 18.13 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002978/9.584, allocations: 258.1 kB / 2.447 GB, free: 17.79 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.551/15.14, allocations: 0 / 2.447 GB, free: 17.79 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat does not exist to compare? outputFormat=mat