Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",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.001131/0.001131, allocations: 173 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 221.5 MB / 230.7 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008278/0.0008279, allocations: 93.78 kB / 281.6 MB, free: 5.324 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.2132/0.2132, allocations: 44.14 MB / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.017e-05/3.001e-05, allocations: 4.219 kB / 444.8 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1491, allocations: 61.91 MB / 0.4948 GB, free: 1.145 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4583/0.6075, allocations: 99.74 MB / 0.5922 GB, free: 12.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/0.6078, allocations: 95.94 kB / 0.5923 GB, free: 12.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03081/0.6386, allocations: 10.34 MB / 0.6024 GB, free: 2.262 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.6387, allocations: 0 / 0.6024 GB, free: 2.262 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.6387, allocations: 4 kB / 0.6024 GB, free: 2.258 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007702/0.6395, allocations: 494.3 kB / 0.6029 GB, free: 1.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.6395, allocations: 11.98 kB / 0.6029 GB, free: 1.719 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.147e-05/0.6396, allocations: 27.72 kB / 0.6029 GB, free: 1.691 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.6398, allocations: 207.3 kB / 0.6031 GB, free: 1.445 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.6399, allocations: 4 kB / 0.6031 GB, free: 1.441 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.6399, allocations: 12 kB / 0.6031 GB, free: 1.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002058/0.6401, allocations: 124.8 kB / 0.6032 GB, free: 1.309 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/0.6404, allocations: 214.7 kB / 0.6034 GB, free: 1.074 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.6404, allocations: 0 / 0.6034 GB, free: 1.074 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.6405, allocations: 4 kB / 0.6034 GB, free: 1.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.6405, allocations: 4 kB / 0.6034 GB, free: 1.066 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.6416, allocations: 0.8653 MB / 0.6043 GB, free: 148 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.6417, allocations: 42.58 kB / 0.6043 GB, free: 96 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.283e-05/0.6418, allocations: 20.95 kB / 0.6043 GB, free: 72 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.6418, allocations: 0 / 0.6043 GB, free: 72 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.6418, allocations: 34.56 kB / 0.6044 GB, free: 28 kB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.6418, allocations: 0 / 0.6044 GB, free: 28 kB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002401/0.6421, allocations: 77.67 kB / 0.6045 GB, free: 15.94 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.6421, allocations: 55.34 kB / 0.6045 GB, free: 15.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.6423, allocations: 178 kB / 0.6047 GB, free: 15.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.6423, allocations: 25.7 kB / 0.6047 GB, free: 15.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.6425, allocations: 183.3 kB / 0.6049 GB, free: 15.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.6425, allocations: 23.73 kB / 0.6049 GB, free: 15.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-06/0.6425, allocations: 0 / 0.6049 GB, free: 15.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.6426, allocations: 322.8 kB / 0.6052 GB, free: 15.13 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.878e-05/0.6427, allocations: 32.23 kB / 0.6052 GB, free: 15.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.6429, allocations: 168.2 kB / 0.6054 GB, free: 14.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.997e-05/0.643, allocations: 51.91 kB / 0.6054 GB, free: 14.81 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.643, allocations: 3.781 kB / 0.6055 GB, free: 14.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002942/0.6433, allocations: 201.6 kB / 0.6056 GB, free: 14.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.6433, allocations: 8.125 kB / 0.6057 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.989e-05/0.6433, allocations: 20 kB / 0.6057 GB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.6434, allocations: 8 kB / 0.6057 GB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.6435, allocations: 47.91 kB / 0.6057 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/0.6436, allocations: 11.94 kB / 0.6057 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.6437, allocations: 27.77 kB / 0.6058 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.6437, allocations: 12 kB / 0.6058 GB, free: 14.48 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.115e-05/0.6438, allocations: 126.2 kB / 0.6059 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001327/0.644, allocations: 77.5 kB / 0.606 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.189e-05/0.644, allocations: 15.81 kB / 0.606 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002335/0.6443, allocations: 119 kB / 0.6061 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.6443, allocations: 0 / 0.6061 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.6443, allocations: 0 / 0.6061 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.6443, allocations: 0 / 0.6061 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.6445, allocations: 198.1 kB / 0.6063 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.173e-05/0.6445, allocations: 15.98 kB / 0.6063 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.571e-05/0.6446, allocations: 8 kB / 0.6063 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.6446, allocations: 0 / 0.6063 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.6446, allocations: 7.984 kB / 0.6063 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6446, allocations: 4 kB / 0.6063 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6446, allocations: 0 / 0.6063 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.6448, allocations: 171.3 kB / 0.6065 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.6449, allocations: 88.92 kB / 0.6066 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.6449, allocations: 0 / 0.6066 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.645, allocations: 11.98 kB / 0.6066 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.6451, allocations: 8 kB / 0.6066 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.6451, allocations: 7.984 kB / 0.6066 GB, free: 13.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.757e-05/0.6452, allocations: 132.6 kB / 0.6067 GB, free: 13.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6452, allocations: 0 / 0.6067 GB, free: 13.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000521/0.6457, allocations: 111.8 kB / 0.6068 GB, free: 13.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007288/0.6464, allocations: 0.8529 MB / 0.6077 GB, free: 12.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003044/0.6468, allocations: 152.6 kB / 0.6078 GB, free: 12.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6468, allocations: 0 / 0.6078 GB, free: 12.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.6469, allocations: 91.39 kB / 0.6079 GB, free: 12.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.6471, allocations: 8.781 kB / 0.6079 GB, free: 12.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006879/0.6478, allocations: 278.8 kB / 0.6082 GB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.6481, allocations: 0.7397 MB / 0.6089 GB, free: 11.08 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.051e-05/0.6482, allocations: 21.19 kB / 0.6089 GB, free: 11.06 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.558e-05/0.6483, allocations: 55.42 kB / 0.609 GB, free: 11.01 MB / 426.7 MB Notification: Performance of SimCode: time 3.01e-07/0.6483, allocations: 0 / 0.609 GB, free: 11.01 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02902/0.6773, allocations: 6.695 MB / 0.6155 GB, free: 4.332 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002502/0.6776, allocations: 194.3 kB / 0.6157 GB, free: 4.133 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.915/2.592, allocations: 0 / 0.6157 GB, free: 4.133 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat does not exist to compare? outputFormat=mat