Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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_4_1_0-beta_om_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/ModelicaServices trunk/package.mo): time 0.001313/0.001313, allocations: 121.2 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001374/0.001374, allocations: 200.6 kB / 18.74 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2166/0.2166, allocations: 46.12 MB / 344.4 MB, free: 11.48 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 75.88 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3185, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.003547/0.3221, allocations: 2.137 MB / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.3241, allocations: 1.231 MB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.3242, allocations: 1.344 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002857/0.3245, allocations: 67.91 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002569/0.3248, allocations: 83.22 kB / 0.5341 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005583/0.3253, allocations: 184 kB / 0.5342 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005222/0.3259, allocations: 441.9 kB / 0.5347 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.435e-05/0.326, allocations: 45.31 kB / 0.5347 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002732/0.3263, allocations: 162.5 kB / 0.5349 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.3265, allocations: 182.5 kB / 0.535 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.774e-05/0.3266, allocations: 12.38 kB / 0.535 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004117/0.327, allocations: 227.8 kB / 0.5353 GB, free: 9.918 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.3271, allocations: 96.39 kB / 0.5353 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.3273, allocations: 166.2 kB / 0.5355 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006427/0.3279, allocations: 0.4927 MB / 0.536 GB, free: 9.434 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3279, allocations: 0 / 0.536 GB, free: 9.434 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.328, allocations: 5.094 kB / 0.536 GB, free: 9.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.328, allocations: 0 / 0.536 GB, free: 9.43 MB / 398.1 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.0013/0.3293, allocations: 0.7142 MB / 0.5367 GB, free: 8.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.3293, allocations: 9.188 kB / 0.5367 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000114/0.3295, allocations: 78.94 kB / 0.5368 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004004/0.3299, allocations: 82.64 kB / 0.5369 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004037/0.3303, allocations: 298.6 kB / 0.5371 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.536e-05/0.3303, allocations: 28.91 kB / 0.5372 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.751e-05/0.3304, allocations: 37.47 kB / 0.5372 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009718/0.3314, allocations: 0.5755 MB / 0.5378 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.3314, allocations: 3.938 kB / 0.5378 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.687e-05/0.3314, allocations: 15.53 kB / 0.5378 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.281e-05/0.3315, allocations: 22.52 kB / 0.5378 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000863/0.3323, allocations: 425.3 kB / 0.5382 GB, free: 7.859 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001955/0.3343, allocations: 1.386 MB / 0.5396 GB, free: 6.812 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005622/0.3349, allocations: 275.6 kB / 0.5398 GB, free: 6.652 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003338/0.3352, allocations: 132.4 kB / 0.5399 GB, free: 6.586 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.751e-05/0.3353, allocations: 5.031 kB / 0.54 GB, free: 6.586 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.3353, allocations: 47.62 kB / 0.54 GB, free: 6.531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.733e-06/0.3353, allocations: 1.156 kB / 0.54 GB, free: 6.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001208/0.3365, allocations: 457.9 kB / 0.5404 GB, free: 6.328 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.974e-05/0.3367, allocations: 109.2 kB / 0.5405 GB, free: 6.199 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005865/0.3373, allocations: 0.4995 MB / 0.541 GB, free: 5.914 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.3373, allocations: 27.02 kB / 0.5411 GB, free: 5.883 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.3375, allocations: 213.4 kB / 0.5413 GB, free: 5.688 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.89e-05/0.3375, allocations: 58.83 kB / 0.5413 GB, free: 5.637 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.3377, allocations: 51.05 kB / 0.5414 GB, free: 5.605 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.3378, allocations: 349 kB / 0.5417 GB, free: 5.266 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003331/0.3382, allocations: 129.9 kB / 0.5418 GB, free: 5.215 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003619/0.3386, allocations: 170.1 kB / 0.542 GB, free: 5.117 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007349/0.3393, allocations: 308.1 kB / 0.5423 GB, free: 4.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.3393, allocations: 5.156 kB / 0.5423 GB, free: 4.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008865/0.3402, allocations: 384.5 kB / 0.5426 GB, free: 4.777 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.3402, allocations: 9.781 kB / 0.5427 GB, free: 4.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.417e-05/0.3403, allocations: 28.7 kB / 0.5427 GB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.3403, allocations: 2.781 kB / 0.5427 GB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.3406, allocations: 38.25 kB / 0.5427 GB, free: 4.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.3406, allocations: 6.203 kB / 0.5427 GB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/0.3409, allocations: 51.7 kB / 0.5428 GB, free: 4.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/0.3409, allocations: 14.03 kB / 0.5428 GB, free: 4.711 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002273/0.3412, allocations: 191.8 kB / 0.543 GB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.3413, allocations: 45.25 kB / 0.543 GB, free: 4.523 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008173/0.3421, allocations: 385.8 kB / 0.5434 GB, free: 4.324 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.3421, allocations: 7.938 kB / 0.5434 GB, free: 4.316 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3421, allocations: 0 / 0.5434 GB, free: 4.316 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.3421, allocations: 7.984 kB / 0.5434 GB, free: 4.309 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005943/0.3427, allocations: 365.3 kB / 0.5437 GB, free: 3.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.573e-05/0.3428, allocations: 28 kB / 0.5438 GB, free: 3.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.343, allocations: 31.91 kB / 0.5438 GB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.343, allocations: 0 / 0.5438 GB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.343, allocations: 15.98 kB / 0.5438 GB, free: 3.828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.343, allocations: 0 / 0.5438 GB, free: 3.828 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.343, allocations: 0 / 0.5438 GB, free: 3.828 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008911/0.3439, allocations: 0.5795 MB / 0.5444 GB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.344, allocations: 120.8 kB / 0.5445 GB, free: 3.094 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.609e-05/0.3441, allocations: 4 kB / 0.5445 GB, free: 3.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002704/0.3444, allocations: 19.97 kB / 0.5445 GB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.822e-05/0.3445, allocations: 15.98 kB / 0.5445 GB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.3445, allocations: 12 kB / 0.5446 GB, free: 3.043 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004981/0.345, allocations: 379 kB / 0.5449 GB, free: 2.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.345, allocations: 4 kB / 0.5449 GB, free: 2.676 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005182/0.3455, allocations: 111.8 kB / 0.545 GB, free: 2.566 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001414/0.347, allocations: 1.171 MB / 0.5462 GB, free: 1.367 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009527/0.3479, allocations: 0.5227 MB / 0.5467 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3479, allocations: 0 / 0.5467 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005247/0.3485, allocations: 395.4 kB / 0.5471 GB, free: 356 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000677/0.3492, allocations: 93.36 kB / 0.5471 GB, free: 260 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006688/0.3559, allocations: 4.742 MB / 0.5518 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004989/0.3564, allocations: 0.8458 MB / 0.5526 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001774/0.3566, allocations: 63.23 kB / 0.5527 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.3567, allocations: 111.4 kB / 0.5528 GB, free: 10.35 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3568, allocations: 0 / 0.5528 GB, free: 10.35 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03664/0.3934, allocations: 11.4 MB / 0.5639 GB, free: 15.17 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.486/8.88, allocations: 10.59 kB / 0.5639 GB, free: 15.16 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1)