Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestTankWithTopPorts",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestTankWithTopPorts",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002536/0.002536, allocations: 198.2 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.599/1.599, allocations: 227.2 MB / 245 MB, free: 5.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001294/0.001294, allocations: 100.6 kB / 297.3 MB, free: 5.988 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4793/0.4793, allocations: 45.23 MB / 394.6 MB, free: 31.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004307/0.0004307, allocations: 8 kB / 468.5 MB, free: 7.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3774, allocations: 63.24 MB / 0.5193 GB, free: 37.58 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.506/6.883, allocations: 2.772 GB / 3.291 GB, free: 121.7 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003283/6.884, allocations: 96.66 kB / 3.291 GB, free: 121.7 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.82/9.704, allocations: 0.5609 GB / 3.852 GB, free: 48.1 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.504e-06/9.704, allocations: 5.688 kB / 3.852 GB, free: 48.1 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.895e-05/9.704, allocations: 26.58 kB / 3.852 GB, free: 48.1 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.009319/9.714, allocations: 2.131 MB / 3.854 GB, free: 47.37 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.272e-05/9.714, allocations: 9.188 kB / 3.854 GB, free: 47.37 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002581/9.714, allocations: 145.1 kB / 3.854 GB, free: 47.33 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002291/9.716, allocations: 319.8 kB / 3.854 GB, free: 47.28 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/9.718, allocations: 0.6784 MB / 3.855 GB, free: 47.04 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002552/9.718, allocations: 302.6 kB / 3.855 GB, free: 46.78 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/9.718, allocations: 79.94 kB / 3.856 GB, free: 46.78 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003336/9.722, allocations: 1.525 MB / 3.857 GB, free: 46.5 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.418e-05/9.722, allocations: 6.094 kB / 3.857 GB, free: 46.5 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/9.722, allocations: 40.69 kB / 3.857 GB, free: 46.5 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.708e-05/9.722, allocations: 45.42 kB / 3.857 GB, free: 46.5 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003338/9.725, allocations: 1.368 MB / 3.858 GB, free: 46.49 MB / 0.5417 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.01144/9.737, allocations: 6.409 MB / 3.865 GB, free: 42.43 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00351/9.74, allocations: 1.001 MB / 3.866 GB, free: 42.37 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03716/9.777, allocations: 16.99 MB / 3.882 GB, free: 31.48 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.428e-05/9.778, allocations: 43.91 kB / 3.882 GB, free: 31.44 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=59): time 2.705e-06/9.778, allocations: 0 / 3.882 GB, free: 31.44 MB / 0.5417 GB Notification: Performance of matching and sorting (n=64): time 0.01216/9.79, allocations: 3.023 MB / 3.885 GB, free: 30.9 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.065e-05/9.79, allocations: 165.9 kB / 3.885 GB, free: 30.71 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/9.791, allocations: 0.7209 MB / 3.886 GB, free: 30.58 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000157/9.791, allocations: 45.73 kB / 3.886 GB, free: 30.55 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004092/9.792, allocations: 441.7 kB / 3.887 GB, free: 30.35 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002631/9.792, allocations: 210.7 kB / 3.887 GB, free: 30.23 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.548e-05/9.792, allocations: 20.78 kB / 3.887 GB, free: 30.23 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001838/9.792, allocations: 401.4 kB / 3.887 GB, free: 29.91 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009348/9.793, allocations: 442.4 kB / 3.888 GB, free: 29.91 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/9.794, allocations: 0.673 MB / 3.888 GB, free: 29.66 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009994/9.795, allocations: 463.4 kB / 3.889 GB, free: 29.65 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/9.796, allocations: 0 / 3.889 GB, free: 29.65 MB / 0.5417 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002679/9.798, allocations: 1.233 MB / 3.89 GB, free: 29.55 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/9.798, allocations: 7 kB / 3.89 GB, free: 29.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/9.798, allocations: 8.844 kB / 3.89 GB, free: 29.55 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004658/9.799, allocations: 91.47 kB / 3.89 GB, free: 29.54 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003862/9.803, allocations: 411.7 kB / 3.89 GB, free: 29.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005831/9.808, allocations: 6.481 MB / 3.897 GB, free: 23.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/9.81, allocations: 140.2 kB / 3.897 GB, free: 23.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002126/9.81, allocations: 40.67 kB / 3.897 GB, free: 23.73 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 21 (tank.heatTransfer.states[1].phase,$PRE.tank.ports_m_flow_out[1],tank.ports_m_flow_out[1],$PRE.tank.ports_m_flow_out[2],tank.ports_m_flow_out[2],$PRE.tank.ports_m_flow_out[3],tank.ports_m_flow_out[3],$PRE.tank.ports_m_flow_out[4],tank.ports_m_flow_out[4],$PRE.tank.aboveLevel[1],tank.aboveLevel[1],$PRE.tank.aboveLevel[2],tank.aboveLevel[2],$PRE.tank.aboveLevel[3],tank.aboveLevel[3],$PRE.tank.aboveLevel[4],tank.aboveLevel[4],massFlowRate[1].medium.phase,massFlowRate[2].medium.phase,Boundary_fixed.medium.phase,Boundary_fixed.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0009163/9.811, allocations: 337.5 kB / 3.897 GB, free: 23.61 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003125/9.812, allocations: 92.34 kB / 3.897 GB, free: 23.57 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003714/9.815, allocations: 2.251 MB / 3.9 GB, free: 23.29 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.101e-05/9.815, allocations: 20.64 kB / 3.9 GB, free: 23.29 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/9.815, allocations: 0 / 3.9 GB, free: 23.29 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/9.815, allocations: 7.562 kB / 3.9 GB, free: 23.29 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006978/9.822, allocations: 3.504 MB / 3.903 GB, free: 22.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/9.822, allocations: 2.531 kB / 3.903 GB, free: 22.87 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003752/9.826, allocations: 371.1 kB / 3.903 GB, free: 22.87 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000428/9.827, allocations: 100.1 kB / 3.903 GB, free: 22.86 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.843e-05/9.827, allocations: 23.06 kB / 3.903 GB, free: 22.86 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007965/9.835, allocations: 6.436 MB / 3.91 GB, free: 33.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/9.835, allocations: 0 / 3.91 GB, free: 33.07 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003925/9.839, allocations: 2.258 MB / 3.912 GB, free: 32.62 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008093/9.84, allocations: 340.6 kB / 3.912 GB, free: 32.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004282/9.84, allocations: 33.72 kB / 3.912 GB, free: 32.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/9.841, allocations: 122.3 kB / 3.912 GB, free: 32.42 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003242/9.842, allocations: 126.3 kB / 3.913 GB, free: 32.42 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.98e-05/9.842, allocations: 31.17 kB / 3.913 GB, free: 32.42 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001498/9.843, allocations: 0.8797 MB / 3.913 GB, free: 32.31 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.8e-07/9.843, allocations: 0 / 3.913 GB, free: 32.31 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007371/9.851, allocations: 1.316 MB / 3.915 GB, free: 32.14 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (tank.medium.h,tank.level) * Number of discrete variables: 20 ($cse3.phase,$cse3.region,$cse7.phase,$cse7.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,tank.heatTransfer.states[1].phase,tank.ports_m_flow_out[1],tank.ports_m_flow_out[2],tank.ports_m_flow_out[3],tank.ports_m_flow_out[4],tank.aboveLevel[1],tank.aboveLevel[2],tank.aboveLevel[3],tank.aboveLevel[4],massFlowRate[1].medium.phase,massFlowRate[2].medium.phase,Boundary_fixed.medium.phase) * Number of discrete states: 8 (tank.aboveLevel[1],tank.ports_m_flow_out[1],tank.aboveLevel[2],tank.ports_m_flow_out[2],tank.aboveLevel[3],tank.ports_m_flow_out[3],tank.aboveLevel[4],tank.ports_m_flow_out[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01554/9.866, allocations: 4.931 MB / 3.92 GB, free: 30.62 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005757/9.872, allocations: 1.307 MB / 3.921 GB, free: 30.61 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/9.872, allocations: 3.5 kB / 3.921 GB, free: 30.61 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003956/9.876, allocations: 0.9218 MB / 3.922 GB, free: 30.59 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003177/9.879, allocations: 0.5258 MB / 3.922 GB, free: 30.58 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02144/9.901, allocations: 11.83 MB / 3.934 GB, free: 24.05 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001282/9.902, allocations: 1.246 MB / 3.935 GB, free: 23.34 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001619/9.904, allocations: 490.2 kB / 3.935 GB, free: 23.33 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008311/9.905, allocations: 484.2 kB / 3.936 GB, free: 23.32 MB / 0.5573 GB Notification: Performance of SimCode: time 2.374e-06/9.905, allocations: 2.5 kB / 3.936 GB, free: 23.32 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1333/10.04, allocations: 65.94 MB / 4 GB, free: 19.96 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/10.04, allocations: 262.5 kB / 4.001 GB, free: 19.61 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5/15.04, allocations: 0 / 4.001 GB, free: 19.61 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestTankWithTopPorts_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestTankWithTopPorts.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts_res.mat does not exist to compare? outputFormat=mat