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.001076/0.001076, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 225.4 MB / 240.1 MB, free: 15.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008912/0.0008913, allocations: 94.89 kB / 292.1 MB, free: 5.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2004/0.2004, allocations: 45.15 MB / 389.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.407e-05/3.417e-05, allocations: 7.984 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1091, allocations: 63.25 MB / 0.5115 GB, free: 6.699 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.475/5.584, allocations: 2.772 GB / 3.283 GB, free: 16.64 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001869/5.584, allocations: 86.58 kB / 3.283 GB, free: 16.59 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.746/7.331, allocations: 0.5594 GB / 3.842 GB, free: 65.84 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.503e-06/7.331, allocations: 0 / 3.842 GB, free: 65.84 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.25e-05/7.331, allocations: 28.69 kB / 3.843 GB, free: 65.84 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.006101/7.337, allocations: 2.045 MB / 3.845 GB, free: 64.8 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/7.337, allocations: 10.81 kB / 3.845 GB, free: 64.8 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002772/7.337, allocations: 133.1 kB / 3.845 GB, free: 64.71 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002313/7.34, allocations: 320.1 kB / 3.845 GB, free: 64.65 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/7.341, allocations: 0.6792 MB / 3.846 GB, free: 64.24 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/7.341, allocations: 303.4 kB / 3.846 GB, free: 63.95 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/7.341, allocations: 84.31 kB / 3.846 GB, free: 63.93 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00258/7.344, allocations: 1.492 MB / 3.847 GB, free: 63.26 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/7.344, allocations: 3.906 kB / 3.847 GB, free: 63.26 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/7.344, allocations: 38.62 kB / 3.847 GB, free: 63.23 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.755e-05/7.344, allocations: 38.56 kB / 3.848 GB, free: 63.23 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00217/7.346, allocations: 1.281 MB / 3.849 GB, free: 62.86 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.006595/7.353, allocations: 6.399 MB / 3.855 GB, free: 58.06 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002072/7.355, allocations: 0.9034 MB / 3.856 GB, free: 57.76 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004554/7.355, allocations: 391.6 kB / 3.856 GB, free: 57.61 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02751/7.383, allocations: 17.04 MB / 3.873 GB, free: 46.16 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/7.383, allocations: 46.81 kB / 3.873 GB, free: 46.11 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=59): time 2.405e-06/7.383, allocations: 0 / 3.873 GB, free: 46.11 MB / 0.5417 GB Notification: Performance of matching and sorting (n=64): time 0.005904/7.389, allocations: 2.5 MB / 3.875 GB, free: 45.04 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/7.389, allocations: 172 kB / 3.876 GB, free: 44.84 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008077/7.39, allocations: 0.7148 MB / 3.876 GB, free: 44.55 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.148e-05/7.39, allocations: 48.2 kB / 3.876 GB, free: 44.5 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/7.39, allocations: 436.2 kB / 3.877 GB, free: 44.16 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/7.39, allocations: 214.4 kB / 3.877 GB, free: 44.01 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/7.39, allocations: 23.78 kB / 3.877 GB, free: 43.99 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001043/7.39, allocations: 397.6 kB / 3.877 GB, free: 43.64 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005051/7.391, allocations: 373 kB / 3.878 GB, free: 43.51 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000603/7.392, allocations: 0.6012 MB / 3.878 GB, free: 43.1 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004934/7.392, allocations: 409.3 kB / 3.879 GB, free: 42.96 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/7.392, allocations: 0 / 3.879 GB, free: 42.96 MB / 0.5417 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001539/7.394, allocations: 1.1 MB / 3.88 GB, free: 42.53 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/7.394, allocations: 8.25 kB / 3.88 GB, free: 42.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/7.394, allocations: 7.438 kB / 3.88 GB, free: 42.53 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003015/7.394, allocations: 94.14 kB / 3.88 GB, free: 42.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003241/7.397, allocations: 410.2 kB / 3.88 GB, free: 42.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00459/7.402, allocations: 6.408 MB / 3.886 GB, free: 36.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/7.403, allocations: 142.3 kB / 3.887 GB, free: 36.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/7.403, allocations: 41.39 kB / 3.887 GB, free: 36.26 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 () * 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.0002523/7.403, allocations: 171.7 kB / 3.887 GB, free: 36.11 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002209/7.404, allocations: 92.33 kB / 3.887 GB, free: 36.06 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/7.406, allocations: 2.132 MB / 3.889 GB, free: 35.05 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/7.406, allocations: 20.5 kB / 3.889 GB, free: 35.05 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/7.406, allocations: 4.031 kB / 3.889 GB, free: 35.04 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/7.406, allocations: 3.844 kB / 3.889 GB, free: 35.04 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003918/7.41, allocations: 3.375 MB / 3.892 GB, free: 33.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/7.41, allocations: 3.875 kB / 3.892 GB, free: 33.53 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003102/7.413, allocations: 366.3 kB / 3.893 GB, free: 33.51 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003105/7.413, allocations: 109.3 kB / 3.893 GB, free: 33.47 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.134e-05/7.413, allocations: 14.58 kB / 3.893 GB, free: 33.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004424/7.418, allocations: 6.378 MB / 3.899 GB, free: 27.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/7.418, allocations: 11.89 kB / 3.899 GB, free: 27.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002152/7.42, allocations: 2.059 MB / 3.901 GB, free: 25.45 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004063/7.42, allocations: 340.5 kB / 3.901 GB, free: 25.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001987/7.421, allocations: 38.83 kB / 3.901 GB, free: 25.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008564/7.422, allocations: 123.6 kB / 3.902 GB, free: 25.02 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002355/7.422, allocations: 124.5 kB / 3.902 GB, free: 24.96 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.609e-05/7.422, allocations: 29.77 kB / 3.902 GB, free: 24.93 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009344/7.423, allocations: 0.8683 MB / 3.903 GB, free: 24.14 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/7.423, allocations: 0 / 3.903 GB, free: 24.14 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004867/7.428, allocations: 1.315 MB / 3.904 GB, free: 22.86 MB / 0.5417 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]) * 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.01008/7.438, allocations: 4.746 MB / 3.908 GB, free: 18.71 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003739/7.442, allocations: 1.176 MB / 3.91 GB, free: 17.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/7.442, allocations: 4 kB / 3.91 GB, free: 17.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002928/7.444, allocations: 0.8517 MB / 3.91 GB, free: 16.99 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002802/7.447, allocations: 0.5273 MB / 3.911 GB, free: 16.61 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006016/7.453, allocations: 2.572 MB / 3.913 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005138/7.454, allocations: 1.246 MB / 3.915 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0009537/7.455, allocations: 487.5 kB / 3.915 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000488/7.455, allocations: 485.1 kB / 3.916 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of SimCode: time 6.91e-07/7.455, allocations: 4 kB / 3.916 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3548/7.81, allocations: 69.29 MB / 3.983 GB, free: 76.54 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001269/7.81, allocations: 235.2 kB / 3.983 GB, free: 76.23 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.779/11.59, allocations: 0 / 3.983 GB, free: 76.23 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