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_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_cpp_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_cpp_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.002358/0.002358, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.079/2.079, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001128/0.001127, allocations: 92.06 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2954/0.2954, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.864e-05/1.863e-05, allocations: 4.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4124/0.4125, allocations: 58.86 MB / 477.2 MB, free: 5.168 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1755/0.588, allocations: 91.68 MB / 0.5555 GB, free: 7.512 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003817/0.5884, allocations: 91.94 kB / 0.5556 GB, free: 7.422 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03185/0.6203, allocations: 6.713 MB / 0.5622 GB, free: 0.6875 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.6204, allocations: 0 / 0.5622 GB, free: 0.6875 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.6204, allocations: 0 / 0.5622 GB, free: 0.6875 MB / 395.1 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.0006992/0.6211, allocations: 474.8 kB / 0.5626 GB, free: 184 kB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.6212, allocations: 8.031 kB / 0.5627 GB, free: 176 kB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.266e-05/0.6212, allocations: 23.72 kB / 0.5627 GB, free: 152 kB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.6216, allocations: 226.4 kB / 0.5629 GB, free: 15.89 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.6216, allocations: 8 kB / 0.5629 GB, free: 15.88 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.884e-05/0.6217, allocations: 12 kB / 0.5629 GB, free: 15.87 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005111/0.6222, allocations: 212.8 kB / 0.5631 GB, free: 15.66 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004213/0.6226, allocations: 178.4 kB / 0.5633 GB, free: 15.48 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.6227, allocations: 0 / 0.5633 GB, free: 15.48 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.6227, allocations: 0 / 0.5633 GB, free: 15.48 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.6227, allocations: 4 kB / 0.5633 GB, free: 15.48 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.6242, allocations: 0.561 MB / 0.5638 GB, free: 14.88 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004473/0.6246, allocations: 90.73 kB / 0.5639 GB, free: 14.78 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.6248, allocations: 28.84 kB / 0.5639 GB, free: 14.75 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.411e-05/0.6248, allocations: 7.938 kB / 0.564 GB, free: 14.74 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.6248, allocations: 38.56 kB / 0.564 GB, free: 14.69 MB / 411.1 MB Notification: Performance of pre-optimization done (n=9): time 2.354e-06/0.6249, allocations: 0 / 0.564 GB, free: 14.69 MB / 411.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003863/0.6253, allocations: 93.62 kB / 0.5641 GB, free: 14.59 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.6253, allocations: 51.41 kB / 0.5641 GB, free: 14.53 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.6255, allocations: 170.9 kB / 0.5643 GB, free: 14.36 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.6256, allocations: 25.7 kB / 0.5643 GB, free: 14.32 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.6258, allocations: 242 kB / 0.5645 GB, free: 14.09 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.453e-05/0.6258, allocations: 35.55 kB / 0.5646 GB, free: 14.05 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.384e-05/0.6259, allocations: 4 kB / 0.5646 GB, free: 14.05 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.626, allocations: 318.8 kB / 0.5649 GB, free: 13.73 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.6261, allocations: 35.88 kB / 0.5649 GB, free: 13.69 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.6264, allocations: 136.8 kB / 0.5651 GB, free: 13.52 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.6265, allocations: 47.91 kB / 0.5651 GB, free: 13.47 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.6266, allocations: 7.953 kB / 0.5651 GB, free: 13.46 MB / 411.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005003/0.6271, allocations: 169.7 kB / 0.5653 GB, free: 13.29 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.6271, allocations: 12.03 kB / 0.5653 GB, free: 13.28 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.6271, allocations: 0 / 0.5653 GB, free: 13.28 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/0.6272, allocations: 11.98 kB / 0.5653 GB, free: 13.27 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007033/0.6279, allocations: 79.89 kB / 0.5654 GB, free: 13.19 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/0.6289, allocations: 1.219 MB / 0.5666 GB, free: 11.92 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003345/0.6293, allocations: 27.73 kB / 0.5666 GB, free: 11.89 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/0.6293, allocations: 12 kB / 0.5666 GB, free: 11.88 MB / 411.1 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 0.0001272/0.6295, allocations: 108.9 kB / 0.5667 GB, free: 11.77 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003072/0.6298, allocations: 97.42 kB / 0.5668 GB, free: 11.67 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.079e-05/0.6299, allocations: 15.86 kB / 0.5668 GB, free: 11.65 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004743/0.6303, allocations: 139.5 kB / 0.5669 GB, free: 11.51 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.6304, allocations: 4 kB / 0.5669 GB, free: 11.5 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.6304, allocations: 3.984 kB / 0.5669 GB, free: 11.5 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.6304, allocations: 0 / 0.5669 GB, free: 11.5 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007591/0.6312, allocations: 392.6 kB / 0.5673 GB, free: 11.07 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.6312, allocations: 0 / 0.5673 GB, free: 11.07 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005463/0.6317, allocations: 63.89 kB / 0.5674 GB, free: 11 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/0.6318, allocations: 0 / 0.5674 GB, free: 11 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.6318, allocations: 7.938 kB / 0.5674 GB, free: 11 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/0.6328, allocations: 1.223 MB / 0.5686 GB, free: 9.727 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.6329, allocations: 0 / 0.5686 GB, free: 9.727 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003908/0.6333, allocations: 236.6 kB / 0.5688 GB, free: 9.461 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.279e-05/0.6334, allocations: 88.92 kB / 0.5689 GB, free: 9.355 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.6334, allocations: 0 / 0.5689 GB, free: 9.355 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.6337, allocations: 11.98 kB / 0.5689 GB, free: 9.344 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.856e-05/0.6338, allocations: 11.98 kB / 0.5689 GB, free: 9.332 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.6338, allocations: 4 kB / 0.5689 GB, free: 9.328 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0001453/0.634, allocations: 125.6 kB / 0.569 GB, free: 9.207 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.634, allocations: 0 / 0.569 GB, free: 9.207 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0006204/0.6346, allocations: 79.77 kB / 0.5691 GB, free: 9.129 MB / 411.1 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.001185/0.6358, allocations: 0.9865 MB / 0.5701 GB, free: 8.105 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0006866/0.6365, allocations: 123.8 kB / 0.5702 GB, free: 7.984 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.6365, allocations: 4 kB / 0.5702 GB, free: 7.98 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003592/0.6369, allocations: 52.86 kB / 0.5703 GB, free: 7.93 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.6373, allocations: 19.89 kB / 0.5703 GB, free: 7.91 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.6384, allocations: 294.2 kB / 0.5706 GB, free: 7.574 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004333/0.6389, allocations: 0.7397 MB / 0.5713 GB, free: 6.809 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.639, allocations: 55.42 kB / 0.5713 GB, free: 6.754 MB / 411.1 MB Notification: Performance of SimCode: time 9.41e-07/0.639, allocations: 0 / 0.5713 GB, free: 6.754 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.795/3.434, allocations: 4.894 MB / 0.5761 GB, free: 1.859 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat does not exist to compare? outputFormat=mat