Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.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.Vessels.TestTankWithTopPorts,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestTankWithTopPorts",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestTankWithTopPorts",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.001838/0.001838, allocations: 183.6 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.979/1.979, allocations: 205.2 MB / 218.9 MB, free: 9.195 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.00115/0.001151, allocations: 92.97 kB / 267.1 MB, free: 9.273 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.5879/0.5879, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.793e-05/3.804e-05, allocations: 0 / 425.4 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1901, allocations: 58.84 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.09/8.281, allocations: 2.765 GB / 3.238 GB, free: 127.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/8.281, allocations: 88.17 kB / 3.238 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.424/10.71, allocations: 0.5534 GB / 3.792 GB, free: 37.94 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.557e-06/10.71, allocations: 0 / 3.792 GB, free: 37.94 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.347e-05/10.71, allocations: 27.97 kB / 3.792 GB, free: 37.94 MB / 0.5105 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.008208/10.71, allocations: 2.038 MB / 3.794 GB, free: 37.21 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/10.71, allocations: 12.75 kB / 3.794 GB, free: 37.21 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001925/10.71, allocations: 142.1 kB / 3.794 GB, free: 37.17 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002244/10.72, allocations: 320.8 kB / 3.794 GB, free: 37.12 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/10.72, allocations: 0.6798 MB / 3.795 GB, free: 36.86 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001985/10.72, allocations: 296.3 kB / 3.795 GB, free: 36.61 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/10.72, allocations: 87.78 kB / 3.795 GB, free: 36.61 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002751/10.72, allocations: 1.49 MB / 3.797 GB, free: 36.33 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/10.72, allocations: 5.094 kB / 3.797 GB, free: 36.33 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/10.72, allocations: 38.97 kB / 3.797 GB, free: 36.33 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.011e-05/10.72, allocations: 48.91 kB / 3.797 GB, free: 36.32 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002331/10.72, allocations: 1.282 MB / 3.798 GB, free: 36.31 MB / 0.5105 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.007996/10.73, allocations: 6.388 MB / 3.804 GB, free: 32.26 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002157/10.73, allocations: 0.9029 MB / 3.805 GB, free: 32.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005096/10.73, allocations: 389.6 kB / 3.805 GB, free: 32.18 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03003/10.76, allocations: 15.6 MB / 3.821 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/10.76, allocations: 46.14 kB / 3.821 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=59): time 3.657e-06/10.76, allocations: 1.969 kB / 3.821 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=64): time 0.007075/10.77, allocations: 2.501 MB / 3.823 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.867e-05/10.77, allocations: 165.1 kB / 3.823 GB, free: 22.03 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/10.77, allocations: 0.7106 MB / 3.824 GB, free: 21.89 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.566e-05/10.77, allocations: 50.53 kB / 3.824 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003914/10.77, allocations: 439.3 kB / 3.824 GB, free: 21.66 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/10.77, allocations: 213.2 kB / 3.825 GB, free: 21.54 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/10.77, allocations: 21.34 kB / 3.825 GB, free: 21.54 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001958/10.77, allocations: 397.8 kB / 3.825 GB, free: 21.22 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006996/10.77, allocations: 381.1 kB / 3.825 GB, free: 21.22 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008454/10.78, allocations: 0.6025 MB / 3.826 GB, free: 20.97 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006825/10.78, allocations: 403.3 kB / 3.826 GB, free: 20.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/10.78, allocations: 2.75 kB / 3.826 GB, free: 20.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002132/10.78, allocations: 1.102 MB / 3.827 GB, free: 20.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/10.78, allocations: 7.156 kB / 3.827 GB, free: 20.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/10.78, allocations: 7.25 kB / 3.827 GB, free: 20.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004087/10.78, allocations: 98.8 kB / 3.828 GB, free: 20.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003578/10.78, allocations: 411.7 kB / 3.828 GB, free: 20.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007421/10.79, allocations: 6.411 MB / 3.834 GB, free: 31.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/10.79, allocations: 137.8 kB / 3.834 GB, free: 31.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/10.79, allocations: 43.59 kB / 3.834 GB, free: 31.05 MB / 0.5261 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.000374/10.79, allocations: 172.1 kB / 3.835 GB, free: 30.94 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002214/10.79, allocations: 86.94 kB / 3.835 GB, free: 30.89 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00332/10.8, allocations: 2.131 MB / 3.837 GB, free: 30.61 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.443e-05/10.8, allocations: 22.25 kB / 3.837 GB, free: 30.61 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/10.8, allocations: 0.5 kB / 3.837 GB, free: 30.61 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/10.8, allocations: 4.766 kB / 3.837 GB, free: 30.61 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005502/10.8, allocations: 3.378 MB / 3.84 GB, free: 30.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/10.8, allocations: 3.625 kB / 3.84 GB, free: 30.19 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003241/10.8, allocations: 370.2 kB / 3.84 GB, free: 30.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003671/10.8, allocations: 100 kB / 3.84 GB, free: 30.18 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.667e-05/10.8, allocations: 31.67 kB / 3.84 GB, free: 30.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006374/10.81, allocations: 6.378 MB / 3.847 GB, free: 24.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/10.81, allocations: 2.938 kB / 3.847 GB, free: 24.38 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002984/10.81, allocations: 2.063 MB / 3.849 GB, free: 23.93 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006442/10.81, allocations: 345.4 kB / 3.849 GB, free: 23.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001882/10.81, allocations: 31.11 kB / 3.849 GB, free: 23.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009105/10.82, allocations: 116.1 kB / 3.849 GB, free: 23.73 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002952/10.82, allocations: 129.4 kB / 3.849 GB, free: 23.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.406e-05/10.82, allocations: 29.97 kB / 3.849 GB, free: 23.73 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001338/10.82, allocations: 0.863 MB / 3.85 GB, free: 23.61 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.305e-06/10.82, allocations: 2.844 kB / 3.85 GB, free: 23.61 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007137/10.82, allocations: 1.308 MB / 3.851 GB, free: 23.45 MB / 0.5261 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.01275/10.84, allocations: 4.741 MB / 3.856 GB, free: 21.92 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004432/10.84, allocations: 1.174 MB / 3.857 GB, free: 21.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/10.84, allocations: 5.031 kB / 3.857 GB, free: 21.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00325/10.85, allocations: 0.8572 MB / 3.858 GB, free: 21.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003339/10.85, allocations: 0.5273 MB / 3.859 GB, free: 21.88 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0095/10.86, allocations: 2.561 MB / 3.861 GB, free: 21.21 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/10.86, allocations: 1.245 MB / 3.862 GB, free: 20.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001498/10.86, allocations: 489.2 kB / 3.863 GB, free: 20.49 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008428/10.86, allocations: 488.6 kB / 3.863 GB, free: 20.49 MB / 0.5261 GB Notification: Performance of SimCode: time 1.473e-06/10.86, allocations: 0 / 3.863 GB, free: 20.49 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.121/10.98, allocations: 69.2 MB / 3.931 GB, free: 16.38 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002518/10.98, allocations: 243.8 kB / 3.931 GB, free: 16.07 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.415/15.4, allocations: 0 / 3.931 GB, free: 16.07 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestTankWithTopPorts_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestTankWithTopPorts.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts_res.mat does not exist to compare? outputFormat=mat