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.StraightPipe.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.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_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.001527/0.001527, allocations: 121.5 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001761/0.001761, allocations: 199.9 kB / 18.73 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 247 MB, free: 10.44 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.2246/0.2246, allocations: 46.13 MB / 344.4 MB, free: 11.43 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.002239/0.002239, allocations: 80.16 kB / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3249, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003278/0.3282, allocations: 2.027 MB / 0.5326 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.3301, allocations: 1.154 MB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.3302, allocations: 1.375 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002651/0.3305, allocations: 61.41 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001884/0.3307, allocations: 73.2 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005614/0.3313, allocations: 178.4 kB / 0.534 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003871/0.3317, allocations: 330.2 kB / 0.5344 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.906e-05/0.3318, allocations: 29.58 kB / 0.5344 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.332, allocations: 126.6 kB / 0.5345 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.3322, allocations: 137.4 kB / 0.5346 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.406e-05/0.3323, allocations: 10.28 kB / 0.5346 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003877/0.3327, allocations: 210.7 kB / 0.5348 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.625e-05/0.3328, allocations: 69.61 kB / 0.5349 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.3329, allocations: 133.8 kB / 0.535 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005306/0.3334, allocations: 398.7 kB / 0.5354 GB, free: 9.828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.3335, allocations: 3.984 kB / 0.5354 GB, free: 9.824 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3335, allocations: 3.938 kB / 0.5354 GB, free: 9.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.3335, allocations: 5.375 kB / 0.5354 GB, free: 9.816 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001104/0.3346, allocations: 0.6319 MB / 0.536 GB, free: 9.254 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.3346, allocations: 8.938 kB / 0.5361 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.11e-05/0.3347, allocations: 66.81 kB / 0.5361 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004024/0.3351, allocations: 73.22 kB / 0.5362 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.3355, allocations: 259.3 kB / 0.5364 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.3355, allocations: 18.47 kB / 0.5365 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.252e-05/0.3356, allocations: 25.94 kB / 0.5365 GB, free: 8.887 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007725/0.3363, allocations: 432.2 kB / 0.5369 GB, free: 8.629 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3364, allocations: 4 kB / 0.5369 GB, free: 8.625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/0.3364, allocations: 14.7 kB / 0.5369 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.55e-05/0.3365, allocations: 17.66 kB / 0.5369 GB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007067/0.3372, allocations: 322.8 kB / 0.5372 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.3387, allocations: 1.108 MB / 0.5383 GB, free: 7.574 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005272/0.3393, allocations: 239.3 kB / 0.5385 GB, free: 7.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002781/0.3396, allocations: 110.5 kB / 0.5387 GB, free: 7.367 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.684e-05/0.3396, allocations: 7.266 kB / 0.5387 GB, free: 7.363 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.3397, allocations: 43.81 kB / 0.5387 GB, free: 7.312 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.673e-06/0.3397, allocations: 0 / 0.5387 GB, free: 7.312 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001028/0.3407, allocations: 346.7 kB / 0.539 GB, free: 7.156 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.113e-05/0.3408, allocations: 116.6 kB / 0.5391 GB, free: 7.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004298/0.3412, allocations: 406.7 kB / 0.5395 GB, free: 6.773 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.3413, allocations: 25.7 kB / 0.5396 GB, free: 6.742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.3414, allocations: 201.9 kB / 0.5397 GB, free: 6.555 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.216e-05/0.3415, allocations: 54.59 kB / 0.5398 GB, free: 6.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.3416, allocations: 61.89 kB / 0.5399 GB, free: 6.465 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3418, allocations: 340.3 kB / 0.5402 GB, free: 6.133 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003058/0.3421, allocations: 121.7 kB / 0.5403 GB, free: 6.082 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004191/0.3425, allocations: 240.2 kB / 0.5405 GB, free: 5.871 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007433/0.3433, allocations: 374.3 kB / 0.5409 GB, free: 5.598 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.3433, allocations: 1.125 kB / 0.5409 GB, free: 5.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008912/0.3442, allocations: 395.2 kB / 0.5413 GB, free: 5.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.3442, allocations: 7.125 kB / 0.5413 GB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-05/0.3443, allocations: 29.7 kB / 0.5413 GB, free: 5.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.3443, allocations: 6 kB / 0.5413 GB, free: 5.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.3445, allocations: 52.05 kB / 0.5414 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.3446, allocations: 9.531 kB / 0.5414 GB, free: 5.375 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/0.3449, allocations: 56.7 kB / 0.5414 GB, free: 5.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.392e-05/0.3449, allocations: 22.27 kB / 0.5414 GB, free: 5.332 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0002165/0.3451, allocations: 187.8 kB / 0.5416 GB, free: 5.176 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.925e-05/0.3452, allocations: 29.69 kB / 0.5416 GB, free: 5.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006343/0.3459, allocations: 288.4 kB / 0.5419 GB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.3459, allocations: 6.062 kB / 0.5419 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3459, allocations: 5.125 kB / 0.5419 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3459, allocations: 1.125 kB / 0.5419 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000513/0.3464, allocations: 303 kB / 0.5422 GB, free: 4.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.432e-05/0.3465, allocations: 18.41 kB / 0.5422 GB, free: 4.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.3466, allocations: 22.88 kB / 0.5423 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.3466, allocations: 2.219 kB / 0.5423 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.3467, allocations: 4.344 kB / 0.5423 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.3467, allocations: 5.094 kB / 0.5423 GB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.3467, allocations: 9.453 kB / 0.5423 GB, free: 4.699 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007831/0.3475, allocations: 0.5009 MB / 0.5428 GB, free: 4.316 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.3476, allocations: 117.2 kB / 0.5429 GB, free: 4.195 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.819e-05/0.3476, allocations: 9.125 kB / 0.5429 GB, free: 4.188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.3479, allocations: 22.06 kB / 0.5429 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.163e-05/0.348, allocations: 15.98 kB / 0.5429 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.348, allocations: 6.375 kB / 0.5429 GB, free: 4.168 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003153/0.3483, allocations: 292.7 kB / 0.5432 GB, free: 3.988 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3483, allocations: 0 / 0.5432 GB, free: 3.988 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005301/0.3489, allocations: 91.84 kB / 0.5433 GB, free: 3.977 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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001306/0.3502, allocations: 1.1 MB / 0.5444 GB, free: 3.031 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008833/0.3511, allocations: 435.8 kB / 0.5448 GB, free: 2.625 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3511, allocations: 0 / 0.5448 GB, free: 2.625 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004056/0.3515, allocations: 271.1 kB / 0.545 GB, free: 2.324 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005941/0.3521, allocations: 77.83 kB / 0.5451 GB, free: 2.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005357/0.3575, allocations: 3.846 MB / 0.5489 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/0.358, allocations: 0.7986 MB / 0.5497 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001844/0.3582, allocations: 66.91 kB / 0.5497 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.3583, allocations: 87.41 kB / 0.5498 GB, free: 13.24 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3583, allocations: 3.938 kB / 0.5498 GB, free: 13.24 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03367/0.392, allocations: 9.125 MB / 0.5587 GB, free: 4.332 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.187/8.58, allocations: 15.94 kB / 0.5587 GB, free: 4.32 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1)