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_laminar.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_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",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.001135/0.001135, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.444/1.444, allocations: 223.2 MB / 241 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 90.91 kB / 292.1 MB, free: 10.69 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.4302/0.4302, allocations: 44.22 MB / 387.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003504, allocations: 8 kB / 460 MB, free: 1.629 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3648, allocations: 61.89 MB / 0.5097 GB, free: 37.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1211/0.486, allocations: 94.99 MB / 0.6024 GB, free: 124 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/0.4864, allocations: 111.8 kB / 0.6025 GB, free: 20 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03412/0.5205, allocations: 12.61 MB / 0.6148 GB, free: 3.223 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.367e-06/0.5206, allocations: 0 / 0.6148 GB, free: 3.223 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.338e-05/0.5206, allocations: 8 kB / 0.6148 GB, free: 3.215 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001329/0.5219, allocations: 0.6783 MB / 0.6155 GB, free: 2.488 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.093e-05/0.522, allocations: 16.55 kB / 0.6155 GB, free: 2.473 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001539/0.5222, allocations: 90.53 kB / 0.6156 GB, free: 2.375 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.5223, allocations: 47.42 kB / 0.6157 GB, free: 2.328 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005687/0.5229, allocations: 298.9 kB / 0.6159 GB, free: 1.996 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.803e-05/0.5229, allocations: 37 kB / 0.616 GB, free: 1.961 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.283e-05/0.523, allocations: 47.94 kB / 0.616 GB, free: 1.914 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.5242, allocations: 0.6674 MB / 0.6167 GB, free: 1.227 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.5242, allocations: 0 / 0.6167 GB, free: 1.227 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.871e-05/0.5243, allocations: 23.98 kB / 0.6167 GB, free: 1.203 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.097e-05/0.5243, allocations: 21 kB / 0.6167 GB, free: 1.184 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009788/0.5253, allocations: 0.5034 MB / 0.6172 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002492/0.5278, allocations: 1.539 MB / 0.6187 GB, free: 15.07 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005812/0.5284, allocations: 307.6 kB / 0.619 GB, free: 14.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.57e-05/0.5285, allocations: 27.88 kB / 0.619 GB, free: 14.72 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.5285, allocations: 34.55 kB / 0.6191 GB, free: 14.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 1.764e-06/0.5285, allocations: 0 / 0.6191 GB, free: 14.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.001468/0.53, allocations: 0.7503 MB / 0.6198 GB, free: 13.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.782e-05/0.5301, allocations: 106.8 kB / 0.6199 GB, free: 13.73 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006009/0.5307, allocations: 0.4891 MB / 0.6204 GB, free: 13.24 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.5307, allocations: 25.7 kB / 0.6204 GB, free: 13.21 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.5309, allocations: 228.1 kB / 0.6206 GB, free: 12.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.556e-05/0.531, allocations: 67 kB / 0.6207 GB, free: 12.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.962e-05/0.531, allocations: 8.031 kB / 0.6207 GB, free: 12.9 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.5312, allocations: 350.8 kB / 0.621 GB, free: 12.55 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003719/0.5316, allocations: 172 kB / 0.6212 GB, free: 12.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004853/0.5321, allocations: 287.8 kB / 0.6215 GB, free: 12.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004204/0.5325, allocations: 213 kB / 0.6217 GB, free: 11.84 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.5325, allocations: 0 / 0.6217 GB, free: 11.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001029/0.5336, allocations: 0.5135 MB / 0.6222 GB, free: 11.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.5336, allocations: 8 kB / 0.6222 GB, free: 11.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.39e-05/0.5337, allocations: 39.95 kB / 0.6222 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.5337, allocations: 8 kB / 0.6222 GB, free: 11.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.534, allocations: 47.91 kB / 0.6223 GB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.643e-05/0.534, allocations: 16.03 kB / 0.6223 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003777/0.5344, allocations: 79.3 kB / 0.6224 GB, free: 11.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.442e-05/0.5345, allocations: 19.98 kB / 0.6224 GB, free: 11.1 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 21 * 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.0002734/0.5347, allocations: 215 kB / 0.6226 GB, free: 10.88 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.5349, allocations: 39.52 kB / 0.6226 GB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009393/0.5358, allocations: 466.5 kB / 0.6231 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.5358, allocations: 8 kB / 0.6231 GB, free: 10.38 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5358, allocations: 0 / 0.6231 GB, free: 10.38 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.5358, allocations: 3.984 kB / 0.6231 GB, free: 10.38 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006223/0.5365, allocations: 389.2 kB / 0.6234 GB, free: 9.945 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-05/0.5365, allocations: 43.91 kB / 0.6235 GB, free: 9.902 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.5367, allocations: 35.91 kB / 0.6235 GB, free: 9.867 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.5367, allocations: 0 / 0.6235 GB, free: 9.867 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.28e-05/0.5368, allocations: 8 kB / 0.6235 GB, free: 9.859 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.5368, allocations: 4 kB / 0.6235 GB, free: 9.855 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.5368, allocations: 0 / 0.6235 GB, free: 9.855 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009358/0.5377, allocations: 0.6496 MB / 0.6242 GB, free: 9.176 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/0.5379, allocations: 128.5 kB / 0.6243 GB, free: 9.031 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.345e-05/0.538, allocations: 3.953 kB / 0.6243 GB, free: 9.027 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003124/0.5383, allocations: 31.97 kB / 0.6243 GB, free: 8.996 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.331e-05/0.5384, allocations: 23.92 kB / 0.6243 GB, free: 8.973 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.023e-05/0.5384, allocations: 15.98 kB / 0.6244 GB, free: 8.957 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004414/0.5389, allocations: 391 kB / 0.6247 GB, free: 8.574 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5389, allocations: 0 / 0.6247 GB, free: 8.574 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006663/0.5396, allocations: 139.8 kB / 0.6249 GB, free: 8.438 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 () * Number of clocked 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.001623/0.5412, allocations: 1.441 MB / 0.6263 GB, free: 6.965 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.5422, allocations: 0.6883 MB / 0.6269 GB, free: 6.203 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5422, allocations: 0 / 0.6269 GB, free: 6.203 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005633/0.5428, allocations: 0.4884 MB / 0.6274 GB, free: 5.641 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005787/0.5434, allocations: 106 kB / 0.6275 GB, free: 5.535 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006132/0.5495, allocations: 5.649 MB / 0.633 GB, free: 15.75 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005134/0.5501, allocations: 0.874 MB / 0.6339 GB, free: 14.84 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003083/0.5504, allocations: 87.34 kB / 0.634 GB, free: 14.76 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.5506, allocations: 121.6 kB / 0.6341 GB, free: 14.64 MB / 458.7 MB Notification: Performance of SimCode: time 1.172e-06/0.5506, allocations: 3.938 kB / 0.6341 GB, free: 14.64 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03126/0.5819, allocations: 12.65 MB / 0.6464 GB, free: 2.289 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/0.5821, allocations: 224.4 kB / 0.6467 GB, free: 2.039 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.234/2.816, allocations: 9.047 kB / 0.6467 GB, free: 2.035 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.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_laminar_res.mat does not exist to compare? outputFormat=mat