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_overall.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_overall,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001718/0.001718, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001888/0.001888, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.4 MB / 247 MB, free: 10.42 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.2262/0.2262, allocations: 46.12 MB / 344.3 MB, free: 11.46 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.002279/0.002279, allocations: 79.86 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3543, 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_overall): time 0.003703/0.358, allocations: 2.128 MB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003637/0.3617, allocations: 2.159 MB / 0.5348 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000191/0.3619, allocations: 2.438 kB / 0.5348 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003809/0.3624, allocations: 71.33 kB / 0.5349 GB, free: 9.934 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003416/0.3627, allocations: 102.2 kB / 0.535 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.3641, allocations: 431.5 kB / 0.5354 GB, free: 9.574 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000654/0.3648, allocations: 453.7 kB / 0.5358 GB, free: 9.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.3649, allocations: 45.59 kB / 0.5359 GB, free: 9.309 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003767/0.3653, allocations: 169.6 kB / 0.536 GB, free: 9.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000334/0.3656, allocations: 193.6 kB / 0.5362 GB, free: 9.098 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.397e-05/0.3657, allocations: 13.19 kB / 0.5362 GB, free: 9.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.367, allocations: 0.6167 MB / 0.5368 GB, free: 8.727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002078/0.3672, allocations: 117.9 kB / 0.537 GB, free: 8.645 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002527/0.3675, allocations: 181.1 kB / 0.5371 GB, free: 8.523 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.3687, allocations: 0.7256 MB / 0.5378 GB, free: 8.066 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3687, allocations: 0 / 0.5378 GB, free: 8.066 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3687, allocations: 1.562 kB / 0.5378 GB, free: 8.066 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.3687, allocations: 0 / 0.5378 GB, free: 8.066 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.001576/0.3703, allocations: 0.7815 MB / 0.5386 GB, free: 7.406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.3704, allocations: 9.5 kB / 0.5386 GB, free: 7.406 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001059/0.3705, allocations: 86.19 kB / 0.5387 GB, free: 7.328 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004162/0.3709, allocations: 80.05 kB / 0.5388 GB, free: 7.293 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005078/0.3714, allocations: 314.8 kB / 0.5391 GB, free: 7.008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/0.3715, allocations: 28.66 kB / 0.5391 GB, free: 6.996 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.828e-05/0.3716, allocations: 42.39 kB / 0.5391 GB, free: 6.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.3726, allocations: 0.578 MB / 0.5397 GB, free: 6.637 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.3727, allocations: 1.438 kB / 0.5397 GB, free: 6.637 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.969e-05/0.3727, allocations: 18.55 kB / 0.5397 GB, free: 6.621 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.52e-05/0.3727, allocations: 23.86 kB / 0.5397 GB, free: 6.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008704/0.3736, allocations: 428.3 kB / 0.5401 GB, free: 6.422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.3757, allocations: 1.394 MB / 0.5415 GB, free: 5.375 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005672/0.3763, allocations: 271.2 kB / 0.5418 GB, free: 5.219 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003326/0.3766, allocations: 140.8 kB / 0.5419 GB, free: 5.145 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.514e-05/0.3767, allocations: 12.25 kB / 0.5419 GB, free: 5.137 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.3767, allocations: 36.75 kB / 0.5419 GB, free: 5.094 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 2.214e-06/0.3767, allocations: 0 / 0.5419 GB, free: 5.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001244/0.378, allocations: 460 kB / 0.5424 GB, free: 4.891 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.181e-05/0.3781, allocations: 113 kB / 0.5425 GB, free: 4.758 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007472/0.3788, allocations: 0.5439 MB / 0.543 GB, free: 4.453 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.16e-05/0.3789, allocations: 31.33 kB / 0.5431 GB, free: 4.418 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.3791, allocations: 211.7 kB / 0.5433 GB, free: 4.227 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.176e-05/0.3792, allocations: 65.97 kB / 0.5433 GB, free: 4.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.3793, allocations: 54.62 kB / 0.5434 GB, free: 4.133 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.3795, allocations: 355.3 kB / 0.5437 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/0.3798, allocations: 129.5 kB / 0.5438 GB, free: 3.738 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003779/0.3802, allocations: 172.9 kB / 0.544 GB, free: 3.637 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006999/0.3809, allocations: 300.9 kB / 0.5443 GB, free: 3.387 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.381, allocations: 0 / 0.5443 GB, free: 3.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00091/0.3819, allocations: 387.9 kB / 0.5447 GB, free: 3.004 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.3819, allocations: 7.938 kB / 0.5447 GB, free: 2.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.719e-05/0.382, allocations: 31.98 kB / 0.5447 GB, free: 2.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.382, allocations: 4 kB / 0.5447 GB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.3822, allocations: 31.91 kB / 0.5447 GB, free: 2.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.547e-06/0.3823, allocations: 7.984 kB / 0.5447 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003587/0.3826, allocations: 55.61 kB / 0.5448 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.3827, allocations: 20.06 kB / 0.5448 GB, free: 2.848 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.0003147/0.383, allocations: 197.6 kB / 0.545 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.3831, allocations: 43.66 kB / 0.545 GB, free: 2.602 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008155/0.3839, allocations: 380.9 kB / 0.5454 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.384, allocations: 11.94 kB / 0.5454 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.384, allocations: 0 / 0.5454 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.384, allocations: 0 / 0.5454 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006275/0.3846, allocations: 377.4 kB / 0.5458 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.583e-05/0.3847, allocations: 31.98 kB / 0.5458 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.3848, allocations: 27.91 kB / 0.5458 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.3849, allocations: 4 kB / 0.5458 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/0.3849, allocations: 8 kB / 0.5458 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.3849, allocations: 7.938 kB / 0.5458 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3849, allocations: 0 / 0.5458 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009214/0.3858, allocations: 0.5818 MB / 0.5464 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002629/0.3861, allocations: 160.7 kB / 0.5466 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.346e-05/0.3862, allocations: 0 / 0.5466 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003143/0.3865, allocations: 23.97 kB / 0.5466 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.956e-05/0.3866, allocations: 19.98 kB / 0.5466 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.3866, allocations: 8 kB / 0.5466 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000514/0.3872, allocations: 419 kB / 0.547 GB, free: 496 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3872, allocations: 0 / 0.547 GB, free: 496 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006559/0.3878, allocations: 159.6 kB / 0.5472 GB, free: 336 kB / 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.001708/0.3895, allocations: 1.253 MB / 0.5484 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.3906, allocations: 0.5146 MB / 0.5489 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3906, allocations: 3.938 kB / 0.5489 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005292/0.3911, allocations: 383.1 kB / 0.5493 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007666/0.3919, allocations: 101.3 kB / 0.5494 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007686/0.3996, allocations: 4.948 MB / 0.5542 GB, free: 8.875 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005304/0.4002, allocations: 0.8613 MB / 0.555 GB, free: 7.988 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002313/0.4004, allocations: 67.23 kB / 0.5551 GB, free: 7.918 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.4006, allocations: 119.4 kB / 0.5552 GB, free: 7.805 MB / 414.1 MB Notification: Performance of SimCode: time 1.993e-06/0.4006, allocations: 0 / 0.5552 GB, free: 7.805 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03908/0.4397, allocations: 13.23 MB / 0.5681 GB, free: 10.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.582/9.022, allocations: 11.17 kB / 0.5681 GB, free: 10.78 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_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_overall.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe 2>&1)