Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",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.001085/0.001085, allocations: 176.9 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 221.5 MB / 230.7 MB, free: 7.578 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.0008956/0.0008955, allocations: 96.62 kB / 281.6 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2036/0.2036, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.047e-05/3.06e-05, allocations: 224 / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1423, allocations: 61.91 MB / 0.4948 GB, free: 1.137 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4147/0.557, allocations: 99.68 MB / 0.5921 GB, free: 12.62 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003459/0.5574, allocations: 95.94 kB / 0.5922 GB, free: 12.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06761/0.6251, allocations: 24.43 MB / 0.6161 GB, free: 3.914 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6251, allocations: 0 / 0.6161 GB, free: 3.914 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.756e-05/0.6251, allocations: 8 kB / 0.6161 GB, free: 3.906 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001187/0.6263, allocations: 0.7365 MB / 0.6168 GB, free: 3.125 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.6264, allocations: 11.98 kB / 0.6168 GB, free: 3.113 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.6265, allocations: 55.34 kB / 0.6169 GB, free: 3.059 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004431/0.627, allocations: 310.2 kB / 0.6172 GB, free: 2.715 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.627, allocations: 16 kB / 0.6172 GB, free: 2.699 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/0.6271, allocations: 32 kB / 0.6172 GB, free: 2.668 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006609/0.6277, allocations: 450.3 kB / 0.6176 GB, free: 2.227 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009782/0.6287, allocations: 0.6578 MB / 0.6183 GB, free: 1.551 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.6287, allocations: 0 / 0.6183 GB, free: 1.551 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.78e-05/0.6288, allocations: 3.938 kB / 0.6183 GB, free: 1.547 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.202e-05/0.6288, allocations: 25.31 kB / 0.6183 GB, free: 1.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002084/0.6309, allocations: 1.519 MB / 0.6198 GB, free: 15.95 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003862/0.6313, allocations: 263.6 kB / 0.62 GB, free: 15.66 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.6315, allocations: 122.6 kB / 0.6202 GB, free: 15.54 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7e-05/0.6316, allocations: 15.92 kB / 0.6202 GB, free: 15.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.263e-05/0.6317, allocations: 46.48 kB / 0.6202 GB, free: 15.46 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 2.164e-06/0.6317, allocations: 0 / 0.6202 GB, free: 15.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008613/0.6326, allocations: 294.4 kB / 0.6205 GB, free: 15.17 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.91e-05/0.6326, allocations: 106.8 kB / 0.6206 GB, free: 15.04 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004186/0.6331, allocations: 305 kB / 0.6209 GB, free: 14.74 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.6331, allocations: 25.7 kB / 0.6209 GB, free: 14.71 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002562/0.6334, allocations: 310.6 kB / 0.6212 GB, free: 14.4 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.662e-05/0.6335, allocations: 67 kB / 0.6213 GB, free: 14.33 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.6335, allocations: 0 / 0.6213 GB, free: 14.33 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.6337, allocations: 346.8 kB / 0.6216 GB, free: 13.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.6339, allocations: 153 kB / 0.6218 GB, free: 13.83 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004491/0.6344, allocations: 420.2 kB / 0.6222 GB, free: 13.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/0.6347, allocations: 227.7 kB / 0.6224 GB, free: 13.07 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.6348, allocations: 4 kB / 0.6224 GB, free: 13.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008688/0.6356, allocations: 0.5417 MB / 0.6229 GB, free: 12.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.6357, allocations: 12.06 kB / 0.6229 GB, free: 12.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.896e-05/0.6358, allocations: 47.97 kB / 0.623 GB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.776e-05/0.6358, allocations: 12 kB / 0.623 GB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/0.6361, allocations: 79.83 kB / 0.6231 GB, free: 12.37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.863e-05/0.6362, allocations: 19.92 kB / 0.6231 GB, free: 12.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003922/0.6366, allocations: 59.56 kB / 0.6231 GB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.313e-05/0.6366, allocations: 32 kB / 0.6232 GB, free: 12.26 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0001564/0.6368, allocations: 143.9 kB / 0.6233 GB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005352/0.6373, allocations: 298.4 kB / 0.6236 GB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.047e-05/0.6374, allocations: 27.66 kB / 0.6236 GB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007742/0.6382, allocations: 427.1 kB / 0.624 GB, free: 11.37 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.6382, allocations: 4 kB / 0.624 GB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.6382, allocations: 0 / 0.624 GB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.6382, allocations: 4 kB / 0.624 GB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005715/0.6388, allocations: 373.8 kB / 0.6244 GB, free: 10.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.387e-05/0.6389, allocations: 39.95 kB / 0.6244 GB, free: 10.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.6391, allocations: 35.97 kB / 0.6244 GB, free: 10.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.6391, allocations: 4 kB / 0.6245 GB, free: 10.88 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.6391, allocations: 8 kB / 0.6245 GB, free: 10.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.6391, allocations: 3.984 kB / 0.6245 GB, free: 10.87 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.84e-06/0.6391, allocations: 8 kB / 0.6245 GB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005996/0.6397, allocations: 0.5557 MB / 0.625 GB, free: 10.28 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.886e-05/0.6398, allocations: 108.8 kB / 0.6251 GB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.231e-05/0.6399, allocations: 0 / 0.6251 GB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/0.6402, allocations: 35.91 kB / 0.6252 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.15e-05/0.6403, allocations: 19.97 kB / 0.6252 GB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/0.6403, allocations: 12 kB / 0.6252 GB, free: 10.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002246/0.6405, allocations: 212.6 kB / 0.6254 GB, free: 9.875 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6405, allocations: 0 / 0.6254 GB, free: 9.875 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008821/0.6414, allocations: 215.3 kB / 0.6256 GB, free: 9.664 MB / 442.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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.001255/0.6427, allocations: 1.413 MB / 0.627 GB, free: 8.219 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007697/0.6435, allocations: 0.6678 MB / 0.6276 GB, free: 7.477 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6435, allocations: 2.562 kB / 0.6276 GB, free: 7.477 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003981/0.6439, allocations: 448.3 kB / 0.6281 GB, free: 6.961 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.6443, allocations: 28.77 kB / 0.6281 GB, free: 6.934 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.6464, allocations: 0.857 MB / 0.6289 GB, free: 6.035 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005529/0.6469, allocations: 0.9048 MB / 0.6298 GB, free: 5.105 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002793/0.6472, allocations: 99.05 kB / 0.6299 GB, free: 5.004 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.6474, allocations: 131.4 kB / 0.63 GB, free: 4.875 MB / 442.7 MB Notification: Performance of SimCode: time 8.92e-07/0.6474, allocations: 0 / 0.63 GB, free: 4.875 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0341/0.6815, allocations: 9.655 MB / 0.6394 GB, free: 11.25 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/0.6818, allocations: 189.7 kB / 0.6396 GB, free: 11.05 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.974/2.656, allocations: 0 / 0.6396 GB, free: 11.05 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat does not exist to compare? outputFormat=mat