Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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_roundTube,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001793/0.001793, allocations: 179 kB / 8.007 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009347/0.0009346, allocations: 90.62 kB / 261.8 MB, free: 1.684 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.2395/0.2395, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.852e-05/1.854e-05, allocations: 0 / 418.4 MB, free: 28.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1508, allocations: 58.86 MB / 477.2 MB, free: 1.52 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4612/0.6121, allocations: 100.3 MB / 0.564 GB, free: 11.05 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.6124, allocations: 98.06 kB / 0.5641 GB, free: 10.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03547/0.6479, allocations: 12.08 MB / 0.5759 GB, free: 1.242 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.6479, allocations: 0 / 0.5759 GB, free: 1.242 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.003e-05/0.6479, allocations: 8 kB / 0.5759 GB, free: 1.234 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.000999/0.6489, allocations: 0.5847 MB / 0.5765 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.937e-05/0.649, allocations: 8.031 kB / 0.5765 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.154e-05/0.6491, allocations: 43.48 kB / 0.5765 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/0.6494, allocations: 244.4 kB / 0.5768 GB, free: 316 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.6495, allocations: 8 kB / 0.5768 GB, free: 308 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.345e-05/0.6495, allocations: 20 kB / 0.5768 GB, free: 288 kB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003384/0.6499, allocations: 209.5 kB / 0.577 GB, free: 164 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004714/0.6503, allocations: 301.9 kB / 0.5773 GB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.6504, allocations: 0 / 0.5773 GB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.6504, allocations: 3.938 kB / 0.5773 GB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/0.6504, allocations: 11.95 kB / 0.5773 GB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/0.6517, allocations: 0.787 MB / 0.5781 GB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.6519, allocations: 80.19 kB / 0.5782 GB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.268e-05/0.652, allocations: 31.72 kB / 0.5782 GB, free: 15.15 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.579e-05/0.652, allocations: 4 kB / 0.5782 GB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.652, allocations: 34.5 kB / 0.5782 GB, free: 15.1 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.652, allocations: 0 / 0.5782 GB, free: 15.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003327/0.6524, allocations: 111.9 kB / 0.5783 GB, free: 15 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.6524, allocations: 59.41 kB / 0.5784 GB, free: 14.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.6527, allocations: 223.2 kB / 0.5786 GB, free: 14.74 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.6527, allocations: 25.7 kB / 0.5786 GB, free: 14.71 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.6529, allocations: 255.4 kB / 0.5789 GB, free: 14.49 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.6529, allocations: 38.61 kB / 0.5789 GB, free: 14.46 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.157e-05/0.6529, allocations: 0 / 0.5789 GB, free: 14.46 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.6531, allocations: 333.6 kB / 0.5792 GB, free: 14.13 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.998e-05/0.6532, allocations: 39.28 kB / 0.5793 GB, free: 14.1 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.6534, allocations: 231.3 kB / 0.5795 GB, free: 13.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.6535, allocations: 81.86 kB / 0.5796 GB, free: 13.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.6536, allocations: 4 kB / 0.5796 GB, free: 13.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004082/0.654, allocations: 258.9 kB / 0.5798 GB, free: 13.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.654, allocations: 8 kB / 0.5798 GB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.826e-05/0.6541, allocations: 32.05 kB / 0.5798 GB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.6541, allocations: 12 kB / 0.5799 GB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.6543, allocations: 59.34 kB / 0.5799 GB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-05/0.6544, allocations: 11.94 kB / 0.5799 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.6546, allocations: 35.67 kB / 0.58 GB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/0.6546, allocations: 20 kB / 0.58 GB, free: 13.32 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_3.geometry,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 (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001039/0.6547, allocations: 125.8 kB / 0.5801 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002168/0.6549, allocations: 123.8 kB / 0.5802 GB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.655, allocations: 19.72 kB / 0.5802 GB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003819/0.6554, allocations: 173.5 kB / 0.5804 GB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.6554, allocations: 0 / 0.5804 GB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.6554, allocations: 0 / 0.5804 GB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.6554, allocations: 3.984 kB / 0.5804 GB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003223/0.6557, allocations: 257.2 kB / 0.5807 GB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.448e-05/0.6558, allocations: 23.98 kB / 0.5807 GB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.831e-05/0.6558, allocations: 8 kB / 0.5807 GB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.6559, allocations: 0 / 0.5807 GB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.6559, allocations: 7.984 kB / 0.5807 GB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.6559, allocations: 4 kB / 0.5807 GB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.6559, allocations: 0 / 0.5807 GB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.6562, allocations: 217 kB / 0.5809 GB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.884e-05/0.6562, allocations: 96.83 kB / 0.581 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.6563, allocations: 3.938 kB / 0.581 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.6564, allocations: 11.98 kB / 0.581 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.6565, allocations: 4 kB / 0.581 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.6565, allocations: 7.984 kB / 0.581 GB, free: 12.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001326/0.6566, allocations: 158.4 kB / 0.5812 GB, free: 12.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6566, allocations: 0 / 0.5812 GB, free: 12.11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007447/0.6574, allocations: 146.7 kB / 0.5813 GB, free: 11.97 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 (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001024/0.6584, allocations: 0.9166 MB / 0.5822 GB, free: 11.05 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005065/0.6589, allocations: 276.5 kB / 0.5825 GB, free: 10.78 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.6589, allocations: 4 kB / 0.5825 GB, free: 10.78 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002391/0.6592, allocations: 169.3 kB / 0.5826 GB, free: 10.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.6594, allocations: 12.14 kB / 0.5826 GB, free: 10.59 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.6605, allocations: 421.9 kB / 0.583 GB, free: 10.15 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.6609, allocations: 0.7944 MB / 0.5838 GB, free: 9.328 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.113e-05/0.661, allocations: 17.8 kB / 0.5838 GB, free: 9.312 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.6611, allocations: 103 kB / 0.5839 GB, free: 9.289 MB / 394.7 MB Notification: Performance of SimCode: time 2.1e-07/0.6611, allocations: 0 / 0.5839 GB, free: 9.289 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03158/0.6927, allocations: 8.855 MB / 0.5926 GB, free: 440 kB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/0.693, allocations: 189.3 kB / 0.5928 GB, free: 240 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.373/3.066, allocations: 3.938 kB / 0.5928 GB, free: 236 kB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat does not exist to compare? outputFormat=mat