Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.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.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",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.001125/0.001125, allocations: 176 kB / 17.06 MB, free: 5.094 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.391/1.391, allocations: 223.2 MB / 241 MB, free: 11.88 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.000934/0.000934, allocations: 102.7 kB / 292.1 MB, free: 10.88 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.3887/0.3887, allocations: 44.22 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003618, allocations: 8 kB / 460 MB, free: 1.379 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4314/0.4318, allocations: 61.89 MB / 0.5097 GB, free: 38.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1433/0.5751, allocations: 94.06 MB / 0.6015 GB, free: 1.023 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/0.5755, allocations: 103.9 kB / 0.6016 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0284/0.6039, allocations: 10.97 MB / 0.6123 GB, free: 5.789 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.6039, allocations: 0 / 0.6123 GB, free: 5.789 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.736e-05/0.604, allocations: 4 kB / 0.6123 GB, free: 5.785 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001034/0.605, allocations: 0.6587 MB / 0.613 GB, free: 5.078 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.6051, allocations: 12.56 kB / 0.613 GB, free: 5.066 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/0.6052, allocations: 78.53 kB / 0.6131 GB, free: 4.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.659e-05/0.6053, allocations: 39.53 kB / 0.6131 GB, free: 4.941 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004384/0.6057, allocations: 288 kB / 0.6134 GB, free: 4.621 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.6057, allocations: 36.92 kB / 0.6134 GB, free: 4.586 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.406e-05/0.6058, allocations: 36 kB / 0.6134 GB, free: 4.551 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009762/0.6068, allocations: 0.5855 MB / 0.614 GB, free: 3.945 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.6068, allocations: 4 kB / 0.614 GB, free: 3.941 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.961e-05/0.6069, allocations: 16 kB / 0.614 GB, free: 3.926 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.811e-05/0.6069, allocations: 17 kB / 0.614 GB, free: 3.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008586/0.6078, allocations: 455.5 kB / 0.6145 GB, free: 3.465 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.6097, allocations: 1.398 MB / 0.6158 GB, free: 2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005313/0.6102, allocations: 291.5 kB / 0.6161 GB, free: 1.688 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.052e-05/0.6103, allocations: 7.938 kB / 0.6161 GB, free: 1.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.6103, allocations: 38.56 kB / 0.6162 GB, free: 1.633 MB / 426.7 MB Notification: Performance of pre-optimization done (n=17): time 1.512e-06/0.6103, allocations: 0 / 0.6162 GB, free: 1.633 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.001389/0.6117, allocations: 0.7055 MB / 0.6169 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.572e-05/0.6118, allocations: 106.8 kB / 0.617 GB, free: 0.7383 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005046/0.6123, allocations: 461.1 kB / 0.6174 GB, free: 292 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.6124, allocations: 33.64 kB / 0.6174 GB, free: 252 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.6125, allocations: 204.2 kB / 0.6176 GB, free: 44 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.617e-05/0.6126, allocations: 55.16 kB / 0.6177 GB, free: 15.98 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.888e-05/0.6126, allocations: 7.938 kB / 0.6177 GB, free: 15.98 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.6128, allocations: 358.8 kB / 0.618 GB, free: 15.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/0.6131, allocations: 136 kB / 0.6182 GB, free: 15.48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.6134, allocations: 177.5 kB / 0.6183 GB, free: 15.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003358/0.6138, allocations: 155.8 kB / 0.6185 GB, free: 15.14 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.6138, allocations: 4 kB / 0.6185 GB, free: 15.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000825/0.6146, allocations: 402.9 kB / 0.6189 GB, free: 14.74 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.833e-05/0.6147, allocations: 5.094 kB / 0.6189 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.756e-05/0.6148, allocations: 31.97 kB / 0.6189 GB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.6148, allocations: 4 kB / 0.6189 GB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.615, allocations: 39.91 kB / 0.6189 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.615, allocations: 0 / 0.6189 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002959/0.6153, allocations: 75.38 kB / 0.619 GB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/0.6154, allocations: 8 kB / 0.619 GB, free: 14.58 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0002033/0.6156, allocations: 191 kB / 0.6192 GB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.6157, allocations: 35.53 kB / 0.6192 GB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007661/0.6165, allocations: 400.6 kB / 0.6196 GB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.6165, allocations: 4 kB / 0.6196 GB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.6165, allocations: 7.938 kB / 0.6196 GB, free: 13.94 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.6165, allocations: 0 / 0.6196 GB, free: 13.94 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005708/0.6171, allocations: 357.3 kB / 0.62 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-05/0.6171, allocations: 39.97 kB / 0.62 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.6173, allocations: 27.97 kB / 0.62 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.6173, allocations: 4 kB / 0.62 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/0.6174, allocations: 7.984 kB / 0.62 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.6174, allocations: 7.938 kB / 0.62 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.6174, allocations: 0 / 0.62 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008458/0.6182, allocations: 0.6144 MB / 0.6206 GB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.6184, allocations: 128.5 kB / 0.6208 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.028e-05/0.6184, allocations: 3.938 kB / 0.6208 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002903/0.6187, allocations: 31.98 kB / 0.6208 GB, free: 12.63 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.446e-05/0.6188, allocations: 15.97 kB / 0.6208 GB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/0.6188, allocations: 11.95 kB / 0.6208 GB, free: 12.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004091/0.6193, allocations: 375 kB / 0.6212 GB, free: 12.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6193, allocations: 0 / 0.6212 GB, free: 12.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005637/0.6198, allocations: 127.8 kB / 0.6213 GB, free: 12.11 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001438/0.6213, allocations: 1.398 MB / 0.6227 GB, free: 10.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008759/0.6222, allocations: 0.5302 MB / 0.6232 GB, free: 10.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6222, allocations: 4 kB / 0.6232 GB, free: 10.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000507/0.6227, allocations: 399.4 kB / 0.6236 GB, free: 9.641 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005344/0.6233, allocations: 93.56 kB / 0.6237 GB, free: 9.551 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004691/0.628, allocations: 3.549 MB / 0.6271 GB, free: 5.91 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/0.6284, allocations: 0.8539 MB / 0.628 GB, free: 5.031 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000195/0.6286, allocations: 63.23 kB / 0.628 GB, free: 4.969 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.6288, allocations: 110.2 kB / 0.6281 GB, free: 4.863 MB / 442.7 MB Notification: Performance of SimCode: time 1.282e-06/0.6288, allocations: 0 / 0.6281 GB, free: 4.863 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02582/0.6546, allocations: 10.87 MB / 0.6388 GB, free: 10.27 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003956/0.6551, allocations: 231.9 kB / 0.639 GB, free: 10.02 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.194/2.849, allocations: 0 / 0.639 GB, free: 10.02 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat does not exist to compare? outputFormat=mat