Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_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.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_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.001244/0.001244, 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.79/1.79, 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.0009379/0.0009381, allocations: 86.62 kB / 261.7 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.2475/0.2475, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.194e-05/2.196e-05, allocations: 0 / 418.4 MB, free: 28.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1314, allocations: 58.86 MB / 477.2 MB, free: 1.52 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4384/0.5699, allocations: 90.9 MB / 0.5548 GB, free: 4.203 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/0.5702, allocations: 101.5 kB / 0.5549 GB, free: 4.145 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02646/0.5967, allocations: 9.957 MB / 0.5646 GB, free: 11.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5968, allocations: 0 / 0.5646 GB, free: 11.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.5968, allocations: 4 kB / 0.5646 GB, free: 11.8 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0006698/0.5975, allocations: 0.5066 MB / 0.5651 GB, free: 11.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.5975, allocations: 8.031 kB / 0.5651 GB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.651e-05/0.5976, allocations: 27.72 kB / 0.5652 GB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.5979, allocations: 245.9 kB / 0.5654 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.5979, allocations: 11.94 kB / 0.5654 GB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.598, allocations: 16 kB / 0.5654 GB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004589/0.5985, allocations: 336.1 kB / 0.5657 GB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004769/0.5989, allocations: 330 kB / 0.5661 GB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.599, allocations: 0 / 0.5661 GB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.599, allocations: 0 / 0.5661 GB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.33e-05/0.599, allocations: 28.45 kB / 0.5661 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.6004, allocations: 0.7892 MB / 0.5669 GB, free: 9.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004306/0.6008, allocations: 310.3 kB / 0.5672 GB, free: 9.383 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.601, allocations: 101.7 kB / 0.5673 GB, free: 9.293 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.859e-05/0.601, allocations: 0 / 0.5673 GB, free: 9.293 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.6011, allocations: 37.19 kB / 0.5673 GB, free: 9.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=19): time 1.483e-06/0.6011, allocations: 3.938 kB / 0.5673 GB, free: 9.246 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.00047/0.6015, allocations: 255.7 kB / 0.5675 GB, free: 9.016 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.6016, allocations: 51.41 kB / 0.5676 GB, free: 8.953 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.6018, allocations: 155.5 kB / 0.5677 GB, free: 8.801 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.6018, allocations: 25.7 kB / 0.5678 GB, free: 8.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.889e-05/0.6019, allocations: 175 kB / 0.5679 GB, free: 8.609 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.536e-05/0.602, allocations: 58.8 kB / 0.568 GB, free: 8.559 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.549e-05/0.602, allocations: 112 / 0.568 GB, free: 8.559 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.6021, allocations: 330.1 kB / 0.5683 GB, free: 8.234 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.6023, allocations: 102.5 kB / 0.5684 GB, free: 8.148 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.6025, allocations: 139.7 kB / 0.5685 GB, free: 8.004 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.6026, allocations: 112.8 kB / 0.5686 GB, free: 7.906 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.6026, allocations: 0 / 0.5686 GB, free: 7.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004396/0.6031, allocations: 288.6 kB / 0.5689 GB, free: 7.645 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.6031, allocations: 7.953 kB / 0.5689 GB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.6031, allocations: 4 kB / 0.5689 GB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.6032, allocations: 4 kB / 0.5689 GB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006208/0.6038, allocations: 116 kB / 0.569 GB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.606, allocations: 3.726 MB / 0.5727 GB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.6062, allocations: 24.11 kB / 0.5727 GB, free: 3.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.833e-05/0.6063, allocations: 11.81 kB / 0.5727 GB, free: 3.672 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001357/0.6064, allocations: 110.6 kB / 0.5728 GB, free: 3.559 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003964/0.6068, allocations: 252.9 kB / 0.5731 GB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.79e-05/0.6069, allocations: 15.86 kB / 0.5731 GB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005852/0.6075, allocations: 334.5 kB / 0.5734 GB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.6075, allocations: 0 / 0.5734 GB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.6075, allocations: 7.953 kB / 0.5734 GB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.6075, allocations: 0 / 0.5734 GB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003862/0.6079, allocations: 285.7 kB / 0.5737 GB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.6079, allocations: 0 / 0.5737 GB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005614/0.6085, allocations: 111.4 kB / 0.5738 GB, free: 2.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.6085, allocations: 0 / 0.5738 GB, free: 2.613 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.6085, allocations: 4 kB / 0.5738 GB, free: 2.609 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002156/0.6107, allocations: 3.721 MB / 0.5774 GB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.6107, allocations: 7.953 kB / 0.5774 GB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004388/0.6111, allocations: 355 kB / 0.5778 GB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.957e-05/0.6112, allocations: 96.95 kB / 0.5779 GB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.6113, allocations: 3.984 kB / 0.5779 GB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.6114, allocations: 4 kB / 0.5779 GB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.342e-05/0.6115, allocations: 15.97 kB / 0.5779 GB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.6115, allocations: 11.44 kB / 0.5779 GB, free: 14.31 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.084e-05/0.6116, allocations: 118.6 kB / 0.578 GB, free: 14.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6116, allocations: 0 / 0.578 GB, free: 14.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004462/0.6121, allocations: 82.62 kB / 0.5781 GB, free: 14.13 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 (19): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009029/0.613, allocations: 0.9576 MB / 0.579 GB, free: 13.17 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000825/0.6139, allocations: 286.5 kB / 0.5793 GB, free: 12.92 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6139, allocations: 384 / 0.5793 GB, free: 12.92 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000506/0.6144, allocations: 177.1 kB / 0.5795 GB, free: 12.76 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.6146, allocations: 9.156 kB / 0.5795 GB, free: 12.76 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.6158, allocations: 0.4896 MB / 0.5799 GB, free: 12.25 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.6162, allocations: 0.8115 MB / 0.5807 GB, free: 11.43 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001533/0.6164, allocations: 57.14 kB / 0.5808 GB, free: 11.37 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.6165, allocations: 74.41 kB / 0.5809 GB, free: 11.34 MB / 394.7 MB Notification: Performance of SimCode: time 6.51e-07/0.6165, allocations: 0 / 0.5809 GB, free: 11.34 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03561/0.6521, allocations: 5.26 MB / 0.586 GB, free: 6.109 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003724/0.6526, allocations: 203.9 kB / 0.5862 GB, free: 5.84 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.932/2.585, allocations: 3.094 kB / 0.5862 GB, free: 5.84 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat does not exist to compare? outputFormat=mat