Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00159/0.00159, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.831/1.831, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000973/0.0009731, allocations: 86.59 kB / 267 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3794/0.3794, allocations: 43.47 MB / 358.6 MB, free: 52.37 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.683e-05/3.688e-05, allocations: 4 kB / 425.4 MB, free: 8.777 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1236, allocations: 58.84 MB / 484.3 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.926/2.05, allocations: 0.792 GB / 1.265 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/2.05, allocations: 86.88 kB / 1.265 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.747/5.797, allocations: 1.144 GB / 2.409 GB, free: 8.266 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.657e-06/5.797, allocations: 0 / 2.409 GB, free: 8.266 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001373/5.798, allocations: 43.92 kB / 2.409 GB, free: 8.223 MB / 0.5417 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.0147/5.812, allocations: 2.342 MB / 2.412 GB, free: 5.824 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.022e-05/5.812, allocations: 15.97 kB / 2.412 GB, free: 5.809 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009061/5.813, allocations: 194.3 kB / 2.412 GB, free: 5.609 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004421/5.818, allocations: 449.5 kB / 2.412 GB, free: 5.168 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003596/5.821, allocations: 1.199 MB / 2.414 GB, free: 3.926 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/5.821, allocations: 90.22 kB / 2.414 GB, free: 3.836 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003441/5.822, allocations: 112 kB / 2.414 GB, free: 3.727 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005346/5.827, allocations: 2.892 MB / 2.417 GB, free: 0.7578 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/5.827, allocations: 3.938 kB / 2.417 GB, free: 0.7539 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002664/5.827, allocations: 51.98 kB / 2.417 GB, free: 0.7031 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001875/5.828, allocations: 142.5 kB / 2.417 GB, free: 0.5625 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4195/6.247, allocations: 3.587 MB / 2.42 GB, free: 65.58 MB / 0.5417 GB Warning: The model contains alias variables with conflicting start and/or 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.01888/6.266, allocations: 8.519 MB / 2.429 GB, free: 63.24 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003569/6.27, allocations: 1.547 MB / 2.43 GB, free: 63.21 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/6.271, allocations: 0.7789 MB / 2.431 GB, free: 63.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001453/6.273, allocations: 0.8056 MB / 2.432 GB, free: 62.54 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.869e-05/6.273, allocations: 47.36 kB / 2.432 GB, free: 62.5 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003209/6.276, allocations: 0.8394 MB / 2.432 GB, free: 62.46 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=74): time 6.402e-06/6.276, allocations: 0 / 2.432 GB, free: 62.46 MB / 0.5417 GB Notification: Performance of matching and sorting (n=74): time 0.003333/6.279, allocations: 2.102 MB / 2.435 GB, free: 62.32 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.565e-05/6.279, allocations: 139.3 kB / 2.435 GB, free: 62.16 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002136/6.281, allocations: 1.488 MB / 2.436 GB, free: 62 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001511/6.282, allocations: 41.77 kB / 2.436 GB, free: 61.97 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004305/6.282, allocations: 0.6404 MB / 2.437 GB, free: 61.79 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002716/6.282, allocations: 267.1 kB / 2.437 GB, free: 61.66 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.463e-05/6.282, allocations: 22.38 kB / 2.437 GB, free: 61.66 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.161e-05/6.283, allocations: 343 kB / 2.437 GB, free: 61.36 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001117/6.284, allocations: 0.822 MB / 2.438 GB, free: 61.35 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/6.285, allocations: 1.015 MB / 2.439 GB, free: 61.16 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/6.286, allocations: 0.9309 MB / 2.44 GB, free: 61.14 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.922e-06/6.286, allocations: 4.344 kB / 2.44 GB, free: 61.14 MB / 0.5417 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00422/6.29, allocations: 2.632 MB / 2.443 GB, free: 61.01 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003649/6.291, allocations: 1.869 MB / 2.444 GB, free: 59.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/6.291, allocations: 6.438 kB / 2.444 GB, free: 59.11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01897/6.31, allocations: 3.602 MB / 2.448 GB, free: 59.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/6.311, allocations: 185.9 kB / 2.448 GB, free: 59.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003186/6.314, allocations: 2.25 MB / 2.45 GB, free: 58.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/6.316, allocations: 88.33 kB / 2.45 GB, free: 58.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002388/6.317, allocations: 78.25 kB / 2.451 GB, free: 58.54 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/6.317, allocations: 2.844 kB / 2.451 GB, free: 58.54 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003621/6.32, allocations: 2.039 MB / 2.453 GB, free: 58.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/6.32, allocations: 8.844 kB / 2.453 GB, free: 58.51 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006816/6.321, allocations: 157.8 kB / 2.453 GB, free: 58.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/6.322, allocations: 261.4 kB / 2.453 GB, free: 58.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002854/6.325, allocations: 2.18 MB / 2.455 GB, free: 57.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/6.327, allocations: 74.77 kB / 2.455 GB, free: 57.22 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001927/6.327, allocations: 83.28 kB / 2.455 GB, free: 57.22 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 34} Notification: Performance of prepare postOptimizeDAE: time 0.0005666/6.328, allocations: 157.6 kB / 2.455 GB, free: 57.11 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003515/6.328, allocations: 154.2 kB / 2.456 GB, free: 57.04 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004749/6.333, allocations: 2.274 MB / 2.458 GB, free: 56.93 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/6.333, allocations: 7.469 kB / 2.458 GB, free: 56.93 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/6.333, allocations: 0 / 2.458 GB, free: 56.93 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/6.333, allocations: 8.484 kB / 2.458 GB, free: 56.93 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005825/6.339, allocations: 3.215 MB / 2.461 GB, free: 56.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/6.339, allocations: 3.188 kB / 2.461 GB, free: 56.55 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004726/6.339, allocations: 70.8 kB / 2.461 GB, free: 56.55 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01129/6.351, allocations: 2.451 MB / 2.463 GB, free: 56.54 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001782/6.351, allocations: 19.55 kB / 2.463 GB, free: 56.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002273/6.353, allocations: 1.882 MB / 2.465 GB, free: 56 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/6.353, allocations: 3.469 kB / 2.465 GB, free: 56 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002963/6.356, allocations: 1.865 MB / 2.467 GB, free: 55.72 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007081/6.357, allocations: 272.8 kB / 2.467 GB, free: 55.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002163/6.357, allocations: 20.44 kB / 2.467 GB, free: 55.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/6.358, allocations: 81.39 kB / 2.467 GB, free: 55.55 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/6.359, allocations: 52.25 kB / 2.467 GB, free: 55.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001651/6.359, allocations: 59.44 kB / 2.468 GB, free: 55.55 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001933/6.361, allocations: 1.169 MB / 2.469 GB, free: 55.43 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.71e-07/6.361, allocations: 0 / 2.469 GB, free: 55.43 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007592/6.368, allocations: 1.89 MB / 2.471 GB, free: 55.41 MB / 0.5417 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 () * 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 {5 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.01313/6.381, allocations: 4.954 MB / 2.475 GB, free: 54.43 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005359/6.387, allocations: 2.974 MB / 2.478 GB, free: 54.28 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.448e-05/6.387, allocations: 7.406 kB / 2.478 GB, free: 54.27 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001219/6.388, allocations: 0.7101 MB / 2.479 GB, free: 54.27 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005166/6.393, allocations: 0.932 MB / 2.48 GB, free: 54.25 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00749/6.401, allocations: 2.828 MB / 2.483 GB, free: 53.77 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/6.402, allocations: 1.326 MB / 2.484 GB, free: 53.05 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003412/6.405, allocations: 0.8297 MB / 2.485 GB, free: 53.02 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007443/6.406, allocations: 0.5007 MB / 2.485 GB, free: 53.02 MB / 0.5417 GB Notification: Performance of SimCode: time 1.012e-06/6.406, allocations: 0 / 2.485 GB, free: 53.02 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1706/6.577, allocations: 99.25 MB / 2.582 GB, free: 25.18 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001753/6.577, allocations: 236.5 kB / 2.582 GB, free: 24.91 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.617/12.19, allocations: 4 kB / 2.582 GB, free: 24.9 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat does not exist to compare? outputFormat=mat