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.001829/0.001829, allocations: 117.7 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002126/0.002126, allocations: 211.8 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 247 MB, free: 10.43 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.2314/0.2314, allocations: 46.12 MB / 344.4 MB, free: 11.47 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.002216/0.002216, allocations: 79.86 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3381, allocations: 62.44 MB / 0.5306 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.003405/0.3416, allocations: 2.026 MB / 0.5326 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.3432, allocations: 0.9322 MB / 0.5335 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.022e-05/0.3433, allocations: 2.75 kB / 0.5335 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002948/0.3436, allocations: 62.78 kB / 0.5336 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003483/0.3439, allocations: 120.1 kB / 0.5337 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.3442, allocations: 94.02 kB / 0.5338 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000406/0.3446, allocations: 388.7 kB / 0.5342 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.048e-05/0.3447, allocations: 42.84 kB / 0.5342 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002532/0.345, allocations: 164.4 kB / 0.5344 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.3452, allocations: 173.8 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.305e-05/0.3453, allocations: 10.5 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002965/0.3456, allocations: 156.3 kB / 0.5347 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.3457, allocations: 95.69 kB / 0.5348 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.3459, allocations: 152.2 kB / 0.5349 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005711/0.3464, allocations: 442.6 kB / 0.5353 GB, free: 9.801 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3465, allocations: 1.375 kB / 0.5353 GB, free: 9.801 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3465, allocations: 0 / 0.5353 GB, free: 9.801 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.3465, allocations: 0 / 0.5353 GB, free: 9.801 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.001144/0.3476, allocations: 0.666 MB / 0.536 GB, free: 9.215 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.3477, allocations: 9.938 kB / 0.536 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/0.3478, allocations: 87.95 kB / 0.5361 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.306e-05/0.3479, allocations: 42.81 kB / 0.5361 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.3483, allocations: 282 kB / 0.5364 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.137e-05/0.3483, allocations: 31.58 kB / 0.5364 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.092e-05/0.3484, allocations: 31.69 kB / 0.5365 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009326/0.3493, allocations: 0.556 MB / 0.537 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.3493, allocations: 1.188 kB / 0.537 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.3494, allocations: 18.17 kB / 0.537 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.366e-05/0.3495, allocations: 35.89 kB / 0.537 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.3505, allocations: 0.584 MB / 0.5376 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.3523, allocations: 1.173 MB / 0.5388 GB, free: 7.422 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006497/0.353, allocations: 379.5 kB / 0.5391 GB, free: 7.266 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002553/0.3532, allocations: 137.8 kB / 0.5393 GB, free: 7.203 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.25e-05/0.3533, allocations: 12 kB / 0.5393 GB, free: 7.195 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.3533, allocations: 35.94 kB / 0.5393 GB, free: 7.152 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.593e-06/0.3533, allocations: 0 / 0.5393 GB, free: 7.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001018/0.3543, allocations: 459.2 kB / 0.5397 GB, free: 6.953 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.3544, allocations: 57.66 kB / 0.5398 GB, free: 6.887 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005041/0.3549, allocations: 455.3 kB / 0.5402 GB, free: 6.621 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.3549, allocations: 30.7 kB / 0.5403 GB, free: 6.586 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.3551, allocations: 192.2 kB / 0.5404 GB, free: 6.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.141e-05/0.3552, allocations: 75.81 kB / 0.5405 GB, free: 6.344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.3553, allocations: 52.02 kB / 0.5406 GB, free: 6.309 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.3555, allocations: 358.6 kB / 0.5409 GB, free: 5.961 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.3558, allocations: 118.4 kB / 0.541 GB, free: 5.914 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.356, allocations: 121.6 kB / 0.5411 GB, free: 5.867 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005219/0.3565, allocations: 261.2 kB / 0.5414 GB, free: 5.766 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3566, allocations: 3.938 kB / 0.5414 GB, free: 5.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006827/0.3572, allocations: 345.1 kB / 0.5417 GB, free: 5.602 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.3573, allocations: 9.5 kB / 0.5417 GB, free: 5.598 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3573, allocations: 4 kB / 0.5417 GB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3573, allocations: 1.156 kB / 0.5417 GB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007209/0.358, allocations: 155.6 kB / 0.5419 GB, free: 5.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003234/0.3613, allocations: 5.519 MB / 0.5473 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002785/0.3616, allocations: 53.25 kB / 0.5473 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.3616, allocations: 11.09 kB / 0.5473 GB, free: 28 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.0002601/0.3619, allocations: 199.8 kB / 0.5475 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.076e-05/0.362, allocations: 35.77 kB / 0.5476 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009082/0.3629, allocations: 459.5 kB / 0.548 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.3629, allocations: 8.094 kB / 0.548 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3629, allocations: 4 kB / 0.548 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3629, allocations: 0 / 0.548 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000483/0.3634, allocations: 373.2 kB / 0.5484 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3634, allocations: 0 / 0.5484 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006579/0.3641, allocations: 155.9 kB / 0.5485 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/0.3641, allocations: 0 / 0.5485 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.3641, allocations: 8 kB / 0.5485 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003398/0.3675, allocations: 5.52 MB / 0.5539 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.3675, allocations: 3.938 kB / 0.5539 GB, free: 9.031 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007282/0.3683, allocations: 447.2 kB / 0.5543 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.3684, allocations: 120.8 kB / 0.5545 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.664e-05/0.3685, allocations: 4 kB / 0.5545 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.3687, allocations: 7.984 kB / 0.5545 GB, free: 8.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.787e-05/0.3688, allocations: 27.91 kB / 0.5545 GB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/0.3688, allocations: 12 kB / 0.5545 GB, free: 8.391 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003845/0.3692, allocations: 339.1 kB / 0.5548 GB, free: 8.062 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3692, allocations: 0 / 0.5548 GB, free: 8.062 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004292/0.3697, allocations: 107.8 kB / 0.5549 GB, free: 7.957 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.001175/0.3708, allocations: 1.02 MB / 0.5559 GB, free: 6.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001177/0.372, allocations: 399.5 kB / 0.5563 GB, free: 6.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.372, allocations: 0 / 0.5563 GB, free: 6.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000818/0.3729, allocations: 283.7 kB / 0.5566 GB, free: 6.242 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.3734, allocations: 89.44 kB / 0.5567 GB, free: 6.156 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005913/0.3793, allocations: 4.361 MB / 0.5609 GB, free: 1.719 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005208/0.3798, allocations: 0.8465 MB / 0.5617 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002362/0.3801, allocations: 95.12 kB / 0.5618 GB, free: 0.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.3803, allocations: 115.4 kB / 0.5619 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of SimCode: time 9.01e-07/0.3803, allocations: 4 kB / 0.562 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03611/0.4164, allocations: 11.54 MB / 0.5732 GB, free: 5.355 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.49, allocations: 9.453 kB / 0.5732 GB, free: 5.352 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.000404 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)