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.001343/0.001343, allocations: 117.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.001291/0.001291, allocations: 207.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.464/1.464, 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.2278/0.2278, allocations: 46.12 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.00228/0.00228, allocations: 79.88 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3373, 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_turbulent): time 0.003304/0.3406, allocations: 2.135 MB / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.3425, allocations: 1.223 MB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.3426, allocations: 1.375 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002622/0.3429, allocations: 70.66 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.3432, allocations: 93.23 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005244/0.3437, allocations: 182.5 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004913/0.3442, allocations: 439 kB / 0.5347 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.383e-05/0.3443, allocations: 45.11 kB / 0.5347 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002681/0.3446, allocations: 162.1 kB / 0.5348 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002359/0.3448, allocations: 182.1 kB / 0.535 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.954e-05/0.3449, allocations: 12.66 kB / 0.535 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000435/0.3453, allocations: 232.2 kB / 0.5353 GB, free: 9.906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.3454, allocations: 94.95 kB / 0.5353 GB, free: 9.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.3456, allocations: 168.6 kB / 0.5355 GB, free: 9.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007133/0.3463, allocations: 0.4912 MB / 0.536 GB, free: 9.422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3463, allocations: 1.062 kB / 0.536 GB, free: 9.422 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3463, allocations: 0 / 0.536 GB, free: 9.422 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.3464, allocations: 0 / 0.536 GB, free: 9.422 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.001206/0.3476, allocations: 0.7186 MB / 0.5367 GB, free: 8.809 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.3476, allocations: 9.219 kB / 0.5367 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.325e-05/0.3477, allocations: 82.52 kB / 0.5368 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003794/0.3481, allocations: 74.78 kB / 0.5368 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003677/0.3485, allocations: 299 kB / 0.5371 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/0.3485, allocations: 32.8 kB / 0.5372 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.467e-05/0.3486, allocations: 37.12 kB / 0.5372 GB, free: 8.398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009401/0.3495, allocations: 0.5746 MB / 0.5378 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.3496, allocations: 1.031 kB / 0.5378 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.927e-05/0.3496, allocations: 15.81 kB / 0.5378 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-05/0.3496, allocations: 22.28 kB / 0.5378 GB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008501/0.3505, allocations: 429.4 kB / 0.5382 GB, free: 7.848 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001887/0.3524, allocations: 1.382 MB / 0.5396 GB, free: 6.805 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005499/0.353, allocations: 267.7 kB / 0.5398 GB, free: 6.652 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003281/0.3533, allocations: 140.5 kB / 0.5399 GB, free: 6.578 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.341e-05/0.3534, allocations: 8.828 kB / 0.54 GB, free: 6.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.3534, allocations: 36.62 kB / 0.54 GB, free: 6.531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.904e-06/0.3534, allocations: 0 / 0.54 GB, free: 6.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001238/0.3547, allocations: 465.2 kB / 0.5404 GB, free: 6.324 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.348e-05/0.3548, allocations: 105.1 kB / 0.5405 GB, free: 6.199 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000612/0.3554, allocations: 0.5032 MB / 0.541 GB, free: 5.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.3554, allocations: 30.95 kB / 0.5411 GB, free: 5.875 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.3556, allocations: 205.2 kB / 0.5413 GB, free: 5.688 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.196e-05/0.3557, allocations: 63.25 kB / 0.5413 GB, free: 5.633 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.3558, allocations: 57.62 kB / 0.5414 GB, free: 5.594 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.356, allocations: 350.5 kB / 0.5417 GB, free: 5.254 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003239/0.3563, allocations: 121.7 kB / 0.5418 GB, free: 5.211 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/0.3567, allocations: 176.8 kB / 0.542 GB, free: 5.105 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006715/0.3574, allocations: 299.5 kB / 0.5423 GB, free: 4.953 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3574, allocations: 0 / 0.5423 GB, free: 4.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008854/0.3583, allocations: 394.1 kB / 0.5426 GB, free: 4.766 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.3583, allocations: 9.188 kB / 0.5427 GB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.13e-05/0.3584, allocations: 33.61 kB / 0.5427 GB, free: 4.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3584, allocations: 2.312 kB / 0.5427 GB, free: 4.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.3586, allocations: 29.94 kB / 0.5427 GB, free: 4.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3586, allocations: 2.438 kB / 0.5427 GB, free: 4.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/0.3589, allocations: 63.97 kB / 0.5428 GB, free: 4.699 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.359, allocations: 14.44 kB / 0.5428 GB, free: 4.695 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.0002082/0.3592, allocations: 187.7 kB / 0.543 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.3593, allocations: 45.19 kB / 0.543 GB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007976/0.3601, allocations: 381.6 kB / 0.5434 GB, free: 4.312 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.3601, allocations: 15.92 kB / 0.5434 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3601, allocations: 0 / 0.5434 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3601, allocations: 0 / 0.5434 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006201/0.3607, allocations: 369.3 kB / 0.5437 GB, free: 3.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-05/0.3608, allocations: 27.98 kB / 0.5438 GB, free: 3.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.361, allocations: 27.91 kB / 0.5438 GB, free: 3.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.361, allocations: 4 kB / 0.5438 GB, free: 3.828 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.361, allocations: 8 kB / 0.5438 GB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.361, allocations: 4 kB / 0.5438 GB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.361, allocations: 0 / 0.5438 GB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008743/0.3619, allocations: 0.5756 MB / 0.5444 GB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.362, allocations: 124.8 kB / 0.5445 GB, free: 3.082 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.17e-05/0.3621, allocations: 8 kB / 0.5445 GB, free: 3.074 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002766/0.3624, allocations: 19.97 kB / 0.5445 GB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.036e-05/0.3625, allocations: 15.98 kB / 0.5445 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.3625, allocations: 15.98 kB / 0.5446 GB, free: 3.023 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004141/0.3629, allocations: 375 kB / 0.5449 GB, free: 2.664 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3629, allocations: 0 / 0.5449 GB, free: 2.664 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005185/0.3635, allocations: 119.7 kB / 0.545 GB, free: 2.547 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.001513/0.365, allocations: 1.174 MB / 0.5462 GB, free: 1.348 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009587/0.366, allocations: 0.5185 MB / 0.5467 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.366, allocations: 0 / 0.5467 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005331/0.3665, allocations: 391.1 kB / 0.5471 GB, free: 344 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007075/0.3672, allocations: 97.69 kB / 0.5471 GB, free: 248 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007005/0.3742, allocations: 4.738 MB / 0.5518 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005219/0.3748, allocations: 0.8458 MB / 0.5526 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002143/0.375, allocations: 63.25 kB / 0.5527 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.3752, allocations: 111.4 kB / 0.5528 GB, free: 10.34 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3752, allocations: 0 / 0.5528 GB, free: 10.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03734/0.4126, allocations: 11.41 MB / 0.5639 GB, free: 15.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.516/8.929, allocations: 4.188 kB / 0.5639 GB, free: 15.15 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_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.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1)