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.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,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001267/0.001267, allocations: 118.2 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.001418/0.001418, allocations: 205.2 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.428/1.428, 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.2326/0.2326, allocations: 46.12 MB / 344.4 MB, free: 11.44 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.002272/0.002272, allocations: 75.88 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3626, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.003807/0.3665, allocations: 2.133 MB / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.3687, allocations: 1.291 MB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.3689, allocations: 1.375 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003086/0.3692, allocations: 70.66 kB / 0.534 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.3695, allocations: 85.31 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006048/0.3701, allocations: 206.6 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005415/0.3706, allocations: 442.4 kB / 0.5347 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.114e-05/0.3707, allocations: 49.59 kB / 0.5348 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002952/0.3711, allocations: 163.2 kB / 0.5349 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.3713, allocations: 183.8 kB / 0.5351 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.093e-05/0.3714, allocations: 13.44 kB / 0.5351 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005158/0.3719, allocations: 272.3 kB / 0.5354 GB, free: 9.801 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.3721, allocations: 91.16 kB / 0.5355 GB, free: 9.738 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002018/0.3723, allocations: 167.4 kB / 0.5356 GB, free: 9.629 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007462/0.373, allocations: 0.5125 MB / 0.5361 GB, free: 9.312 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.373, allocations: 4 kB / 0.5361 GB, free: 9.309 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.373, allocations: 0 / 0.5361 GB, free: 9.309 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.3731, allocations: 0 / 0.5361 GB, free: 9.309 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.001406/0.3745, allocations: 0.7234 MB / 0.5368 GB, free: 8.691 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.3745, allocations: 8.594 kB / 0.5369 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001137/0.3746, allocations: 82.94 kB / 0.5369 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004779/0.3751, allocations: 83.05 kB / 0.537 GB, free: 8.578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004297/0.3756, allocations: 294.7 kB / 0.5373 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.994e-05/0.3756, allocations: 28.69 kB / 0.5373 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.166e-05/0.3757, allocations: 41.16 kB / 0.5374 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.3768, allocations: 0.5828 MB / 0.5379 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.3768, allocations: 1.125 kB / 0.5379 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.999e-05/0.3768, allocations: 15.47 kB / 0.5379 GB, free: 7.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.17e-05/0.3769, allocations: 22.67 kB / 0.538 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008936/0.3778, allocations: 425.3 kB / 0.5384 GB, free: 7.723 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002382/0.3802, allocations: 1.378 MB / 0.5397 GB, free: 6.684 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007523/0.381, allocations: 271.8 kB / 0.54 GB, free: 6.527 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/0.3813, allocations: 136.1 kB / 0.5401 GB, free: 6.457 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.136e-05/0.3814, allocations: 12.08 kB / 0.5401 GB, free: 6.449 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/0.3814, allocations: 40.94 kB / 0.5402 GB, free: 6.402 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.833e-06/0.3814, allocations: 0 / 0.5402 GB, free: 6.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001422/0.3828, allocations: 455.4 kB / 0.5406 GB, free: 6.203 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.837e-05/0.3829, allocations: 105 kB / 0.5407 GB, free: 6.078 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006332/0.3836, allocations: 0.4986 MB / 0.5412 GB, free: 5.793 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.3836, allocations: 30.92 kB / 0.5412 GB, free: 5.758 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.3838, allocations: 212.9 kB / 0.5414 GB, free: 5.562 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.949e-05/0.3839, allocations: 59.47 kB / 0.5415 GB, free: 5.512 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.384, allocations: 49.23 kB / 0.5415 GB, free: 5.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.3842, allocations: 355.1 kB / 0.5419 GB, free: 5.137 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003331/0.3846, allocations: 129.4 kB / 0.542 GB, free: 5.086 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003721/0.3849, allocations: 175.5 kB / 0.5421 GB, free: 4.984 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007026/0.3857, allocations: 299.6 kB / 0.5424 GB, free: 4.832 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.3857, allocations: 7.938 kB / 0.5424 GB, free: 4.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009311/0.3866, allocations: 380.5 kB / 0.5428 GB, free: 4.652 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.3866, allocations: 13.64 kB / 0.5428 GB, free: 4.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-05/0.3867, allocations: 29.67 kB / 0.5428 GB, free: 4.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.3867, allocations: 10.3 kB / 0.5428 GB, free: 4.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.387, allocations: 38.33 kB / 0.5429 GB, free: 4.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.387, allocations: 1.594 kB / 0.5429 GB, free: 4.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003513/0.3873, allocations: 59.92 kB / 0.5429 GB, free: 4.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.463e-05/0.3874, allocations: 13.56 kB / 0.543 GB, free: 4.57 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.000259/0.3876, allocations: 192.4 kB / 0.5431 GB, free: 4.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.3878, allocations: 44.84 kB / 0.5432 GB, free: 4.383 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008144/0.3886, allocations: 373.9 kB / 0.5435 GB, free: 4.141 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.3886, allocations: 4 kB / 0.5435 GB, free: 4.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3886, allocations: 0 / 0.5435 GB, free: 4.137 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.3886, allocations: 7.984 kB / 0.5436 GB, free: 4.129 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006019/0.3892, allocations: 361.3 kB / 0.5439 GB, free: 3.727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-05/0.3893, allocations: 36 kB / 0.5439 GB, free: 3.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.3895, allocations: 27.91 kB / 0.544 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.3895, allocations: 7.984 kB / 0.544 GB, free: 3.656 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.3895, allocations: 12 kB / 0.544 GB, free: 3.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.3895, allocations: 0 / 0.544 GB, free: 3.645 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.3895, allocations: 7.922 kB / 0.544 GB, free: 3.637 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008989/0.3904, allocations: 0.5795 MB / 0.5445 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.3906, allocations: 120.8 kB / 0.5447 GB, free: 2.902 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.82e-05/0.3906, allocations: 4 kB / 0.5447 GB, free: 2.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.3909, allocations: 19.97 kB / 0.5447 GB, free: 2.879 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.263e-05/0.391, allocations: 15.98 kB / 0.5447 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.391, allocations: 12 kB / 0.5447 GB, free: 2.852 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004313/0.3915, allocations: 383 kB / 0.5451 GB, free: 2.484 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.3915, allocations: 0 / 0.5451 GB, free: 2.484 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005532/0.392, allocations: 119.7 kB / 0.5452 GB, free: 2.367 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.001437/0.3935, allocations: 1.179 MB / 0.5463 GB, free: 1.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009362/0.3944, allocations: 0.5146 MB / 0.5468 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3944, allocations: 0 / 0.5468 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004926/0.3949, allocations: 387.4 kB / 0.5472 GB, free: 160 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000668/0.3956, allocations: 103.9 kB / 0.5473 GB, free: 56 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007136/0.4028, allocations: 4.742 MB / 0.5519 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005408/0.4033, allocations: 0.8497 MB / 0.5528 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001989/0.4035, allocations: 63.23 kB / 0.5528 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.4037, allocations: 110.3 kB / 0.5529 GB, free: 10.15 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4037, allocations: 0 / 0.5529 GB, free: 10.15 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03834/0.4421, allocations: 11.5 MB / 0.5642 GB, free: 14.87 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.495/8.938, allocations: 13.42 kB / 0.5642 GB, free: 14.86 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1)