Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000924/0.000924, allocations: 86.52 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3965/0.3965, allocations: 44.22 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.000343, allocations: 8 kB / 460 MB, free: 1.445 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.4241, allocations: 61.9 MB / 0.5096 GB, free: 38.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.798/2.222, allocations: 0.7589 GB / 1.269 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/2.222, allocations: 90.73 kB / 1.269 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.079/7.302, allocations: 1.146 GB / 2.414 GB, free: 70.05 MB / 0.5573 GB Notification: Performance of FrontEnd: time 5.32e-06/7.302, allocations: 0 / 2.414 GB, free: 70.05 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003406/7.302, allocations: 34.92 kB / 2.414 GB, free: 70.04 MB / 0.5573 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.02442/7.326, allocations: 2.626 MB / 2.417 GB, free: 68.91 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 7.711e-05/7.327, allocations: 10.09 kB / 2.417 GB, free: 68.91 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002166/7.329, allocations: 205 kB / 2.417 GB, free: 68.87 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005599/7.334, allocations: 436.2 kB / 2.417 GB, free: 68.79 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004798/7.339, allocations: 1.208 MB / 2.419 GB, free: 68.43 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001882/7.339, allocations: 96.05 kB / 2.419 GB, free: 68.42 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009002/7.34, allocations: 112.9 kB / 2.419 GB, free: 68.42 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008071/7.348, allocations: 2.939 MB / 2.422 GB, free: 68.21 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-05/7.348, allocations: 11 kB / 2.422 GB, free: 68.21 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007126/7.349, allocations: 50.78 kB / 2.422 GB, free: 68.21 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002268/7.349, allocations: 142.4 kB / 2.422 GB, free: 68.21 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007487/7.357, allocations: 3.692 MB / 2.425 GB, free: 68.18 MB / 0.5573 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.02432/7.381, allocations: 8.468 MB / 2.434 GB, free: 65.57 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004425/7.386, allocations: 1.58 MB / 2.435 GB, free: 65.54 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001379/7.387, allocations: 0.7508 MB / 2.436 GB, free: 64.88 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.012e-05/7.387, allocations: 52.27 kB / 2.436 GB, free: 64.84 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00367/7.391, allocations: 0.8428 MB / 2.437 GB, free: 64.76 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=74): time 1.4e-05/7.391, allocations: 0 / 2.437 GB, free: 64.76 MB / 0.5573 GB Notification: Performance of matching and sorting (n=74): time 0.01475/7.406, allocations: 4.207 MB / 2.441 GB, free: 64.52 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.005e-05/7.406, allocations: 142.4 kB / 2.441 GB, free: 64.36 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00373/7.41, allocations: 1.501 MB / 2.443 GB, free: 64.2 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004012/7.41, allocations: 43.92 kB / 2.443 GB, free: 64.17 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009571/7.411, allocations: 0.6469 MB / 2.443 GB, free: 63.95 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004951/7.412, allocations: 261.6 kB / 2.444 GB, free: 63.79 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/7.412, allocations: 21.59 kB / 2.444 GB, free: 63.79 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001895/7.412, allocations: 343.8 kB / 2.444 GB, free: 63.48 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001728/7.414, allocations: 0.8525 MB / 2.445 GB, free: 63.38 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001858/7.416, allocations: 1.048 MB / 2.446 GB, free: 62.87 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001831/7.417, allocations: 0.965 MB / 2.447 GB, free: 62.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/7.417, allocations: 0 / 2.447 GB, free: 62.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005319/7.423, allocations: 2.712 MB / 2.449 GB, free: 61.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004998/7.423, allocations: 1.872 MB / 2.451 GB, free: 59.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/7.423, allocations: 10.84 kB / 2.451 GB, free: 59.55 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02029/7.444, allocations: 3.719 MB / 2.455 GB, free: 59.33 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/7.445, allocations: 187.1 kB / 2.455 GB, free: 59.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003702/7.449, allocations: 2.269 MB / 2.457 GB, free: 58.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002472/7.451, allocations: 86.16 kB / 2.457 GB, free: 58.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004346/7.452, allocations: 77.81 kB / 2.457 GB, free: 58.09 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/7.452, allocations: 8.062 kB / 2.457 GB, free: 58.09 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00454/7.456, allocations: 2.112 MB / 2.459 GB, free: 57.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/7.456, allocations: 3.594 kB / 2.459 GB, free: 57.35 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007901/7.457, allocations: 167.5 kB / 2.46 GB, free: 57.31 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/7.459, allocations: 265.8 kB / 2.46 GB, free: 57.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003168/7.462, allocations: 2.232 MB / 2.462 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/7.464, allocations: 81.75 kB / 2.462 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002588/7.464, allocations: 79.5 kB / 2.462 GB, free: 55.55 MB / 0.5573 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.001403/7.465, allocations: 0.5082 MB / 2.463 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005715/7.466, allocations: 156.1 kB / 2.463 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005872/7.472, allocations: 3.305 MB / 2.466 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/7.472, allocations: 8.5 kB / 2.466 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/7.472, allocations: 0 / 2.466 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/7.472, allocations: 3.75 kB / 2.466 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005986/7.478, allocations: 3.271 MB / 2.469 GB, free: 52.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/7.478, allocations: 1.25 kB / 2.469 GB, free: 52.86 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004559/7.478, allocations: 82.38 kB / 2.469 GB, free: 52.86 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01262/7.491, allocations: 2.562 MB / 2.472 GB, free: 51.13 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004007/7.492, allocations: 22.34 kB / 2.472 GB, free: 51.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00423/7.496, allocations: 1.903 MB / 2.474 GB, free: 49.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/7.496, allocations: 0 / 2.474 GB, free: 49.38 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005694/7.502, allocations: 1.939 MB / 2.476 GB, free: 47.63 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001484/7.503, allocations: 272.3 kB / 2.476 GB, free: 47.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000973/7.504, allocations: 15.95 kB / 2.476 GB, free: 47.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002834/7.507, allocations: 87.25 kB / 2.476 GB, free: 47.29 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002639/7.507, allocations: 46.47 kB / 2.476 GB, free: 47.27 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003295/7.508, allocations: 64.03 kB / 2.476 GB, free: 47.21 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003393/7.511, allocations: 1.18 MB / 2.477 GB, free: 46.23 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.81e-07/7.511, allocations: 0 / 2.477 GB, free: 46.23 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01123/7.522, allocations: 1.742 MB / 2.479 GB, free: 44.52 MB / 0.5573 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.01755/7.54, allocations: 4.727 MB / 2.484 GB, free: 40.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009402/7.549, allocations: 3.011 MB / 2.486 GB, free: 38.12 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.491e-05/7.549, allocations: 4.656 kB / 2.486 GB, free: 38.12 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002152/7.552, allocations: 0.7422 MB / 2.487 GB, free: 37.48 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007721/7.559, allocations: 0.925 MB / 2.488 GB, free: 36.87 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01417/7.574, allocations: 7.757 MB / 2.496 GB, free: 29.34 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/7.575, allocations: 1.317 MB / 2.497 GB, free: 28.22 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.003644/7.578, allocations: 0.9034 MB / 2.498 GB, free: 27.68 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009666/7.579, allocations: 0.5359 MB / 2.498 GB, free: 27.19 MB / 0.5573 GB Notification: Performance of SimCode: time 2.104e-06/7.579, allocations: 0 / 2.498 GB, free: 27.19 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7038/8.283, allocations: 91.12 MB / 2.587 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002309/8.283, allocations: 255.6 kB / 2.588 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.459/13.74, allocations: 2.812 kB / 2.588 GB, free: 55.01 MB / 0.5573 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat does not exist to compare? outputFormat=mat