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_laminar_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_laminar_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_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.001309/0.001309, allocations: 121.6 kB / 17.79 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.002641/0.002641, allocations: 203.9 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.414/1.414, allocations: 227.4 MB / 247 MB, free: 10.46 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.2325/0.2325, allocations: 46.11 MB / 344.3 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.002273/0.002273, allocations: 83.86 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3529, allocations: 62.44 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.00359/0.3565, allocations: 2.03 MB / 0.5326 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.3582, allocations: 0.9307 MB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.3584, allocations: 2.75 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003271/0.3587, allocations: 66.72 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004314/0.3592, allocations: 121.5 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.3595, allocations: 89.95 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005115/0.36, allocations: 389.3 kB / 0.5342 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.9e-05/0.3601, allocations: 42.91 kB / 0.5342 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003846/0.3605, allocations: 160.2 kB / 0.5343 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003391/0.3608, allocations: 174.1 kB / 0.5345 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.883e-05/0.3609, allocations: 10.03 kB / 0.5345 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003734/0.3613, allocations: 143.5 kB / 0.5347 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.3614, allocations: 92.12 kB / 0.5347 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002334/0.3617, allocations: 165.4 kB / 0.5349 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006561/0.3623, allocations: 432.3 kB / 0.5353 GB, free: 9.953 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.3623, allocations: 5.375 kB / 0.5353 GB, free: 9.949 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3624, allocations: 0 / 0.5353 GB, free: 9.949 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.3624, allocations: 0 / 0.5353 GB, free: 9.949 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.001457/0.3638, allocations: 0.6581 MB / 0.536 GB, free: 9.371 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.3639, allocations: 10 kB / 0.536 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001471/0.3641, allocations: 84.14 kB / 0.5361 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.3642, allocations: 42.88 kB / 0.5361 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004726/0.3647, allocations: 285.9 kB / 0.5364 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.446e-05/0.3647, allocations: 31.33 kB / 0.5364 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.213e-05/0.3648, allocations: 31.84 kB / 0.5364 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.3659, allocations: 0.56 MB / 0.537 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.366, allocations: 0 / 0.537 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.366e-05/0.366, allocations: 15.48 kB / 0.537 GB, free: 8.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.437e-05/0.3661, allocations: 48.25 kB / 0.537 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.3672, allocations: 0.5715 MB / 0.5376 GB, free: 8.383 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001949/0.3692, allocations: 1.173 MB / 0.5387 GB, free: 7.578 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006576/0.3698, allocations: 380.4 kB / 0.5391 GB, free: 7.422 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002632/0.3701, allocations: 137.2 kB / 0.5392 GB, free: 7.359 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.51e-05/0.3702, allocations: 15.39 kB / 0.5392 GB, free: 7.348 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.3702, allocations: 32.09 kB / 0.5393 GB, free: 7.309 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.372e-06/0.3702, allocations: 1.5 kB / 0.5393 GB, free: 7.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009939/0.3712, allocations: 457.7 kB / 0.5397 GB, free: 7.109 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.3713, allocations: 57.72 kB / 0.5398 GB, free: 7.043 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005198/0.3718, allocations: 455 kB / 0.5402 GB, free: 6.777 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.3718, allocations: 34.83 kB / 0.5402 GB, free: 6.738 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.372, allocations: 192.3 kB / 0.5404 GB, free: 6.562 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.986e-05/0.3721, allocations: 76.38 kB / 0.5405 GB, free: 6.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.57e-05/0.3722, allocations: 52.58 kB / 0.5405 GB, free: 6.461 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.3724, allocations: 353.8 kB / 0.5409 GB, free: 6.117 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/0.3727, allocations: 118.9 kB / 0.541 GB, free: 6.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.3729, allocations: 119.8 kB / 0.5411 GB, free: 6.023 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005448/0.3735, allocations: 269.2 kB / 0.5414 GB, free: 5.914 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.3735, allocations: 1 kB / 0.5414 GB, free: 5.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006616/0.3741, allocations: 344.3 kB / 0.5417 GB, free: 5.754 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.3742, allocations: 9.219 kB / 0.5417 GB, free: 5.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3742, allocations: 0 / 0.5417 GB, free: 5.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.3742, allocations: 1.125 kB / 0.5417 GB, free: 5.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007226/0.3749, allocations: 162.8 kB / 0.5419 GB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003724/0.3787, allocations: 5.516 MB / 0.5472 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003009/0.379, allocations: 56.25 kB / 0.5473 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.379, allocations: 15.83 kB / 0.5473 GB, free: 176 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.0002875/0.3793, allocations: 196.3 kB / 0.5475 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-05/0.3794, allocations: 35.77 kB / 0.5475 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009092/0.3803, allocations: 455.5 kB / 0.548 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.3803, allocations: 4 kB / 0.548 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3804, allocations: 0 / 0.548 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3804, allocations: 4 kB / 0.548 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005139/0.3809, allocations: 373.2 kB / 0.5483 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3809, allocations: 0 / 0.5483 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000666/0.3816, allocations: 155.9 kB / 0.5485 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.929e-06/0.3816, allocations: 0 / 0.5485 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.3816, allocations: 11.94 kB / 0.5485 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003368/0.385, allocations: 5.516 MB / 0.5539 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.385, allocations: 3.938 kB / 0.5539 GB, free: 9.191 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007414/0.3858, allocations: 443 kB / 0.5543 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.3859, allocations: 125 kB / 0.5544 GB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.667e-05/0.386, allocations: 11.92 kB / 0.5544 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.3862, allocations: 12 kB / 0.5545 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.628e-05/0.3863, allocations: 23.91 kB / 0.5545 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.07e-05/0.3863, allocations: 11.98 kB / 0.5545 GB, free: 8.543 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003806/0.3867, allocations: 339 kB / 0.5548 GB, free: 8.215 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3867, allocations: 0 / 0.5548 GB, free: 8.215 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004161/0.3871, allocations: 103.8 kB / 0.5549 GB, free: 8.113 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.00122/0.3883, allocations: 1.012 MB / 0.5559 GB, free: 7.074 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001271/0.3896, allocations: 407.5 kB / 0.5563 GB, free: 6.676 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3896, allocations: 0 / 0.5563 GB, free: 6.676 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008246/0.3905, allocations: 275.7 kB / 0.5565 GB, free: 6.406 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005337/0.391, allocations: 85.44 kB / 0.5566 GB, free: 6.324 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006274/0.3973, allocations: 4.369 MB / 0.5609 GB, free: 1.879 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005282/0.3978, allocations: 0.8542 MB / 0.5617 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002251/0.3981, allocations: 87.2 kB / 0.5618 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.3983, allocations: 107.4 kB / 0.5619 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of SimCode: time 3.857e-06/0.3983, allocations: 3.938 kB / 0.5619 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03907/0.4373, allocations: 11.56 MB / 0.5732 GB, free: 5.492 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.59, allocations: 6.016 kB / 0.5732 GB, free: 5.488 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1)