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_flatTube_KC.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_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",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.001026/0.001026, allocations: 177.6 kB / 8.002 MB, free: 1.07 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.766/1.766, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.0008589/0.0008589, allocations: 79.91 kB / 261.7 MB, free: 1.691 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.2274/0.2274, allocations: 43.5 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.845e-05/1.846e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1331, allocations: 58.87 MB / 477.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4871/0.6203, allocations: 91.67 MB / 0.5556 GB, free: 3.465 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.6206, allocations: 101.2 kB / 0.5557 GB, free: 3.406 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01666/0.6373, allocations: 6.704 MB / 0.5622 GB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.669e-06/0.6374, allocations: 4 kB / 0.5622 GB, free: 13.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.6374, allocations: 2.5 kB / 0.5622 GB, free: 13.94 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005517/0.6379, allocations: 471.9 kB / 0.5627 GB, free: 13.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.638, allocations: 12.03 kB / 0.5627 GB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.557e-05/0.6381, allocations: 23.72 kB / 0.5627 GB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.6383, allocations: 224.8 kB / 0.5629 GB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.6383, allocations: 12 kB / 0.5629 GB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.6384, allocations: 12 kB / 0.5629 GB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003339/0.6387, allocations: 205.9 kB / 0.5631 GB, free: 13.01 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.639, allocations: 182.7 kB / 0.5633 GB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.639, allocations: 0 / 0.5633 GB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.639, allocations: 0 / 0.5633 GB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.6391, allocations: 4 kB / 0.5633 GB, free: 12.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009017/0.64, allocations: 0.5636 MB / 0.5639 GB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.6403, allocations: 87.92 kB / 0.5639 GB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.337e-05/0.6403, allocations: 24.23 kB / 0.564 GB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.6404, allocations: 3.984 kB / 0.564 GB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.6404, allocations: 41.98 kB / 0.564 GB, free: 12.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.6404, allocations: 4 kB / 0.564 GB, free: 12.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002798/0.6407, allocations: 96.56 kB / 0.5641 GB, free: 12.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.6408, allocations: 51.41 kB / 0.5642 GB, free: 12.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.6409, allocations: 172.3 kB / 0.5643 GB, free: 11.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.641, allocations: 25.7 kB / 0.5643 GB, free: 11.85 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.6411, allocations: 179.5 kB / 0.5645 GB, free: 11.69 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.6411, allocations: 30.86 kB / 0.5645 GB, free: 11.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.729e-06/0.6411, allocations: 0 / 0.5645 GB, free: 11.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.6413, allocations: 333.9 kB / 0.5649 GB, free: 11.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.686e-05/0.6414, allocations: 34.62 kB / 0.5649 GB, free: 11.31 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.6415, allocations: 125.6 kB / 0.565 GB, free: 11.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.094e-05/0.6416, allocations: 57.78 kB / 0.5651 GB, free: 11.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.6416, allocations: 7.953 kB / 0.5651 GB, free: 11.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002854/0.6419, allocations: 177.1 kB / 0.5653 GB, free: 10.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.642, allocations: 4.438 kB / 0.5653 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.642, allocations: 8 kB / 0.5653 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.642, allocations: 4 kB / 0.5653 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003646/0.6424, allocations: 83.89 kB / 0.5653 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006906/0.6431, allocations: 1.218 MB / 0.5665 GB, free: 9.598 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.6433, allocations: 30.86 kB / 0.5666 GB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.6433, allocations: 12 kB / 0.5666 GB, free: 9.559 MB / 378.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.505e-05/0.6434, allocations: 108.9 kB / 0.5667 GB, free: 9.445 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001864/0.6436, allocations: 95.08 kB / 0.5668 GB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.6436, allocations: 19.77 kB / 0.5668 GB, free: 9.336 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003161/0.644, allocations: 137.8 kB / 0.5669 GB, free: 9.211 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.644, allocations: 0 / 0.5669 GB, free: 9.211 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.644, allocations: 0 / 0.5669 GB, free: 9.211 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.644, allocations: 7.969 kB / 0.5669 GB, free: 9.203 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004531/0.6444, allocations: 394 kB / 0.5673 GB, free: 8.797 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.6445, allocations: 0 / 0.5673 GB, free: 8.797 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/0.6447, allocations: 67.08 kB / 0.5674 GB, free: 8.734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.6447, allocations: 4 kB / 0.5674 GB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.6448, allocations: 0 / 0.5674 GB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000681/0.6455, allocations: 1.219 MB / 0.5686 GB, free: 7.484 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.6455, allocations: 4.016 kB / 0.5686 GB, free: 7.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.6457, allocations: 235.4 kB / 0.5688 GB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.749e-05/0.6458, allocations: 92.92 kB / 0.5689 GB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.6458, allocations: 0 / 0.5689 GB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.646, allocations: 15.98 kB / 0.5689 GB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.646, allocations: 4 kB / 0.5689 GB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.646, allocations: 7.984 kB / 0.5689 GB, free: 7.094 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.402e-05/0.6461, allocations: 131.4 kB / 0.569 GB, free: 6.984 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6461, allocations: 0 / 0.569 GB, free: 6.984 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003895/0.6465, allocations: 67.78 kB / 0.5691 GB, free: 6.918 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007813/0.6473, allocations: 0.9824 MB / 0.5701 GB, free: 5.914 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000393/0.6477, allocations: 126.5 kB / 0.5702 GB, free: 5.805 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6477, allocations: 0 / 0.5702 GB, free: 5.805 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.6479, allocations: 60.69 kB / 0.5702 GB, free: 5.754 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.6482, allocations: 10.91 kB / 0.5702 GB, free: 5.746 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006787/0.6489, allocations: 270.8 kB / 0.5705 GB, free: 5.449 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.6492, allocations: 0.7397 MB / 0.5712 GB, free: 4.684 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.116e-05/0.6493, allocations: 13.2 kB / 0.5712 GB, free: 4.672 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.152e-05/0.6494, allocations: 60.92 kB / 0.5713 GB, free: 4.652 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6494, allocations: 0 / 0.5713 GB, free: 4.652 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.6734, allocations: 4.239 MB / 0.5754 GB, free: 428 kB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002082/0.6737, allocations: 191.7 kB / 0.5756 GB, free: 228 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.825/2.498, allocations: 2.438 kB / 0.5756 GB, free: 228 kB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.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_flatTube_KC_res.mat does not exist to compare? outputFormat=mat