Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001172/0.001173, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008786/0.0008784, allocations: 84.98 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1883/0.1883, allocations: 45.15 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.045e-05/3.056e-05, allocations: 3.984 kB / 460.5 MB, free: 69.9 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1017, allocations: 63.25 MB / 0.5115 GB, free: 6.664 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3812/0.4829, allocations: 92.81 MB / 0.6021 GB, free: 1.016 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.4832, allocations: 92.69 kB / 0.6022 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0334/0.5167, allocations: 12.24 MB / 0.6142 GB, free: 6.535 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.5167, allocations: 0 / 0.6142 GB, free: 6.535 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.5167, allocations: 4 kB / 0.6142 GB, free: 6.531 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0007244/0.5175, allocations: 0.4952 MB / 0.6146 GB, free: 6.008 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.5175, allocations: 8.031 kB / 0.6147 GB, free: 6 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.731e-05/0.5176, allocations: 63.8 kB / 0.6147 GB, free: 5.945 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.49e-05/0.5177, allocations: 27.62 kB / 0.6147 GB, free: 5.918 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.518, allocations: 245.3 kB / 0.615 GB, free: 5.645 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.518, allocations: 15.31 kB / 0.615 GB, free: 5.637 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.005e-05/0.5181, allocations: 34.25 kB / 0.615 GB, free: 5.613 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005228/0.5186, allocations: 351.9 kB / 0.6154 GB, free: 5.336 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.5186, allocations: 0 / 0.6154 GB, free: 5.336 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.5187, allocations: 13.19 kB / 0.6154 GB, free: 5.332 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.959e-05/0.5187, allocations: 20.77 kB / 0.6154 GB, free: 5.312 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004763/0.5192, allocations: 340.3 kB / 0.6157 GB, free: 5.062 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.5207, allocations: 0.8615 MB / 0.6166 GB, free: 4.266 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004037/0.5211, allocations: 243.7 kB / 0.6168 GB, free: 4.039 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.5213, allocations: 83.73 kB / 0.6169 GB, free: 3.965 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.791e-05/0.5213, allocations: 7.438 kB / 0.6169 GB, free: 3.961 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.5213, allocations: 34.56 kB / 0.6169 GB, free: 3.918 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 2.063e-06/0.5213, allocations: 0 / 0.6169 GB, free: 3.918 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005099/0.5219, allocations: 221.8 kB / 0.6171 GB, free: 3.719 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.5219, allocations: 59.34 kB / 0.6172 GB, free: 3.648 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003146/0.5222, allocations: 301.7 kB / 0.6175 GB, free: 3.395 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.5223, allocations: 25.7 kB / 0.6175 GB, free: 3.363 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.5224, allocations: 170.7 kB / 0.6177 GB, free: 3.227 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.406e-05/0.5225, allocations: 57.62 kB / 0.6177 GB, free: 3.176 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.188e-05/0.5225, allocations: 2.875 kB / 0.6177 GB, free: 3.176 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.5226, allocations: 342.4 kB / 0.618 GB, free: 2.844 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.5228, allocations: 90.08 kB / 0.6181 GB, free: 2.766 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.523, allocations: 167 kB / 0.6183 GB, free: 2.582 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.5232, allocations: 114.5 kB / 0.6184 GB, free: 2.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.5232, allocations: 0 / 0.6184 GB, free: 2.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004848/0.5237, allocations: 319 kB / 0.6187 GB, free: 2.195 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.5237, allocations: 4.938 kB / 0.6187 GB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.5238, allocations: 4.375 kB / 0.6187 GB, free: 2.188 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.5238, allocations: 8 kB / 0.6187 GB, free: 2.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006332/0.5244, allocations: 126.9 kB / 0.6188 GB, free: 2.059 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/0.5265, allocations: 3.654 MB / 0.6224 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.5267, allocations: 35.28 kB / 0.6224 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.5267, allocations: 15.98 kB / 0.6224 GB, free: 14.26 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.5269, allocations: 123.9 kB / 0.6226 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.677e-05/0.5269, allocations: 27.67 kB / 0.6226 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005329/0.5275, allocations: 306 kB / 0.6229 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.5275, allocations: 4 kB / 0.6229 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5275, allocations: 0 / 0.6229 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.5275, allocations: 0 / 0.6229 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003491/0.5279, allocations: 293.6 kB / 0.6232 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5279, allocations: 0 / 0.6232 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005119/0.5284, allocations: 103.9 kB / 0.6233 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.5284, allocations: 7.953 kB / 0.6233 GB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.5284, allocations: 11.3 kB / 0.6233 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002042/0.5305, allocations: 3.644 MB / 0.6268 GB, free: 9.668 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5305, allocations: 3.938 kB / 0.6268 GB, free: 9.664 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000404/0.5309, allocations: 316.6 kB / 0.6271 GB, free: 9.363 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.5311, allocations: 112.7 kB / 0.6273 GB, free: 9.234 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.049e-05/0.5311, allocations: 3.938 kB / 0.6273 GB, free: 9.234 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.5313, allocations: 11.98 kB / 0.6273 GB, free: 9.223 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.5314, allocations: 20.02 kB / 0.6273 GB, free: 9.203 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.5314, allocations: 7.75 kB / 0.6273 GB, free: 9.199 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002355/0.5316, allocations: 237.2 kB / 0.6275 GB, free: 9.004 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5316, allocations: 0 / 0.6275 GB, free: 9.004 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004238/0.5321, allocations: 86.17 kB / 0.6276 GB, free: 8.926 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008113/0.5329, allocations: 0.9176 MB / 0.6285 GB, free: 8.012 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000792/0.5337, allocations: 272.8 kB / 0.6288 GB, free: 7.773 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.5337, allocations: 0 / 0.6288 GB, free: 7.773 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004824/0.5342, allocations: 154 kB / 0.6289 GB, free: 7.633 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.5345, allocations: 59.66 kB / 0.629 GB, free: 7.586 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009846/0.5355, allocations: 492.9 kB / 0.6294 GB, free: 7.098 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.5359, allocations: 0.7971 MB / 0.6302 GB, free: 6.281 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002046/0.5361, allocations: 74.89 kB / 0.6303 GB, free: 6.211 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.424e-05/0.5362, allocations: 75.72 kB / 0.6304 GB, free: 6.184 MB / 426.7 MB Notification: Performance of SimCode: time 6.42e-07/0.5362, allocations: 0 / 0.6304 GB, free: 6.184 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/0.5592, allocations: 8.004 MB / 0.6382 GB, free: 14.46 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002683/0.5595, allocations: 225.7 kB / 0.6384 GB, free: 14.23 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/2.451, allocations: 0 / 0.6384 GB, free: 14.23 MB / 442.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat