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.001174/0.001174, allocations: 196.9 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.284/1.284, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008669/0.000867, allocations: 84.88 kB / 292.1 MB, free: 5.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1786/0.1786, allocations: 45.14 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.859e-05/2.894e-05, allocations: 4 kB / 460.5 MB, free: 69.9 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09853/0.09857, allocations: 63.24 MB / 0.5115 GB, free: 6.676 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3793/0.4779, allocations: 95.04 MB / 0.6043 GB, free: 14.48 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.4782, allocations: 93.62 kB / 0.6044 GB, free: 14.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02809/0.5063, allocations: 11.09 MB / 0.6152 GB, free: 4.738 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.5064, allocations: 0 / 0.6152 GB, free: 4.738 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.606e-05/0.5064, allocations: 4 kB / 0.6152 GB, free: 4.734 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0008021/0.5072, allocations: 0.6133 MB / 0.6158 GB, free: 4.098 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.5072, allocations: 12.03 kB / 0.6158 GB, free: 4.086 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.441e-05/0.5073, allocations: 82.83 kB / 0.6159 GB, free: 4.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003458/0.5077, allocations: 90.84 kB / 0.616 GB, free: 3.934 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.508, allocations: 281 kB / 0.6163 GB, free: 3.629 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.551e-05/0.5081, allocations: 27.34 kB / 0.6163 GB, free: 3.613 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.42e-05/0.5081, allocations: 39.38 kB / 0.6163 GB, free: 3.586 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007026/0.5088, allocations: 0.541 MB / 0.6169 GB, free: 3.156 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.5089, allocations: 0 / 0.6169 GB, free: 3.156 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.5089, allocations: 14.94 kB / 0.6169 GB, free: 3.152 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.262e-05/0.5089, allocations: 20.72 kB / 0.6169 GB, free: 3.133 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004729/0.5094, allocations: 365.1 kB / 0.6172 GB, free: 2.855 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.5111, allocations: 1.407 MB / 0.6186 GB, free: 1.551 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003354/0.5114, allocations: 240 kB / 0.6188 GB, free: 1.312 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.5116, allocations: 105.8 kB / 0.6189 GB, free: 1.211 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.202e-05/0.5117, allocations: 7.984 kB / 0.619 GB, free: 1.203 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.5117, allocations: 42.06 kB / 0.619 GB, free: 1.156 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.663e-06/0.5117, allocations: 0 / 0.619 GB, free: 1.156 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005721/0.5123, allocations: 281.4 kB / 0.6193 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.5123, allocations: 113.7 kB / 0.6194 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000429/0.5128, allocations: 450.5 kB / 0.6198 GB, free: 400 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.5128, allocations: 29.58 kB / 0.6198 GB, free: 368 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.5129, allocations: 205.1 kB / 0.62 GB, free: 224 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/0.513, allocations: 58.28 kB / 0.6201 GB, free: 172 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.593e-05/0.513, allocations: 7.188 kB / 0.6201 GB, free: 168 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.5131, allocations: 349.7 kB / 0.6204 GB, free: 15.83 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.5133, allocations: 98.23 kB / 0.6205 GB, free: 15.74 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.5135, allocations: 136.4 kB / 0.6206 GB, free: 15.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.5137, allocations: 120.9 kB / 0.6208 GB, free: 15.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.5137, allocations: 3.938 kB / 0.6208 GB, free: 15.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004799/0.5142, allocations: 313.5 kB / 0.6211 GB, free: 15.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.5142, allocations: 8 kB / 0.6211 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.191e-05/0.5142, allocations: 28.12 kB / 0.6211 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.5143, allocations: 11.95 kB / 0.6211 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.5145, allocations: 39.16 kB / 0.6211 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.5145, allocations: 3.984 kB / 0.6211 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002701/0.5148, allocations: 66.84 kB / 0.6212 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.5148, allocations: 12 kB / 0.6212 GB, free: 15.05 MB / 426.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 () * 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 8.316e-05/0.5149, allocations: 112.3 kB / 0.6213 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.853e-05/0.515, allocations: 35.53 kB / 0.6214 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005958/0.5156, allocations: 377.5 kB / 0.6217 GB, free: 14.56 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.5156, allocations: 4 kB / 0.6217 GB, free: 14.56 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.5156, allocations: 3.953 kB / 0.6217 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.5156, allocations: 3.984 kB / 0.6217 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004749/0.5161, allocations: 366.4 kB / 0.6221 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.717e-05/0.5162, allocations: 27.97 kB / 0.6221 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.5163, allocations: 39.59 kB / 0.6221 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.5164, allocations: 0 / 0.6221 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.5164, allocations: 8 kB / 0.6222 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.5164, allocations: 4 kB / 0.6222 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.5164, allocations: 0 / 0.6222 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005335/0.5169, allocations: 0.5368 MB / 0.6227 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.5171, allocations: 127.5 kB / 0.6228 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.04e-05/0.5171, allocations: 7.953 kB / 0.6228 GB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002834/0.5174, allocations: 31.16 kB / 0.6228 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.103e-05/0.5175, allocations: 18.23 kB / 0.6229 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.5175, allocations: 15.98 kB / 0.6229 GB, free: 13.36 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003371/0.5179, allocations: 365 kB / 0.6232 GB, free: 13.08 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5179, allocations: 0 / 0.6232 GB, free: 13.08 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005026/0.5184, allocations: 130 kB / 0.6233 GB, free: 12.96 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 (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.0009742/0.5194, allocations: 1.311 MB / 0.6246 GB, free: 11.65 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005079/0.5199, allocations: 472.1 kB / 0.6251 GB, free: 11.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5199, allocations: 4 kB / 0.6251 GB, free: 11.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002927/0.5202, allocations: 357.4 kB / 0.6254 GB, free: 10.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004603/0.5207, allocations: 99.58 kB / 0.6255 GB, free: 10.69 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.5221, allocations: 0.7285 MB / 0.6262 GB, free: 9.973 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.5224, allocations: 0.8523 MB / 0.6271 GB, free: 9.105 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001488/0.5226, allocations: 67.23 kB / 0.6271 GB, free: 9.035 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.5227, allocations: 104.8 kB / 0.6272 GB, free: 9.004 MB / 426.7 MB Notification: Performance of SimCode: time 3e-07/0.5227, allocations: 0 / 0.6272 GB, free: 9.004 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02165/0.5444, allocations: 10.8 MB / 0.6378 GB, free: 14.44 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/0.5446, allocations: 202.1 kB / 0.638 GB, free: 14.21 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.9/2.444, allocations: 0 / 0.638 GB, free: 14.21 MB / 442.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