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.001773/0.001773, 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.002192/0.002192, 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.424/1.424, 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.2325/0.2325, allocations: 46.12 MB / 344.4 MB, free: 11.42 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.002257/0.002257, allocations: 75.88 kB / 480.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3431, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003399/0.3465, allocations: 2.117 MB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002572/0.3491, allocations: 1.719 MB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.877e-05/0.3492, allocations: 1.375 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003299/0.3496, allocations: 86.23 kB / 0.5344 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.3497, allocations: 70.19 kB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000884/0.3506, allocations: 350.5 kB / 0.5349 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.3508, allocations: 150.7 kB / 0.535 GB, free: 9.887 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.885e-05/0.3509, allocations: 21.48 kB / 0.535 GB, free: 9.871 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.667e-05/0.351, allocations: 51.2 kB / 0.5351 GB, free: 9.844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.3511, allocations: 70.2 kB / 0.5351 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.3512, allocations: 4.562 kB / 0.5351 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.3525, allocations: 0.7892 MB / 0.5359 GB, free: 9.305 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.651e-05/0.3526, allocations: 27.36 kB / 0.5359 GB, free: 9.285 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.704e-05/0.3527, allocations: 73.83 kB / 0.536 GB, free: 9.238 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008633/0.3535, allocations: 0.5892 MB / 0.5366 GB, free: 8.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.3536, allocations: 5.375 kB / 0.5366 GB, free: 8.816 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3536, allocations: 0 / 0.5366 GB, free: 8.816 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.3536, allocations: 0 / 0.5366 GB, free: 8.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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007696/0.3544, allocations: 0.5154 MB / 0.5371 GB, free: 8.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.3544, allocations: 9.406 kB / 0.5371 GB, free: 8.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.508e-05/0.3545, allocations: 57.45 kB / 0.5372 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.883e-05/0.3545, allocations: 24.05 kB / 0.5372 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.3548, allocations: 218.5 kB / 0.5374 GB, free: 8.016 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.3548, allocations: 16.47 kB / 0.5374 GB, free: 8.008 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.3549, allocations: 20.53 kB / 0.5374 GB, free: 8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004611/0.3553, allocations: 261.6 kB / 0.5377 GB, free: 7.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3554, allocations: 4.812 kB / 0.5377 GB, free: 7.816 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.3554, allocations: 9.969 kB / 0.5377 GB, free: 7.809 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.3554, allocations: 5.75 kB / 0.5377 GB, free: 7.809 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003399/0.3557, allocations: 156.9 kB / 0.5378 GB, free: 7.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.3569, allocations: 0.9157 MB / 0.5387 GB, free: 6.883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.3571, allocations: 58.8 kB / 0.5388 GB, free: 6.844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.3572, allocations: 36.34 kB / 0.5388 GB, free: 6.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.274e-05/0.3573, allocations: 1.25 kB / 0.5388 GB, free: 6.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.3573, allocations: 35.84 kB / 0.5389 GB, free: 6.777 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.3573, allocations: 0 / 0.5389 GB, free: 6.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004784/0.3578, allocations: 142.8 kB / 0.539 GB, free: 6.691 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.3579, allocations: 52.72 kB / 0.539 GB, free: 6.629 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003098/0.3582, allocations: 265.8 kB / 0.5393 GB, free: 6.449 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.3582, allocations: 25.7 kB / 0.5393 GB, free: 6.418 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.3584, allocations: 188.9 kB / 0.5395 GB, free: 6.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.3584, allocations: 23.88 kB / 0.5395 GB, free: 6.223 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.102e-05/0.3585, allocations: 50.47 kB / 0.5396 GB, free: 6.188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002117/0.3588, allocations: 331.7 kB / 0.5399 GB, free: 5.859 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.3589, allocations: 42.47 kB / 0.5399 GB, free: 5.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002877/0.3592, allocations: 194.3 kB / 0.5401 GB, free: 5.617 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004615/0.3597, allocations: 258.2 kB / 0.5404 GB, free: 5.359 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.3597, allocations: 2.281 kB / 0.5404 GB, free: 5.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005456/0.3602, allocations: 259.6 kB / 0.5406 GB, free: 5.219 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.3603, allocations: 7.094 kB / 0.5406 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.468e-05/0.3603, allocations: 13.81 kB / 0.5406 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/0.3604, allocations: 10.69 kB / 0.5406 GB, free: 5.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.3605, allocations: 54.91 kB / 0.5407 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.3606, allocations: 5.562 kB / 0.5407 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.3607, allocations: 47.09 kB / 0.5407 GB, free: 5.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.3608, allocations: 13.34 kB / 0.5408 GB, free: 5.164 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.0001281/0.3609, allocations: 133.2 kB / 0.5409 GB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.612e-05/0.361, allocations: 24.5 kB / 0.5409 GB, free: 5.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000406/0.3614, allocations: 148 kB / 0.541 GB, free: 4.922 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.3614, allocations: 3.938 kB / 0.5411 GB, free: 4.918 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3614, allocations: 1.312 kB / 0.5411 GB, free: 4.918 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3614, allocations: 0 / 0.5411 GB, free: 4.918 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.3617, allocations: 217.9 kB / 0.5413 GB, free: 4.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.928e-05/0.3617, allocations: 11.36 kB / 0.5413 GB, free: 4.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.785e-05/0.3618, allocations: 6.062 kB / 0.5413 GB, free: 4.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3618, allocations: 3.938 kB / 0.5413 GB, free: 4.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.3618, allocations: 2.938 kB / 0.5413 GB, free: 4.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.3618, allocations: 7.938 kB / 0.5413 GB, free: 4.672 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3618, allocations: 3.938 kB / 0.5413 GB, free: 4.668 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/0.3622, allocations: 207.2 kB / 0.5415 GB, free: 4.496 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.891e-05/0.3622, allocations: 93.5 kB / 0.5416 GB, free: 4.391 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.3623, allocations: 1.562 kB / 0.5416 GB, free: 4.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.3624, allocations: 19.14 kB / 0.5416 GB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.3624, allocations: 3.844 kB / 0.5416 GB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.3624, allocations: 2.906 kB / 0.5416 GB, free: 4.375 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001707/0.3626, allocations: 184.1 kB / 0.5418 GB, free: 4.246 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3626, allocations: 0 / 0.5418 GB, free: 4.246 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004968/0.3631, allocations: 103.2 kB / 0.5419 GB, free: 4.227 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.001014/0.3641, allocations: 0.8454 MB / 0.5427 GB, free: 3.477 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005121/0.3647, allocations: 197.7 kB / 0.5429 GB, free: 3.355 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3647, allocations: 0 / 0.5429 GB, free: 3.355 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002206/0.3649, allocations: 98.11 kB / 0.543 GB, free: 3.277 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.3653, allocations: 25.55 kB / 0.543 GB, free: 3.258 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003229/0.3685, allocations: 2.511 MB / 0.5455 GB, free: 1.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.3689, allocations: 0.7325 MB / 0.5462 GB, free: 444 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.741e-05/0.369, allocations: 25.38 kB / 0.5462 GB, free: 424 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.541e-05/0.3691, allocations: 60.61 kB / 0.5463 GB, free: 372 kB / 398.1 MB Notification: Performance of SimCode: time 2.064e-06/0.3691, allocations: 0 / 0.5463 GB, free: 372 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03483/0.404, allocations: 9.048 MB / 0.5551 GB, free: 8.066 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.41, allocations: 5.125 kB / 0.5551 GB, free: 8.062 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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)