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.001403/0.001403, allocations: 182.8 kB / 15.76 MB, free: 6.367 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.663/1.663, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001104/0.001104, allocations: 102.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2448/0.2448, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003499, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1426, allocations: 58.85 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.103/2.246, allocations: 0.7921 GB / 1.271 GB, free: 36.11 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/2.246, allocations: 93.06 kB / 1.271 GB, free: 36.06 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.022/7.268, allocations: 1.144 GB / 2.415 GB, free: 57.92 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.504e-06/7.268, allocations: 2.562 kB / 2.415 GB, free: 57.92 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002259/7.268, allocations: 35.97 kB / 2.415 GB, free: 57.91 MB / 0.5261 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.01778/7.286, allocations: 2.488 MB / 2.417 GB, free: 56.65 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.743e-05/7.286, allocations: 7.688 kB / 2.417 GB, free: 56.65 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001593/7.287, allocations: 205 kB / 2.417 GB, free: 56.61 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005217/7.293, allocations: 442.7 kB / 2.418 GB, free: 56.52 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004973/7.298, allocations: 1.209 MB / 2.419 GB, free: 56.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001982/7.298, allocations: 93.42 kB / 2.419 GB, free: 56.15 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009802/7.299, allocations: 107.8 kB / 2.419 GB, free: 56.15 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008576/7.308, allocations: 2.942 MB / 2.422 GB, free: 55.94 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-05/7.308, allocations: 3.938 kB / 2.422 GB, free: 55.94 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007906/7.308, allocations: 51.17 kB / 2.422 GB, free: 55.94 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002543/7.309, allocations: 141 kB / 2.422 GB, free: 55.93 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007402/7.316, allocations: 3.673 MB / 2.426 GB, free: 55.91 MB / 0.5261 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.01785/7.334, allocations: 8.534 MB / 2.434 GB, free: 53.29 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003751/7.338, allocations: 1.577 MB / 2.436 GB, free: 53.25 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001469/7.339, allocations: 0.7962 MB / 2.437 GB, free: 52.59 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.539e-05/7.339, allocations: 55.41 kB / 2.437 GB, free: 52.55 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003664/7.343, allocations: 0.836 MB / 2.437 GB, free: 52.46 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=74): time 1.933e-05/7.343, allocations: 0 / 2.437 GB, free: 52.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=74): time 0.015/7.358, allocations: 4.191 MB / 2.442 GB, free: 52.23 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/7.358, allocations: 139.6 kB / 2.442 GB, free: 52.08 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003911/7.362, allocations: 1.507 MB / 2.443 GB, free: 51.92 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003166/7.363, allocations: 50.64 kB / 2.443 GB, free: 51.88 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009298/7.364, allocations: 0.6386 MB / 2.444 GB, free: 51.66 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004433/7.364, allocations: 271 kB / 2.444 GB, free: 51.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/7.364, allocations: 15.12 kB / 2.444 GB, free: 51.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001731/7.364, allocations: 355.6 kB / 2.444 GB, free: 51.19 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001609/7.366, allocations: 0.8442 MB / 2.445 GB, free: 51.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001727/7.368, allocations: 1.043 MB / 2.446 GB, free: 50.57 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001825/7.37, allocations: 0.9604 MB / 2.447 GB, free: 50.21 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.992e-05/7.37, allocations: 3.5 kB / 2.447 GB, free: 50.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005911/7.376, allocations: 2.706 MB / 2.45 GB, free: 49.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001057/7.377, allocations: 1.869 MB / 2.452 GB, free: 47.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.79e-05/7.377, allocations: 3.875 kB / 2.452 GB, free: 47.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02096/7.398, allocations: 3.617 MB / 2.455 GB, free: 47.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/7.399, allocations: 188 kB / 2.455 GB, free: 47.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004406/7.404, allocations: 2.257 MB / 2.458 GB, free: 45.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00281/7.407, allocations: 87.08 kB / 2.458 GB, free: 45.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005791/7.407, allocations: 80.44 kB / 2.458 GB, free: 45.81 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/7.407, allocations: 5.875 kB / 2.458 GB, free: 45.81 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005381/7.413, allocations: 2.099 MB / 2.46 GB, free: 45.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.25e-05/7.413, allocations: 10.22 kB / 2.46 GB, free: 45.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008479/7.414, allocations: 162.2 kB / 2.46 GB, free: 45.03 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/7.415, allocations: 265.3 kB / 2.46 GB, free: 45.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003635/7.419, allocations: 2.234 MB / 2.462 GB, free: 43.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002403/7.421, allocations: 77 kB / 2.462 GB, free: 42.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003993/7.422, allocations: 85.61 kB / 2.463 GB, free: 42.93 MB / 0.5261 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 () * 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 34} Notification: Performance of prepare postOptimizeDAE: time 0.002009/7.424, allocations: 0.4965 MB / 2.463 GB, free: 42.47 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008413/7.424, allocations: 161.6 kB / 2.463 GB, free: 42.31 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006316/7.431, allocations: 2.328 MB / 2.465 GB, free: 40.41 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/7.431, allocations: 8 kB / 2.465 GB, free: 40.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/7.431, allocations: 0 / 2.465 GB, free: 40.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/7.431, allocations: 7.781 kB / 2.465 GB, free: 40.39 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008172/7.439, allocations: 3.265 MB / 2.469 GB, free: 37.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/7.439, allocations: 0 / 2.469 GB, free: 37.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005384/7.44, allocations: 89.14 kB / 2.469 GB, free: 37.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01169/7.451, allocations: 2.448 MB / 2.471 GB, free: 36.01 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004291/7.452, allocations: 22.97 kB / 2.471 GB, free: 35.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003545/7.455, allocations: 1.892 MB / 2.473 GB, free: 34.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/7.456, allocations: 0 / 2.473 GB, free: 34.27 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004919/7.46, allocations: 1.932 MB / 2.475 GB, free: 32.54 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001351/7.462, allocations: 264.4 kB / 2.475 GB, free: 32.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008411/7.463, allocations: 15.42 kB / 2.475 GB, free: 32.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002149/7.465, allocations: 84 kB / 2.475 GB, free: 32.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002295/7.465, allocations: 53.16 kB / 2.475 GB, free: 32.17 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002864/7.465, allocations: 62.02 kB / 2.475 GB, free: 32.12 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00267/7.468, allocations: 1.179 MB / 2.477 GB, free: 31.13 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.5e-07/7.468, allocations: 0 / 2.477 GB, free: 31.13 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01043/7.479, allocations: 1.893 MB / 2.478 GB, free: 29.29 MB / 0.5261 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 {5 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.01734/7.496, allocations: 5.03 MB / 2.483 GB, free: 25.21 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008491/7.505, allocations: 3.002 MB / 2.486 GB, free: 22.65 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.841e-05/7.505, allocations: 4.656 kB / 2.486 GB, free: 22.65 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001846/7.507, allocations: 0.7318 MB / 2.487 GB, free: 22.02 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00649/7.513, allocations: 0.9297 MB / 2.488 GB, free: 21.34 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01512/7.528, allocations: 7.839 MB / 2.495 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001503/7.53, allocations: 1.323 MB / 2.497 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003643/7.533, allocations: 0.5465 MB / 2.497 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001154/7.535, allocations: 0.5209 MB / 2.498 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of SimCode: time 1.683e-06/7.535, allocations: 0 / 2.498 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6743/8.209, allocations: 93.32 MB / 2.589 GB, free: 57.28 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002317/8.209, allocations: 253.8 kB / 2.589 GB, free: 56.94 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.354/13.56, allocations: 0 / 2.589 GB, free: 56.94 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