Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01438/0.01438, allocations: 175.2 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.044/2.044, allocations: 194.5 MB / 210.3 MB, free: 7.605 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002001/0.002001, allocations: 112.7 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2619/0.2619, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004779/0.0004783, allocations: 11.5 kB / 406.3 MB, free: 51.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1147, allocations: 54.87 MB / 461.1 MB, free: 3.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.535/2.65, allocations: 0.7871 GB / 1.237 GB, free: 29.85 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/2.65, allocations: 87.58 kB / 1.237 GB, free: 29.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.091/8.741, allocations: 1.141 GB / 2.379 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.866e-06/8.741, allocations: 4 kB / 2.379 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001764/8.741, allocations: 39.98 kB / 2.379 GB, free: 14.99 MB / 0.4948 GB 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.02194/8.763, allocations: 2.49 MB / 2.381 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/8.763, allocations: 12.03 kB / 2.381 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001057/8.764, allocations: 205.5 kB / 2.381 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007676/8.772, allocations: 437.6 kB / 2.382 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004779/8.777, allocations: 1.261 MB / 2.383 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/8.777, allocations: 98.14 kB / 2.383 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005616/8.777, allocations: 108 kB / 2.383 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007791/8.785, allocations: 2.915 MB / 2.386 GB, free: 7.312 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.755e-05/8.785, allocations: 4 kB / 2.386 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004911/8.786, allocations: 55.92 kB / 2.386 GB, free: 7.254 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002521/8.786, allocations: 138.5 kB / 2.386 GB, free: 7.117 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01002/8.796, allocations: 3.664 MB / 2.39 GB, free: 3.445 MB / 0.4948 GB 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.02151/8.818, allocations: 7.367 MB / 2.397 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002712/8.821, allocations: 0.8411 MB / 2.398 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001986/8.823, allocations: 0.8014 MB / 2.399 GB, free: 9.992 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/8.823, allocations: 43.06 kB / 2.399 GB, free: 9.941 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00193/8.825, allocations: 234.9 kB / 2.399 GB, free: 9.711 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=56): time 3.096e-06/8.825, allocations: 0 / 2.399 GB, free: 9.711 MB / 0.5105 GB Notification: Performance of matching and sorting (n=56): time 0.01161/8.836, allocations: 2.194 MB / 2.401 GB, free: 7.488 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.361e-05/8.836, allocations: 137.1 kB / 2.401 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002109/8.838, allocations: 0.9263 MB / 2.402 GB, free: 6.383 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001988/8.839, allocations: 37.7 kB / 2.402 GB, free: 6.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007558/8.839, allocations: 0.7579 MB / 2.403 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003143/8.84, allocations: 205.2 kB / 2.403 GB, free: 5.367 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/8.84, allocations: 20 kB / 2.403 GB, free: 5.348 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001701/8.84, allocations: 358.4 kB / 2.403 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001682/8.842, allocations: 0.5491 MB / 2.404 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001913/8.844, allocations: 0.8921 MB / 2.405 GB, free: 3.402 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001958/8.846, allocations: 0.69 MB / 2.405 GB, free: 2.711 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/8.846, allocations: 0 / 2.405 GB, free: 2.711 MB / 0.5105 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.005413/8.851, allocations: 1.864 MB / 2.407 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.4094/9.261, allocations: 4.005 MB / 2.411 GB, free: 57.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-05/9.261, allocations: 10.88 kB / 2.411 GB, free: 57.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007049/9.268, allocations: 0.9202 MB / 2.412 GB, free: 57.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001976/9.27, allocations: 246.9 kB / 2.412 GB, free: 57.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004143/9.274, allocations: 1.477 MB / 2.414 GB, free: 57.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/9.276, allocations: 97.14 kB / 2.414 GB, free: 57.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003283/9.277, allocations: 89.28 kB / 2.414 GB, free: 57.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/9.277, allocations: 3.562 kB / 2.414 GB, free: 57.05 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005587/9.282, allocations: 1.573 MB / 2.415 GB, free: 57.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.438e-05/9.283, allocations: 13.59 kB / 2.415 GB, free: 57.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00127/9.284, allocations: 165.5 kB / 2.416 GB, free: 57.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002288/9.286, allocations: 274.5 kB / 2.416 GB, free: 57.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004843/9.291, allocations: 2.235 MB / 2.418 GB, free: 55.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/9.293, allocations: 91.16 kB / 2.418 GB, free: 55.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002753/9.293, allocations: 82.75 kB / 2.418 GB, free: 55.77 MB / 0.5105 GB 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.001423/9.295, allocations: 0.522 MB / 2.419 GB, free: 55.57 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003702/9.295, allocations: 109.2 kB / 2.419 GB, free: 55.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005146/9.3, allocations: 1.456 MB / 2.42 GB, free: 55.52 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/9.301, allocations: 7.125 kB / 2.42 GB, free: 55.52 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/9.301, allocations: 0 / 2.42 GB, free: 55.52 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/9.301, allocations: 7.531 kB / 2.42 GB, free: 55.52 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00708/9.308, allocations: 2.461 MB / 2.423 GB, free: 55.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/9.308, allocations: 0 / 2.423 GB, free: 55.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008289/9.309, allocations: 74.47 kB / 2.423 GB, free: 55.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007081/9.316, allocations: 0.9204 MB / 2.424 GB, free: 55.18 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002262/9.316, allocations: 22.05 kB / 2.424 GB, free: 55.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003159/9.319, allocations: 1.429 MB / 2.425 GB, free: 54.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/9.319, allocations: 2.344 kB / 2.425 GB, free: 54.65 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004117/9.323, allocations: 1.311 MB / 2.426 GB, free: 54.43 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005869/9.324, allocations: 195.4 kB / 2.427 GB, free: 54.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002935/9.324, allocations: 13.38 kB / 2.427 GB, free: 54.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/9.326, allocations: 51.88 kB / 2.427 GB, free: 54.28 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/9.326, allocations: 38.59 kB / 2.427 GB, free: 54.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001686/9.326, allocations: 40.19 kB / 2.427 GB, free: 54.28 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001631/9.328, allocations: 0.7043 MB / 2.427 GB, free: 54.17 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.41e-07/9.328, allocations: 0 / 2.427 GB, free: 54.17 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007929/9.336, allocations: 1.863 MB / 2.429 GB, free: 54.12 MB / 0.5105 GB 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.01308/9.349, allocations: 4.256 MB / 2.433 GB, free: 53.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0073/9.356, allocations: 2.237 MB / 2.436 GB, free: 53 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/9.356, allocations: 0 / 2.436 GB, free: 53 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001838/9.358, allocations: 486.9 kB / 2.436 GB, free: 53 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003663/9.362, allocations: 434.9 kB / 2.436 GB, free: 52.99 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01254/9.374, allocations: 11.23 MB / 2.447 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001194/9.375, allocations: 1.321 MB / 2.449 GB, free: 43.51 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003707/9.379, allocations: 0.5669 MB / 2.449 GB, free: 43.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/9.38, allocations: 0.5081 MB / 2.45 GB, free: 43.49 MB / 0.5105 GB Notification: Performance of SimCode: time 1.483e-06/9.38, allocations: 2.969 kB / 2.45 GB, free: 43.49 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1567/9.537, allocations: 67.91 MB / 2.516 GB, free: 41.71 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/9.537, allocations: 250.1 kB / 2.516 GB, free: 41.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.667/15.2, allocations: 0 / 2.516 GB, free: 41.38 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat does not exist to compare? outputFormat=mat