Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001291/0.001291, 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.324/1.324, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000911/0.0009109, allocations: 90.97 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1743/0.1743, allocations: 45.15 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.244e-05/3.26e-05, allocations: 4 kB / 460.5 MB, free: 69.9 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1076, allocations: 63.24 MB / 0.5115 GB, free: 6.668 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3694/0.477, allocations: 94.95 MB / 0.6042 GB, free: 14.88 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.4773, allocations: 96.73 kB / 0.6043 GB, free: 14.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03704/0.5144, allocations: 13.9 MB / 0.6179 GB, free: 2.898 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5144, allocations: 0 / 0.6179 GB, free: 2.898 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.229e-05/0.5144, allocations: 4 kB / 0.6179 GB, free: 2.895 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0008123/0.5153, allocations: 0.5618 MB / 0.6184 GB, free: 2.309 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.5153, allocations: 12.03 kB / 0.6184 GB, free: 2.297 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.723e-05/0.5154, allocations: 63.91 kB / 0.6185 GB, free: 2.242 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003507/0.5157, allocations: 79.55 kB / 0.6186 GB, free: 2.164 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.5161, allocations: 253.6 kB / 0.6188 GB, free: 1.883 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.5161, allocations: 27.62 kB / 0.6188 GB, free: 1.867 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.947e-05/0.5162, allocations: 23.25 kB / 0.6189 GB, free: 1.852 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005508/0.5167, allocations: 397.6 kB / 0.6192 GB, free: 1.527 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.5167, allocations: 4 kB / 0.6192 GB, free: 1.523 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.5168, allocations: 14.5 kB / 0.6193 GB, free: 1.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.189e-05/0.5168, allocations: 16.55 kB / 0.6193 GB, free: 1.504 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003766/0.5172, allocations: 266.6 kB / 0.6195 GB, free: 1.305 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.5187, allocations: 1.108 MB / 0.6206 GB, free: 264 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000335/0.519, allocations: 210.7 kB / 0.6208 GB, free: 48 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.5192, allocations: 84.56 kB / 0.6209 GB, free: 15.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.853e-05/0.5192, allocations: 7.984 kB / 0.6209 GB, free: 15.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.5192, allocations: 38.12 kB / 0.6209 GB, free: 15.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.5192, allocations: 0 / 0.6209 GB, free: 15.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004482/0.5197, allocations: 204.3 kB / 0.6211 GB, free: 15.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.5198, allocations: 114.8 kB / 0.6212 GB, free: 15.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003841/0.5202, allocations: 361 kB / 0.6216 GB, free: 15.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.5202, allocations: 25.7 kB / 0.6216 GB, free: 15.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.5203, allocations: 181.8 kB / 0.6218 GB, free: 15.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.57e-05/0.5204, allocations: 57.88 kB / 0.6218 GB, free: 15.06 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.434e-05/0.5204, allocations: 3.062 kB / 0.6218 GB, free: 15.06 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.5205, allocations: 348 kB / 0.6222 GB, free: 14.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.5207, allocations: 86.16 kB / 0.6223 GB, free: 14.65 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.5209, allocations: 212.5 kB / 0.6225 GB, free: 14.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.5211, allocations: 119.1 kB / 0.6226 GB, free: 14.31 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5211, allocations: 0 / 0.6226 GB, free: 14.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005183/0.5216, allocations: 344.6 kB / 0.6229 GB, free: 14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.5217, allocations: 4 kB / 0.6229 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.279e-05/0.5217, allocations: 27.97 kB / 0.6229 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.5217, allocations: 4 kB / 0.6229 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/0.522, allocations: 59.66 kB / 0.623 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.522, allocations: 11.98 kB / 0.623 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.5223, allocations: 55.44 kB / 0.6231 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/0.5223, allocations: 15.98 kB / 0.6231 GB, free: 13.84 MB / 426.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 () * 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.0001026/0.5224, allocations: 124 kB / 0.6232 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.103e-05/0.5225, allocations: 27.62 kB / 0.6232 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004594/0.523, allocations: 270.3 kB / 0.6235 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.523, allocations: 7.984 kB / 0.6235 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.523, allocations: 0 / 0.6235 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.523, allocations: 4 kB / 0.6235 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004154/0.5234, allocations: 303 kB / 0.6238 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.947e-05/0.5235, allocations: 15.98 kB / 0.6238 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.5236, allocations: 35.97 kB / 0.6238 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.5236, allocations: 0 / 0.6238 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.5237, allocations: 11.67 kB / 0.6238 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.5237, allocations: 7.938 kB / 0.6238 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.5237, allocations: 0 / 0.6238 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004532/0.5241, allocations: 477.1 kB / 0.6243 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.413e-05/0.5242, allocations: 108.7 kB / 0.6244 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.49e-05/0.5243, allocations: 7.188 kB / 0.6244 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.5246, allocations: 27.97 kB / 0.6244 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.735e-05/0.5246, allocations: 19.34 kB / 0.6245 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.5247, allocations: 7.938 kB / 0.6245 GB, free: 12.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002696/0.5249, allocations: 283.7 kB / 0.6247 GB, free: 12.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.525, allocations: 3.938 kB / 0.6247 GB, free: 12.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005378/0.5255, allocations: 117.5 kB / 0.6248 GB, free: 12.07 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 (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.0009874/0.5265, allocations: 1.236 MB / 0.6261 GB, free: 10.83 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004755/0.527, allocations: 366.7 kB / 0.6264 GB, free: 10.46 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.527, allocations: 5.062 kB / 0.6264 GB, free: 10.46 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.5272, allocations: 243.7 kB / 0.6266 GB, free: 10.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.5276, allocations: 78.47 kB / 0.6267 GB, free: 10.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.5288, allocations: 0.5302 MB / 0.6272 GB, free: 9.598 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.5292, allocations: 0.8056 MB / 0.628 GB, free: 8.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001633/0.5294, allocations: 62.92 kB / 0.6281 GB, free: 8.711 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.5295, allocations: 87.97 kB / 0.6282 GB, free: 8.68 MB / 426.7 MB Notification: Performance of SimCode: time 1.653e-06/0.5295, allocations: 0 / 0.6282 GB, free: 8.68 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02049/0.55, allocations: 8.584 MB / 0.6365 GB, free: 332 kB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/0.5503, allocations: 201.4 kB / 0.6367 GB, free: 96 kB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.962/2.512, allocations: 0 / 0.6367 GB, free: 96 kB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat does not exist to compare? outputFormat=mat