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_KC.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_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001743/0.001743, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002142/0.002142, allocations: 203.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 227.4 MB / 247 MB, free: 10.41 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.2171/0.2171, allocations: 46.1 MB / 344.3 MB, free: 11.45 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.002221/0.002221, allocations: 83.86 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3492, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.004744/0.354, allocations: 2.007 MB / 0.5326 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002125/0.3562, allocations: 0.9438 MB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.3563, allocations: 1.375 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003584/0.3567, allocations: 68.09 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005329/0.3573, allocations: 120.2 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003805/0.3576, allocations: 90.02 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000621/0.3583, allocations: 392.3 kB / 0.5342 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.3584, allocations: 43 kB / 0.5342 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003665/0.3588, allocations: 161.2 kB / 0.5344 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000349/0.3591, allocations: 173.6 kB / 0.5345 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.767e-05/0.3592, allocations: 9.938 kB / 0.5345 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004328/0.3596, allocations: 155.8 kB / 0.5347 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.3598, allocations: 96.22 kB / 0.5348 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002342/0.3601, allocations: 152.8 kB / 0.5349 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007547/0.3608, allocations: 443 kB / 0.5353 GB, free: 9.914 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3609, allocations: 0 / 0.5353 GB, free: 9.914 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3609, allocations: 0 / 0.5353 GB, free: 9.914 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.3609, allocations: 0 / 0.5353 GB, free: 9.914 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001482/0.3624, allocations: 0.6595 MB / 0.536 GB, free: 9.336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.3624, allocations: 8.812 kB / 0.536 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001441/0.3626, allocations: 92.22 kB / 0.5361 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.3627, allocations: 46.94 kB / 0.5361 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005239/0.3633, allocations: 285.4 kB / 0.5364 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.628e-05/0.3633, allocations: 23.88 kB / 0.5364 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.752e-05/0.3634, allocations: 39.7 kB / 0.5365 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.3647, allocations: 0.5526 MB / 0.537 GB, free: 8.633 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.3648, allocations: 0 / 0.537 GB, free: 8.633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.161e-05/0.3649, allocations: 19.39 kB / 0.537 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.685e-05/0.3649, allocations: 39.45 kB / 0.537 GB, free: 8.605 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/0.3666, allocations: 0.5718 MB / 0.5376 GB, free: 8.348 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002631/0.3692, allocations: 1.181 MB / 0.5388 GB, free: 7.535 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.3703, allocations: 375.8 kB / 0.5391 GB, free: 7.383 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004273/0.3707, allocations: 142.7 kB / 0.5393 GB, free: 7.316 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.211e-05/0.3708, allocations: 7.703 kB / 0.5393 GB, free: 7.312 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.348e-05/0.3709, allocations: 34.56 kB / 0.5393 GB, free: 7.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 3.587e-06/0.3709, allocations: 1.25 kB / 0.5393 GB, free: 7.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001572/0.3725, allocations: 462.3 kB / 0.5397 GB, free: 7.066 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.977e-05/0.3725, allocations: 61.91 kB / 0.5398 GB, free: 6.996 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008244/0.3734, allocations: 455.2 kB / 0.5402 GB, free: 6.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.432e-05/0.3734, allocations: 25.7 kB / 0.5403 GB, free: 6.699 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/0.3737, allocations: 196.2 kB / 0.5404 GB, free: 6.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.3738, allocations: 73.12 kB / 0.5405 GB, free: 6.457 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.374, allocations: 55.84 kB / 0.5406 GB, free: 6.418 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002818/0.3743, allocations: 357.9 kB / 0.5409 GB, free: 6.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004411/0.3748, allocations: 114.8 kB / 0.541 GB, free: 6.027 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004421/0.3752, allocations: 121.8 kB / 0.5411 GB, free: 5.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000949/0.3762, allocations: 265.2 kB / 0.5414 GB, free: 5.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.3762, allocations: 0 / 0.5414 GB, free: 5.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001103/0.3773, allocations: 349.4 kB / 0.5417 GB, free: 5.711 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.3773, allocations: 8.438 kB / 0.5417 GB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3774, allocations: 5.125 kB / 0.5417 GB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.3774, allocations: 0.9375 kB / 0.5417 GB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.3785, allocations: 150.8 kB / 0.5419 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005006/0.3835, allocations: 5.524 MB / 0.5473 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004244/0.384, allocations: 52.25 kB / 0.5473 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.482e-05/0.3841, allocations: 10.66 kB / 0.5473 GB, free: 140 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004104/0.3845, allocations: 196.1 kB / 0.5475 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.3846, allocations: 35.77 kB / 0.5476 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.3859, allocations: 451.9 kB / 0.548 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.3859, allocations: 8.062 kB / 0.548 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.386, allocations: 0 / 0.548 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.386, allocations: 3.984 kB / 0.548 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007423/0.3867, allocations: 377.2 kB / 0.5484 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3867, allocations: 0 / 0.5484 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009745/0.3877, allocations: 151.9 kB / 0.5485 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.3877, allocations: 4 kB / 0.5485 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.211e-05/0.3878, allocations: 11.98 kB / 0.5485 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004742/0.3925, allocations: 5.52 MB / 0.5539 GB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.447e-06/0.3926, allocations: 7.922 kB / 0.5539 GB, free: 9.148 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.3937, allocations: 459.1 kB / 0.5543 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/0.3939, allocations: 116.8 kB / 0.5545 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.166e-05/0.394, allocations: 4 kB / 0.5545 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000335/0.3944, allocations: 15.92 kB / 0.5545 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.3945, allocations: 23.91 kB / 0.5545 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.381e-05/0.3946, allocations: 12 kB / 0.5545 GB, free: 8.496 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006042/0.3952, allocations: 335.1 kB / 0.5548 GB, free: 8.172 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.3952, allocations: 0 / 0.5548 GB, free: 8.172 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007166/0.3959, allocations: 103.8 kB / 0.5549 GB, free: 8.07 MB / 414.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001667/0.3976, allocations: 1.02 MB / 0.5559 GB, free: 7.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001773/0.3994, allocations: 402.5 kB / 0.5563 GB, free: 6.629 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3994, allocations: 0 / 0.5563 GB, free: 6.629 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001255/0.4007, allocations: 275.7 kB / 0.5566 GB, free: 6.359 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008317/0.4015, allocations: 85.45 kB / 0.5567 GB, free: 6.277 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00878/0.4103, allocations: 4.366 MB / 0.5609 GB, free: 1.832 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007147/0.4111, allocations: 0.8504 MB / 0.5618 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003836/0.4115, allocations: 79.22 kB / 0.5618 GB, free: 0.875 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/0.4117, allocations: 119.3 kB / 0.5619 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of SimCode: time 5.821e-06/0.4118, allocations: 4 kB / 0.5619 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04621/0.458, allocations: 11.55 MB / 0.5732 GB, free: 5.465 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.77, allocations: 16.3 kB / 0.5732 GB, free: 5.457 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC_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_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1)