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.HeatExchanger.kc_roundTube.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.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001251/0.001251, allocations: 118.2 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.001341/0.001341, allocations: 206 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.412/1.412, 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.226/0.226, allocations: 46.12 MB / 344.4 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.00229/0.00229, allocations: 79.88 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3217, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003772/0.3255, allocations: 2.112 MB / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002581/0.3281, allocations: 1.708 MB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.138e-05/0.3282, allocations: 1.375 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.3286, allocations: 95.73 kB / 0.5344 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.3287, allocations: 59.67 kB / 0.5345 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008148/0.3295, allocations: 364.6 kB / 0.5349 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.3297, allocations: 146.1 kB / 0.535 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.266e-05/0.3298, allocations: 17.94 kB / 0.535 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.752e-05/0.3299, allocations: 55.03 kB / 0.5351 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.33, allocations: 62.91 kB / 0.5351 GB, free: 9.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.33, allocations: 4.125 kB / 0.5351 GB, free: 9.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.3313, allocations: 0.7897 MB / 0.5359 GB, free: 9.328 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.786e-05/0.3313, allocations: 26.55 kB / 0.5359 GB, free: 9.309 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.391e-05/0.3314, allocations: 73.3 kB / 0.536 GB, free: 9.262 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008057/0.3322, allocations: 0.5935 MB / 0.5366 GB, free: 8.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3323, allocations: 0 / 0.5366 GB, free: 8.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3323, allocations: 0 / 0.5366 GB, free: 8.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.3323, allocations: 1.312 kB / 0.5366 GB, free: 8.84 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007231/0.333, allocations: 0.5225 MB / 0.5371 GB, free: 8.336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.3331, allocations: 9.312 kB / 0.5371 GB, free: 8.336 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.344e-05/0.3331, allocations: 53.64 kB / 0.5371 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/0.3332, allocations: 23.39 kB / 0.5372 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.3334, allocations: 223.5 kB / 0.5374 GB, free: 8.031 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.3334, allocations: 11.25 kB / 0.5374 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.3335, allocations: 21.16 kB / 0.5374 GB, free: 8.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004398/0.3339, allocations: 266.6 kB / 0.5377 GB, free: 7.836 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3339, allocations: 0 / 0.5377 GB, free: 7.836 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.334, allocations: 6.344 kB / 0.5377 GB, free: 7.832 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.334, allocations: 5.906 kB / 0.5377 GB, free: 7.832 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003261/0.3343, allocations: 155.9 kB / 0.5378 GB, free: 7.754 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.3354, allocations: 0.912 MB / 0.5387 GB, free: 6.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.3356, allocations: 59.05 kB / 0.5388 GB, free: 6.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.3358, allocations: 41.22 kB / 0.5388 GB, free: 6.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.3358, allocations: 9.156 kB / 0.5388 GB, free: 6.836 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.3358, allocations: 30.56 kB / 0.5388 GB, free: 6.797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.412e-06/0.3358, allocations: 1.375 kB / 0.5389 GB, free: 6.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004776/0.3363, allocations: 146.4 kB / 0.539 GB, free: 6.707 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.3364, allocations: 56.66 kB / 0.539 GB, free: 6.641 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.3367, allocations: 265 kB / 0.5393 GB, free: 6.461 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.3367, allocations: 29.69 kB / 0.5393 GB, free: 6.426 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.3368, allocations: 181.3 kB / 0.5395 GB, free: 6.258 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.3369, allocations: 27.08 kB / 0.5395 GB, free: 6.234 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.305e-05/0.337, allocations: 55.12 kB / 0.5396 GB, free: 6.195 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3371, allocations: 327.8 kB / 0.5399 GB, free: 5.871 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.3373, allocations: 47 kB / 0.5399 GB, free: 5.848 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/0.3375, allocations: 197.7 kB / 0.5401 GB, free: 5.621 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004098/0.338, allocations: 254.7 kB / 0.5404 GB, free: 5.367 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.338, allocations: 1.688 kB / 0.5404 GB, free: 5.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004862/0.3385, allocations: 251.6 kB / 0.5406 GB, free: 5.234 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3385, allocations: 7.719 kB / 0.5406 GB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.034e-05/0.3385, allocations: 16.12 kB / 0.5406 GB, free: 5.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.3385, allocations: 11.12 kB / 0.5406 GB, free: 5.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.3387, allocations: 46.97 kB / 0.5407 GB, free: 5.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.3387, allocations: 10.44 kB / 0.5407 GB, free: 5.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.3389, allocations: 50.22 kB / 0.5407 GB, free: 5.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.339, allocations: 13 kB / 0.5408 GB, free: 5.176 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001252/0.3391, allocations: 133.4 kB / 0.5409 GB, free: 5.047 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.3391, allocations: 20.36 kB / 0.5409 GB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004024/0.3395, allocations: 148 kB / 0.541 GB, free: 4.938 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.3396, allocations: 4.938 kB / 0.541 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3396, allocations: 0 / 0.541 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.3396, allocations: 1 kB / 0.541 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.3399, allocations: 212.7 kB / 0.5413 GB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-05/0.3399, allocations: 12.14 kB / 0.5413 GB, free: 4.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.809e-05/0.3399, allocations: 9.469 kB / 0.5413 GB, free: 4.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3399, allocations: 0 / 0.5413 GB, free: 4.699 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.34, allocations: 6.469 kB / 0.5413 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.34, allocations: 9.094 kB / 0.5413 GB, free: 4.688 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.34, allocations: 0 / 0.5413 GB, free: 4.688 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003469/0.3403, allocations: 207 kB / 0.5415 GB, free: 4.516 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.772e-05/0.3404, allocations: 98.78 kB / 0.5416 GB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.3404, allocations: 4 kB / 0.5416 GB, free: 4.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.3406, allocations: 11.42 kB / 0.5416 GB, free: 4.395 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.3406, allocations: 7.344 kB / 0.5416 GB, free: 4.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.3406, allocations: 7.297 kB / 0.5416 GB, free: 4.387 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001816/0.3408, allocations: 180.6 kB / 0.5418 GB, free: 4.262 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3408, allocations: 0 / 0.5418 GB, free: 4.262 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005224/0.3413, allocations: 104 kB / 0.5419 GB, free: 4.242 MB / 398.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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0009821/0.3423, allocations: 0.8401 MB / 0.5427 GB, free: 3.496 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004829/0.3428, allocations: 193.9 kB / 0.5429 GB, free: 3.379 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3428, allocations: 0 / 0.5429 GB, free: 3.379 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.3431, allocations: 102.1 kB / 0.543 GB, free: 3.297 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.3434, allocations: 28.05 kB / 0.543 GB, free: 3.277 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/0.3465, allocations: 2.506 MB / 0.5455 GB, free: 1.184 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.3469, allocations: 0.733 MB / 0.5462 GB, free: 468 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.644e-05/0.347, allocations: 31.03 kB / 0.5462 GB, free: 444 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.281e-05/0.3471, allocations: 59.52 kB / 0.5463 GB, free: 392 kB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3471, allocations: 0 / 0.5463 GB, free: 392 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03598/0.3831, allocations: 9.055 MB / 0.5551 GB, free: 8.113 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.46, allocations: 5.125 kB / 0.5551 GB, free: 8.109 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_HeatExchanger_kc_roundTube.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1)