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_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.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_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.00123/0.00123, allocations: 184.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.347/1.347, allocations: 223.2 MB / 241 MB, free: 11.9 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.001089/0.001089, allocations: 95.27 kB / 292.1 MB, free: 10.93 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.3411/0.3411, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003661, allocations: 12 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.364, allocations: 61.89 MB / 0.5096 GB, free: 38.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1844/0.5485, allocations: 93.87 MB / 0.6013 GB, free: 1.258 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004193/0.549, allocations: 107.8 kB / 0.6014 GB, free: 1.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06041/0.6094, allocations: 13.74 MB / 0.6148 GB, free: 3.309 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.989e-06/0.6095, allocations: 0 / 0.6148 GB, free: 3.309 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.88e-05/0.6095, allocations: 4 kB / 0.6148 GB, free: 3.305 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001526/0.6111, allocations: 0.5847 MB / 0.6154 GB, free: 2.668 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/0.6111, allocations: 8.031 kB / 0.6154 GB, free: 2.66 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001409/0.6113, allocations: 70.53 kB / 0.6155 GB, free: 2.582 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.6114, allocations: 31.62 kB / 0.6155 GB, free: 2.551 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005184/0.6119, allocations: 258.9 kB / 0.6158 GB, free: 2.258 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.62e-05/0.612, allocations: 28.55 kB / 0.6158 GB, free: 2.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.001e-05/0.6121, allocations: 24 kB / 0.6158 GB, free: 2.207 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.6133, allocations: 441.8 kB / 0.6162 GB, free: 1.758 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.6133, allocations: 0 / 0.6162 GB, free: 1.758 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.684e-05/0.6133, allocations: 12 kB / 0.6163 GB, free: 1.746 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.955e-05/0.6134, allocations: 16.55 kB / 0.6163 GB, free: 1.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.6145, allocations: 345.9 kB / 0.6166 GB, free: 1.395 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002329/0.6169, allocations: 1.112 MB / 0.6177 GB, free: 224 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007779/0.6177, allocations: 255.7 kB / 0.6179 GB, free: 15.94 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.52e-05/0.6177, allocations: 11.94 kB / 0.6179 GB, free: 15.93 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.6178, allocations: 46.48 kB / 0.618 GB, free: 15.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 4.298e-06/0.6178, allocations: 0 / 0.618 GB, free: 15.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.001775/0.6196, allocations: 0.6178 MB / 0.6186 GB, free: 15.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/0.6197, allocations: 106.8 kB / 0.6187 GB, free: 15.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006378/0.6203, allocations: 360.7 kB / 0.619 GB, free: 14.71 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.6204, allocations: 29.7 kB / 0.6191 GB, free: 14.67 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.6206, allocations: 187.8 kB / 0.6192 GB, free: 14.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.117e-05/0.6207, allocations: 51.3 kB / 0.6193 GB, free: 14.43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.211e-05/0.6207, allocations: 0 / 0.6193 GB, free: 14.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.6209, allocations: 350.8 kB / 0.6196 GB, free: 14.08 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004967/0.6214, allocations: 132 kB / 0.6197 GB, free: 13.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000572/0.622, allocations: 246 kB / 0.62 GB, free: 13.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000583/0.6226, allocations: 163.8 kB / 0.6201 GB, free: 13.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.6226, allocations: 3.953 kB / 0.6201 GB, free: 13.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00138/0.624, allocations: 429 kB / 0.6206 GB, free: 13.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/0.6241, allocations: 10.19 kB / 0.6206 GB, free: 13.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.707e-05/0.6241, allocations: 19.98 kB / 0.6206 GB, free: 13.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/0.6242, allocations: 8 kB / 0.6206 GB, free: 13.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003854/0.6246, allocations: 59.89 kB / 0.6206 GB, free: 12.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/0.6246, allocations: 7.938 kB / 0.6207 GB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004869/0.6251, allocations: 59.7 kB / 0.6207 GB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.487e-05/0.6252, allocations: 19.98 kB / 0.6207 GB, free: 12.89 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: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0002755/0.6255, allocations: 175 kB / 0.6209 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.6256, allocations: 31.58 kB / 0.6209 GB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009423/0.6266, allocations: 300.6 kB / 0.6212 GB, free: 12.38 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.6266, allocations: 4 kB / 0.6212 GB, free: 12.37 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.6266, allocations: 4 kB / 0.6212 GB, free: 12.37 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.6267, allocations: 0 / 0.6212 GB, free: 12.37 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007364/0.6274, allocations: 313.2 kB / 0.6215 GB, free: 12.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.333e-05/0.6275, allocations: 19.98 kB / 0.6215 GB, free: 11.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.6277, allocations: 31.92 kB / 0.6216 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.6277, allocations: 4 kB / 0.6216 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.514e-05/0.6278, allocations: 11.98 kB / 0.6216 GB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.6278, allocations: 0 / 0.6216 GB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.6278, allocations: 4 kB / 0.6216 GB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.629, allocations: 0.5457 MB / 0.6221 GB, free: 11.37 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.6291, allocations: 116.7 kB / 0.6222 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.874e-05/0.6292, allocations: 0 / 0.6222 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004748/0.6297, allocations: 27.97 kB / 0.6223 GB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.188e-05/0.6298, allocations: 11.98 kB / 0.6223 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/0.6298, allocations: 11.98 kB / 0.6223 GB, free: 11.18 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00045/0.6303, allocations: 283.1 kB / 0.6226 GB, free: 10.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6303, allocations: 8 kB / 0.6226 GB, free: 10.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009754/0.6313, allocations: 103.9 kB / 0.6227 GB, free: 10.8 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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001944/0.6333, allocations: 1.297 MB / 0.6239 GB, free: 9.469 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001269/0.6346, allocations: 450.5 kB / 0.6244 GB, free: 8.992 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6346, allocations: 0 / 0.6244 GB, free: 8.992 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005928/0.6352, allocations: 294.3 kB / 0.6246 GB, free: 8.668 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007142/0.6359, allocations: 65.34 kB / 0.6247 GB, free: 8.605 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006888/0.6428, allocations: 4.723 MB / 0.6293 GB, free: 3.738 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/0.6434, allocations: 0.8028 MB / 0.6301 GB, free: 2.91 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003255/0.6437, allocations: 74.84 kB / 0.6302 GB, free: 2.84 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/0.6439, allocations: 83.41 kB / 0.6302 GB, free: 2.758 MB / 442.7 MB Notification: Performance of SimCode: time 1.503e-06/0.644, allocations: 0 / 0.6302 GB, free: 2.758 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0294/0.6734, allocations: 8.509 MB / 0.6386 GB, free: 10.5 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002623/0.6737, allocations: 236.3 kB / 0.6388 GB, free: 10.25 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.228/2.902, allocations: 4 kB / 0.6388 GB, free: 10.25 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.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.StraightPipe.kc_turbulent_res.mat does not exist to compare? outputFormat=mat