Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001272/0.001273, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 221.4 MB / 236 MB, free: 2.988 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 91.11 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2143/0.2143, allocations: 44.14 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.136e-05/4.153e-05, allocations: 4.219 kB / 451.9 MB, free: 9.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1447, allocations: 61.92 MB / 0.5018 GB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4631/0.6078, allocations: 92.7 MB / 0.5924 GB, free: 12.51 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/0.6082, allocations: 99.92 kB / 0.5925 GB, free: 12.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02943/0.6376, allocations: 10.29 MB / 0.6025 GB, free: 2.078 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.6377, allocations: 0 / 0.6025 GB, free: 2.078 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.6377, allocations: 4 kB / 0.6025 GB, free: 2.074 MB / 410.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.0007083/0.6384, allocations: 0.4982 MB / 0.603 GB, free: 1.527 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.6385, allocations: 16.03 kB / 0.603 GB, free: 1.512 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.474e-05/0.6386, allocations: 66.53 kB / 0.6031 GB, free: 1.438 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.821e-05/0.6387, allocations: 31.61 kB / 0.6031 GB, free: 1.406 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.6389, allocations: 238.3 kB / 0.6033 GB, free: 1.133 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.639, allocations: 24.52 kB / 0.6033 GB, free: 1.109 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.53e-05/0.639, allocations: 23.98 kB / 0.6034 GB, free: 1.086 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00058/0.6396, allocations: 370 kB / 0.6037 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.6396, allocations: 0 / 0.6037 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.055e-05/0.6397, allocations: 15.98 kB / 0.6037 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.924e-05/0.6397, allocations: 20.77 kB / 0.6038 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005176/0.6402, allocations: 382.9 kB / 0.6041 GB, free: 312 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.6416, allocations: 0.8896 MB / 0.605 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005618/0.6422, allocations: 286.3 kB / 0.6053 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.6424, allocations: 84.8 kB / 0.6053 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.698e-05/0.6424, allocations: 15.98 kB / 0.6054 GB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.6425, allocations: 38.55 kB / 0.6054 GB, free: 14.92 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 2.134e-06/0.6425, allocations: 0 / 0.6054 GB, free: 14.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005539/0.643, allocations: 238.4 kB / 0.6056 GB, free: 14.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.6431, allocations: 51.41 kB / 0.6057 GB, free: 14.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003452/0.6435, allocations: 315.4 kB / 0.606 GB, free: 14.31 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.6435, allocations: 29.7 kB / 0.606 GB, free: 14.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.6436, allocations: 164.1 kB / 0.6062 GB, free: 14.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.382e-05/0.6437, allocations: 55.2 kB / 0.6062 GB, free: 14.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.297e-05/0.6437, allocations: 7.938 kB / 0.6062 GB, free: 14.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.6439, allocations: 334.8 kB / 0.6065 GB, free: 13.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.644, allocations: 88.3 kB / 0.6066 GB, free: 13.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.6442, allocations: 138.6 kB / 0.6068 GB, free: 13.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.6444, allocations: 102.4 kB / 0.6069 GB, free: 13.37 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.6444, allocations: 0 / 0.6069 GB, free: 13.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004478/0.6449, allocations: 285 kB / 0.6071 GB, free: 13.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.6449, allocations: 9.406 kB / 0.6071 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.6449, allocations: 4 kB / 0.6071 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.6449, allocations: 7.953 kB / 0.6071 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005826/0.6455, allocations: 115.8 kB / 0.6073 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002489/0.648, allocations: 3.7 MB / 0.6109 GB, free: 9.113 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002808/0.6483, allocations: 39.61 kB / 0.6109 GB, free: 9.074 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.6484, allocations: 12.28 kB / 0.6109 GB, free: 9.062 MB / 426.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 (21): * Single equations (assignments): 15 * 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.0001539/0.6485, allocations: 122.8 kB / 0.611 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.6486, allocations: 27.62 kB / 0.6111 GB, free: 8.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000621/0.6493, allocations: 320 kB / 0.6114 GB, free: 8.594 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.6493, allocations: 3.953 kB / 0.6114 GB, free: 8.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6493, allocations: 0 / 0.6114 GB, free: 8.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.6493, allocations: 0 / 0.6114 GB, free: 8.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003801/0.6497, allocations: 313.4 kB / 0.6117 GB, free: 8.234 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.6497, allocations: 4 kB / 0.6117 GB, free: 8.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005272/0.6502, allocations: 107.8 kB / 0.6118 GB, free: 8.125 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.6503, allocations: 4 kB / 0.6118 GB, free: 8.121 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.6503, allocations: 0 / 0.6118 GB, free: 8.121 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00209/0.6524, allocations: 3.707 MB / 0.6154 GB, free: 4.273 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.6524, allocations: 0 / 0.6154 GB, free: 4.273 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004216/0.6528, allocations: 345.6 kB / 0.6157 GB, free: 3.922 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.731e-05/0.6529, allocations: 100.8 kB / 0.6158 GB, free: 3.805 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/0.653, allocations: 4 kB / 0.6158 GB, free: 3.801 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.6531, allocations: 16.17 kB / 0.6158 GB, free: 3.785 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.543e-05/0.6532, allocations: 15.94 kB / 0.6159 GB, free: 3.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.6532, allocations: 4 kB / 0.6159 GB, free: 3.766 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002772/0.6535, allocations: 255 kB / 0.6161 GB, free: 3.516 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6535, allocations: 0 / 0.6161 GB, free: 3.516 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003945/0.6539, allocations: 79.97 kB / 0.6162 GB, free: 3.438 MB / 426.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 (15): * Single equations (assignments): 9 * 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.001025/0.655, allocations: 0.945 MB / 0.6171 GB, free: 2.465 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008262/0.6558, allocations: 270.2 kB / 0.6174 GB, free: 2.203 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6558, allocations: 3.938 kB / 0.6174 GB, free: 2.199 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005323/0.6563, allocations: 168.2 kB / 0.6175 GB, free: 2.035 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.6567, allocations: 64.39 kB / 0.6176 GB, free: 1.973 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.6579, allocations: 0.5058 MB / 0.6181 GB, free: 1.434 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005298/0.6585, allocations: 0.8027 MB / 0.6189 GB, free: 0.6055 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002039/0.6587, allocations: 70 kB / 0.6189 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.6588, allocations: 79.41 kB / 0.619 GB, free: 468 kB / 426.7 MB Notification: Performance of SimCode: time 7.92e-07/0.6588, allocations: 3.938 kB / 0.619 GB, free: 464 kB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.6824, allocations: 8.405 MB / 0.6272 GB, free: 8.309 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002589/0.6827, allocations: 238.4 kB / 0.6275 GB, free: 7.992 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.136/2.819, allocations: 0 / 0.6275 GB, free: 7.992 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat does not exist to compare? outputFormat=mat