Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",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.001516/0.001516, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.086/2.086, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001087/0.001087, allocations: 82.72 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.298/0.298, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.704e-05/3.714e-05, allocations: 4 kB / 425.4 MB, free: 23.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1239, allocations: 58.86 MB / 484.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5017/0.6257, allocations: 94.34 MB / 0.565 GB, free: 8.809 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003993/0.6261, allocations: 102.5 kB / 0.5651 GB, free: 8.746 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03722/0.6634, allocations: 7.864 MB / 0.5728 GB, free: 1.953 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6634, allocations: 0 / 0.5728 GB, free: 1.953 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.897e-05/0.6635, allocations: 4 kB / 0.5728 GB, free: 1.949 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0008293/0.6643, allocations: 469.2 kB / 0.5733 GB, free: 1.461 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/0.6644, allocations: 12.03 kB / 0.5733 GB, free: 1.449 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.679e-05/0.6645, allocations: 49.05 kB / 0.5733 GB, free: 1.402 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.126e-05/0.6645, allocations: 23.72 kB / 0.5734 GB, free: 1.379 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.6649, allocations: 212.6 kB / 0.5736 GB, free: 1.137 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.6649, allocations: 11.56 kB / 0.5736 GB, free: 1.133 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.783e-05/0.6649, allocations: 22.69 kB / 0.5736 GB, free: 1.117 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004523/0.6654, allocations: 196 kB / 0.5738 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.6654, allocations: 0 / 0.5738 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.6655, allocations: 3.938 kB / 0.5738 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.6655, allocations: 4 kB / 0.5738 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002607/0.6658, allocations: 118.8 kB / 0.5739 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.6671, allocations: 0.5842 MB / 0.5745 GB, free: 364 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.6673, allocations: 53.56 kB / 0.5745 GB, free: 308 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.952e-05/0.6674, allocations: 16.11 kB / 0.5745 GB, free: 292 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.106e-05/0.6675, allocations: 4 kB / 0.5745 GB, free: 288 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.6675, allocations: 38.31 kB / 0.5746 GB, free: 244 kB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.535e-06/0.6675, allocations: 0 / 0.5746 GB, free: 244 kB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003204/0.6678, allocations: 80.02 kB / 0.5746 GB, free: 164 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.6679, allocations: 59.39 kB / 0.5747 GB, free: 92 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003585/0.6683, allocations: 215.5 kB / 0.5749 GB, free: 15.9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.6683, allocations: 25.7 kB / 0.5749 GB, free: 15.87 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.6685, allocations: 225.6 kB / 0.5751 GB, free: 15.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.6685, allocations: 22.73 kB / 0.5752 GB, free: 15.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.093e-05/0.6686, allocations: 0 / 0.5752 GB, free: 15.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.6687, allocations: 326.7 kB / 0.5755 GB, free: 15.33 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.326e-05/0.6688, allocations: 22.38 kB / 0.5755 GB, free: 15.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/0.669, allocations: 117 kB / 0.5756 GB, free: 15.17 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.6692, allocations: 46.86 kB / 0.5757 GB, free: 15.13 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.6692, allocations: 0 / 0.5757 GB, free: 15.13 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004342/0.6696, allocations: 168 kB / 0.5758 GB, free: 14.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.6697, allocations: 8 kB / 0.5758 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-05/0.6697, allocations: 12 kB / 0.5758 GB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/0.6698, allocations: 4 kB / 0.5758 GB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002956/0.6701, allocations: 35.91 kB / 0.5759 GB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.6701, allocations: 4 kB / 0.5759 GB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/0.6704, allocations: 35.31 kB / 0.5759 GB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.57e-05/0.6704, allocations: 20.06 kB / 0.5759 GB, free: 14.87 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * 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 0.000121/0.6706, allocations: 121 kB / 0.576 GB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.17e-05/0.6706, allocations: 15.81 kB / 0.5761 GB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004512/0.6711, allocations: 117.2 kB / 0.5762 GB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.6711, allocations: 0 / 0.5762 GB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.6711, allocations: 144 / 0.5762 GB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.6712, allocations: 7.922 kB / 0.5762 GB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003631/0.6715, allocations: 221.9 kB / 0.5764 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.249e-05/0.6716, allocations: 11.94 kB / 0.5764 GB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.6717, allocations: 11.98 kB / 0.5764 GB, free: 14.35 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.6717, allocations: 0 / 0.5764 GB, free: 14.35 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.6718, allocations: 4 kB / 0.5764 GB, free: 14.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.6718, allocations: 4 kB / 0.5764 GB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6718, allocations: 0 / 0.5764 GB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.6721, allocations: 186.8 kB / 0.5766 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.407e-05/0.6722, allocations: 88.92 kB / 0.5767 GB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.614e-05/0.6723, allocations: 4 kB / 0.5767 GB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.6725, allocations: 11.98 kB / 0.5767 GB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.092e-05/0.6725, allocations: 8 kB / 0.5767 GB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.6726, allocations: 4 kB / 0.5767 GB, free: 14.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000259/0.6728, allocations: 180.9 kB / 0.5769 GB, free: 13.88 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6728, allocations: 0 / 0.5769 GB, free: 13.88 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006463/0.6735, allocations: 79.81 kB / 0.577 GB, free: 13.8 MB / 394.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.001234/0.6747, allocations: 0.8239 MB / 0.5778 GB, free: 12.96 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005537/0.6753, allocations: 146.8 kB / 0.5779 GB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.6753, allocations: 0 / 0.5779 GB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002389/0.6756, allocations: 97.39 kB / 0.578 GB, free: 12.72 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.676, allocations: 20.02 kB / 0.578 GB, free: 12.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.6772, allocations: 305.1 kB / 0.5783 GB, free: 12.38 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/0.6776, allocations: 0.7363 MB / 0.579 GB, free: 11.62 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.6778, allocations: 56.73 kB / 0.5791 GB, free: 11.6 MB / 394.7 MB Notification: Performance of SimCode: time 1.203e-06/0.6778, allocations: 3.938 kB / 0.5791 GB, free: 11.59 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.899/3.576, allocations: 5.35 MB / 0.5843 GB, free: 6.266 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat does not exist to compare? outputFormat=mat