Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001083/0.001083, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.2 MB / 245 MB, free: 5.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009285/0.0009285, allocations: 106.6 kB / 297.3 MB, free: 5.988 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.366/0.366, allocations: 45.23 MB / 394.6 MB, free: 31.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002494/0.0002494, allocations: 4 kB / 468.5 MB, free: 7.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3406, allocations: 63.25 MB / 0.5193 GB, free: 37.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1208/0.4615, allocations: 95.11 MB / 0.6122 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.4618, allocations: 95.91 kB / 0.6123 GB, free: 8.254 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02955/0.4913, allocations: 11.08 MB / 0.6231 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4914, allocations: 0 / 0.6231 GB, free: 13 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.79e-05/0.4914, allocations: 12 kB / 0.6231 GB, free: 12.98 MB / 442.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.001056/0.4924, allocations: 0.6472 MB / 0.6237 GB, free: 12.29 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.4925, allocations: 8.031 kB / 0.6237 GB, free: 12.28 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001119/0.4926, allocations: 82.53 kB / 0.6238 GB, free: 12.19 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000394/0.493, allocations: 87.44 kB / 0.6239 GB, free: 12.1 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000429/0.4935, allocations: 290.5 kB / 0.6242 GB, free: 11.78 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.4935, allocations: 29 kB / 0.6242 GB, free: 11.75 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.634e-05/0.4936, allocations: 36 kB / 0.6242 GB, free: 11.72 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.4946, allocations: 0.5816 MB / 0.6248 GB, free: 11.12 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.4947, allocations: 0 / 0.6248 GB, free: 11.12 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.461e-05/0.4947, allocations: 27.98 kB / 0.6248 GB, free: 11.09 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.341e-05/0.4947, allocations: 17 kB / 0.6248 GB, free: 11.08 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008101/0.4956, allocations: 455.5 kB / 0.6253 GB, free: 10.63 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001828/0.4974, allocations: 1.41 MB / 0.6267 GB, free: 9.152 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005169/0.4979, allocations: 279.6 kB / 0.6269 GB, free: 8.852 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.888e-05/0.498, allocations: 7.984 kB / 0.6269 GB, free: 8.844 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.4981, allocations: 42.5 kB / 0.627 GB, free: 8.793 MB / 442.7 MB Notification: Performance of pre-optimization done (n=17): time 2.295e-06/0.4981, allocations: 0 / 0.627 GB, free: 8.793 MB / 442.7 MB Notification: Performance of matching and sorting (n=17): time 0.001219/0.4993, allocations: 0.7074 MB / 0.6277 GB, free: 8.023 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.4993, allocations: 114.7 kB / 0.6278 GB, free: 7.887 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004703/0.4998, allocations: 461 kB / 0.6282 GB, free: 7.434 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.4999, allocations: 25.7 kB / 0.6282 GB, free: 7.402 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.5, allocations: 204.3 kB / 0.6284 GB, free: 7.199 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.908e-05/0.5001, allocations: 59.16 kB / 0.6285 GB, free: 7.141 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.686e-05/0.5001, allocations: 4 kB / 0.6285 GB, free: 7.137 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.5002, allocations: 346.8 kB / 0.6288 GB, free: 6.789 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.5005, allocations: 144 kB / 0.629 GB, free: 6.645 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003283/0.5008, allocations: 190.5 kB / 0.6291 GB, free: 6.445 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003368/0.5012, allocations: 157.6 kB / 0.6293 GB, free: 6.293 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5012, allocations: 0 / 0.6293 GB, free: 6.293 MB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008157/0.502, allocations: 400.9 kB / 0.6297 GB, free: 5.895 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.5021, allocations: 4 kB / 0.6297 GB, free: 5.891 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.015e-05/0.5021, allocations: 31.97 kB / 0.6297 GB, free: 5.859 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.5021, allocations: 0 / 0.6297 GB, free: 5.859 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.5024, allocations: 47.84 kB / 0.6298 GB, free: 5.812 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.5024, allocations: 4 kB / 0.6298 GB, free: 5.809 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/0.5027, allocations: 67.45 kB / 0.6298 GB, free: 5.742 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.5027, allocations: 11.98 kB / 0.6298 GB, free: 5.73 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.0001897/0.5029, allocations: 185.7 kB / 0.63 GB, free: 5.539 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.785e-05/0.503, allocations: 35.53 kB / 0.63 GB, free: 5.504 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007459/0.5038, allocations: 403.6 kB / 0.6304 GB, free: 5.109 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.5038, allocations: 4 kB / 0.6304 GB, free: 5.105 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.5038, allocations: 11.89 kB / 0.6304 GB, free: 5.094 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.5038, allocations: 3.984 kB / 0.6304 GB, free: 5.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005176/0.5043, allocations: 357.3 kB / 0.6308 GB, free: 4.691 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.146e-05/0.5044, allocations: 31.97 kB / 0.6308 GB, free: 4.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.5046, allocations: 31.97 kB / 0.6309 GB, free: 4.629 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.5046, allocations: 4 kB / 0.6309 GB, free: 4.625 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.5046, allocations: 4 kB / 0.6309 GB, free: 4.621 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.5046, allocations: 0 / 0.6309 GB, free: 4.621 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.5046, allocations: 4 kB / 0.6309 GB, free: 4.617 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008228/0.5055, allocations: 0.6221 MB / 0.6315 GB, free: 3.965 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.5056, allocations: 120.6 kB / 0.6316 GB, free: 3.828 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-05/0.5056, allocations: 3.953 kB / 0.6316 GB, free: 3.824 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002878/0.5059, allocations: 31.97 kB / 0.6316 GB, free: 3.793 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.652e-05/0.506, allocations: 19.97 kB / 0.6316 GB, free: 3.773 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.5061, allocations: 12 kB / 0.6316 GB, free: 3.762 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003536/0.5064, allocations: 371 kB / 0.632 GB, free: 3.402 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5064, allocations: 3.938 kB / 0.632 GB, free: 3.398 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005241/0.507, allocations: 131.8 kB / 0.6321 GB, free: 3.27 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.001313/0.5083, allocations: 1.394 MB / 0.6335 GB, free: 1.836 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008281/0.5091, allocations: 0.5452 MB / 0.634 GB, free: 1.238 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5091, allocations: 0 / 0.634 GB, free: 1.238 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004569/0.5096, allocations: 407.4 kB / 0.6344 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005161/0.5101, allocations: 81.58 kB / 0.6345 GB, free: 0.707 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004182/0.5143, allocations: 3.556 MB / 0.638 GB, free: 13.06 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.5147, allocations: 0.8616 MB / 0.6388 GB, free: 12.18 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001692/0.5149, allocations: 59.25 kB / 0.6389 GB, free: 12.12 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.515, allocations: 107.4 kB / 0.639 GB, free: 12.01 MB / 458.7 MB Notification: Performance of SimCode: time 6.01e-07/0.515, allocations: 4 kB / 0.639 GB, free: 12.01 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02169/0.5367, allocations: 10.86 MB / 0.6496 GB, free: 1.398 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/0.5369, allocations: 225.5 kB / 0.6498 GB, free: 1.152 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.398/2.934, allocations: 0 / 0.6498 GB, free: 1.152 MB / 458.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat does not exist to compare? outputFormat=mat