Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001556/0.001556, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.768/1.768, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008653/0.0008651, allocations: 89.67 kB / 267 MB, free: 9.277 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.415/0.415, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.129e-05/3.14e-05, allocations: 4 kB / 425.4 MB, free: 8.066 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.13, allocations: 58.85 MB / 484.3 MB, free: 13.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4242/0.5542, allocations: 99.22 MB / 0.5698 GB, free: 6.328 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/0.5546, allocations: 97.88 kB / 0.5699 GB, free: 6.273 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06276/0.6174, allocations: 24.19 MB / 0.5935 GB, free: 1.473 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.6174, allocations: 0 / 0.5935 GB, free: 1.473 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.277e-05/0.6174, allocations: 4 kB / 0.5935 GB, free: 1.469 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001443/0.6189, allocations: 0.7459 MB / 0.5943 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.6189, allocations: 12.03 kB / 0.5943 GB, free: 0.7031 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001796/0.6191, allocations: 100.4 kB / 0.5944 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.6193, allocations: 55.34 kB / 0.5944 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005473/0.6198, allocations: 310.3 kB / 0.5947 GB, free: 252 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.591e-05/0.6199, allocations: 35.94 kB / 0.5948 GB, free: 232 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.621e-05/0.62, allocations: 53.38 kB / 0.5948 GB, free: 196 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.6211, allocations: 0.7321 MB / 0.5955 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.6211, allocations: 4 kB / 0.5955 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.618e-05/0.6212, allocations: 27.31 kB / 0.5956 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-05/0.6213, allocations: 25.31 kB / 0.5956 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007757/0.6221, allocations: 0.4964 MB / 0.5961 GB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002646/0.6247, allocations: 1.691 MB / 0.5977 GB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004448/0.6252, allocations: 266 kB / 0.598 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/0.6254, allocations: 122.7 kB / 0.5981 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.038e-05/0.6255, allocations: 19.92 kB / 0.5981 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.6255, allocations: 37.12 kB / 0.5981 GB, free: 13.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 3.035e-06/0.6255, allocations: 0 / 0.5981 GB, free: 13.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.000723/0.6263, allocations: 326.1 kB / 0.5985 GB, free: 12.97 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/0.6264, allocations: 106 kB / 0.5986 GB, free: 12.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006934/0.6271, allocations: 0.563 MB / 0.5991 GB, free: 12.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.6271, allocations: 36.75 kB / 0.5991 GB, free: 12.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.6273, allocations: 282.2 kB / 0.5994 GB, free: 12.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.736e-05/0.6274, allocations: 73.25 kB / 0.5995 GB, free: 12.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.528e-05/0.6274, allocations: 10.88 kB / 0.5995 GB, free: 12.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.6276, allocations: 363.7 kB / 0.5998 GB, free: 11.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002634/0.6278, allocations: 160.9 kB / 0.6 GB, free: 11.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004439/0.6283, allocations: 432.6 kB / 0.6004 GB, free: 11.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/0.6287, allocations: 241.2 kB / 0.6006 GB, free: 10.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/0.6287, allocations: 4 kB / 0.6006 GB, free: 10.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001082/0.6298, allocations: 0.6248 MB / 0.6012 GB, free: 10.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.6298, allocations: 8 kB / 0.6013 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.392e-05/0.6299, allocations: 47.95 kB / 0.6013 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/0.63, allocations: 19.95 kB / 0.6013 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003375/0.6303, allocations: 75.64 kB / 0.6014 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.419e-05/0.6303, allocations: 20.2 kB / 0.6014 GB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004912/0.6308, allocations: 98.77 kB / 0.6015 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.053e-05/0.6309, allocations: 35.86 kB / 0.6015 GB, free: 10.04 MB / 426.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.0001473/0.6311, allocations: 147.9 kB / 0.6017 GB, free: 9.895 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.6312, allocations: 51.34 kB / 0.6017 GB, free: 9.844 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008885/0.6321, allocations: 450.7 kB / 0.6022 GB, free: 9.441 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.6321, allocations: 4 kB / 0.6022 GB, free: 9.438 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.6321, allocations: 15.95 kB / 0.6022 GB, free: 9.422 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.6321, allocations: 3.984 kB / 0.6022 GB, free: 9.418 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006954/0.6328, allocations: 414.2 kB / 0.6026 GB, free: 9.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.708e-05/0.6329, allocations: 43.95 kB / 0.6026 GB, free: 8.977 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.6331, allocations: 27.97 kB / 0.6026 GB, free: 8.949 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.6331, allocations: 4 kB / 0.6026 GB, free: 8.945 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.825e-05/0.6331, allocations: 11.88 kB / 0.6027 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.6332, allocations: 0 / 0.6027 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.6332, allocations: 4 kB / 0.6027 GB, free: 8.934 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007462/0.6339, allocations: 0.5917 MB / 0.6032 GB, free: 8.344 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002052/0.6341, allocations: 128.4 kB / 0.6034 GB, free: 8.199 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.823e-05/0.6342, allocations: 4 kB / 0.6034 GB, free: 8.195 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003362/0.6346, allocations: 27.55 kB / 0.6034 GB, free: 8.172 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.81e-05/0.6347, allocations: 23.28 kB / 0.6034 GB, free: 8.152 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/0.6347, allocations: 15.98 kB / 0.6034 GB, free: 8.137 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004954/0.6352, allocations: 439 kB / 0.6038 GB, free: 7.801 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6352, allocations: 0 / 0.6038 GB, free: 7.801 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009553/0.6362, allocations: 203.9 kB / 0.604 GB, free: 7.617 MB / 426.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.001737/0.6379, allocations: 1.45 MB / 0.6055 GB, free: 6.168 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008709/0.6388, allocations: 0.6904 MB / 0.6061 GB, free: 5.453 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6388, allocations: 0 / 0.6061 GB, free: 5.453 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003903/0.6392, allocations: 458.1 kB / 0.6066 GB, free: 4.949 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006231/0.6399, allocations: 109.5 kB / 0.6067 GB, free: 4.871 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/0.6423, allocations: 0.9308 MB / 0.6076 GB, free: 3.969 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005531/0.6429, allocations: 0.9079 MB / 0.6085 GB, free: 3.047 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003738/0.6432, allocations: 124.5 kB / 0.6086 GB, free: 2.922 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.6435, allocations: 142.5 kB / 0.6087 GB, free: 2.879 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6435, allocations: 0 / 0.6087 GB, free: 2.879 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03706/0.6805, allocations: 15.27 MB / 0.6236 GB, free: 3.688 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/0.6808, allocations: 189.5 kB / 0.6238 GB, free: 3.465 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.298/2.979, allocations: 0 / 0.6238 GB, free: 3.465 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat does not exist to compare? outputFormat=mat