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_flatTube.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_flatTube,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001832/0.001832, allocations: 121.8 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002107/0.002107, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, 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.2316/0.2316, allocations: 46.12 MB / 344.4 MB, free: 11.44 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.002371/0.002371, allocations: 79.88 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3377, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003841/0.3416, allocations: 2.131 MB / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002974/0.3446, allocations: 1.411 MB / 0.5341 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.3448, allocations: 5.719 kB / 0.5341 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003977/0.3453, allocations: 84.23 kB / 0.5342 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.3455, allocations: 74.22 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006827/0.3462, allocations: 212 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002466/0.3464, allocations: 142.2 kB / 0.5346 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.683e-05/0.3465, allocations: 21.92 kB / 0.5346 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002231/0.3468, allocations: 67.03 kB / 0.5347 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.3469, allocations: 65.53 kB / 0.5347 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.3469, allocations: 4.125 kB / 0.5347 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008419/0.3478, allocations: 432 kB / 0.5351 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.575e-05/0.3479, allocations: 25.17 kB / 0.5352 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.348, allocations: 70.53 kB / 0.5352 GB, free: 9.801 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007774/0.3488, allocations: 439.2 kB / 0.5357 GB, free: 9.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.3488, allocations: 1.062 kB / 0.5357 GB, free: 9.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.3488, allocations: 0 / 0.5357 GB, free: 9.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.3489, allocations: 4 kB / 0.5357 GB, free: 9.496 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0009318/0.3498, allocations: 0.5004 MB / 0.5361 GB, free: 9.012 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/0.3499, allocations: 10.16 kB / 0.5362 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.166e-05/0.3499, allocations: 52.36 kB / 0.5362 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.72e-05/0.35, allocations: 23.08 kB / 0.5362 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.3503, allocations: 217.9 kB / 0.5364 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.3503, allocations: 15.81 kB / 0.5364 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.342e-05/0.3504, allocations: 19.56 kB / 0.5365 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004651/0.3509, allocations: 209 kB / 0.5367 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.3509, allocations: 3.938 kB / 0.5367 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.3509, allocations: 6.844 kB / 0.5367 GB, free: 8.555 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.3509, allocations: 4.031 kB / 0.5367 GB, free: 8.555 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003381/0.3513, allocations: 149.9 kB / 0.5368 GB, free: 8.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.3523, allocations: 0.5742 MB / 0.5374 GB, free: 7.984 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.3526, allocations: 66.78 kB / 0.5374 GB, free: 7.938 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.3527, allocations: 32.91 kB / 0.5375 GB, free: 7.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/0.3528, allocations: 1.25 kB / 0.5375 GB, free: 7.918 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.3528, allocations: 31.66 kB / 0.5375 GB, free: 7.879 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.874e-06/0.3528, allocations: 3.938 kB / 0.5375 GB, free: 7.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005193/0.3533, allocations: 140.1 kB / 0.5376 GB, free: 7.793 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.3534, allocations: 52.56 kB / 0.5377 GB, free: 7.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003167/0.3537, allocations: 254 kB / 0.5379 GB, free: 7.559 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.3538, allocations: 26.77 kB / 0.538 GB, free: 7.527 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.3539, allocations: 167.9 kB / 0.5381 GB, free: 7.371 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.354, allocations: 18.55 kB / 0.5381 GB, free: 7.355 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.508e-05/0.354, allocations: 44.88 kB / 0.5382 GB, free: 7.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.3542, allocations: 332.1 kB / 0.5385 GB, free: 6.992 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.3544, allocations: 46.62 kB / 0.5385 GB, free: 6.969 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.3546, allocations: 133.8 kB / 0.5387 GB, free: 6.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/0.355, allocations: 178.3 kB / 0.5388 GB, free: 6.652 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.355, allocations: 1.031 kB / 0.5388 GB, free: 6.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004631/0.3555, allocations: 207.2 kB / 0.539 GB, free: 6.535 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.3555, allocations: 6.844 kB / 0.5391 GB, free: 6.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.665e-05/0.3556, allocations: 11.09 kB / 0.5391 GB, free: 6.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.3556, allocations: 8.688 kB / 0.5391 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.3558, allocations: 30.64 kB / 0.5391 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.3558, allocations: 5.125 kB / 0.5391 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.356, allocations: 38.92 kB / 0.5391 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.356, allocations: 9.438 kB / 0.5392 GB, free: 6.496 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.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 (17): * Single equations (assignments): 15 * 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.0001408/0.3561, allocations: 139 kB / 0.5393 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.641e-05/0.3562, allocations: 19.95 kB / 0.5393 GB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004255/0.3566, allocations: 144 kB / 0.5394 GB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3567, allocations: 1.219 kB / 0.5394 GB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3567, allocations: 0 / 0.5394 GB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3567, allocations: 1.219 kB / 0.5394 GB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.357, allocations: 221 kB / 0.5397 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.947e-05/0.357, allocations: 8.5 kB / 0.5397 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.271e-05/0.3571, allocations: 8.25 kB / 0.5397 GB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.3571, allocations: 1.062 kB / 0.5397 GB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.3571, allocations: 1.375 kB / 0.5397 GB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.022e-06/0.3571, allocations: 5.078 kB / 0.5397 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.3571, allocations: 8 kB / 0.5397 GB, free: 6.008 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003741/0.3575, allocations: 203.6 kB / 0.5399 GB, free: 5.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.819e-05/0.3576, allocations: 102.5 kB / 0.54 GB, free: 5.727 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.3576, allocations: 0 / 0.54 GB, free: 5.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.763e-05/0.3577, allocations: 4.438 kB / 0.54 GB, free: 5.727 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.3578, allocations: 6.922 kB / 0.54 GB, free: 5.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.3578, allocations: 7.062 kB / 0.54 GB, free: 5.719 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000191/0.358, allocations: 183.8 kB / 0.5402 GB, free: 5.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.358, allocations: 0 / 0.5402 GB, free: 5.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004659/0.3585, allocations: 82.27 kB / 0.5402 GB, free: 5.566 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.0009824/0.3595, allocations: 0.7993 MB / 0.541 GB, free: 4.836 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005135/0.36, allocations: 170 kB / 0.5412 GB, free: 4.727 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.36, allocations: 5.938 kB / 0.5412 GB, free: 4.723 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002295/0.3603, allocations: 101.7 kB / 0.5413 GB, free: 4.641 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.3607, allocations: 26.3 kB / 0.5413 GB, free: 4.621 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003339/0.364, allocations: 2.383 MB / 0.5436 GB, free: 2.684 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/0.3645, allocations: 0.728 MB / 0.5444 GB, free: 1.965 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.42e-05/0.3646, allocations: 17.22 kB / 0.5444 GB, free: 1.957 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.673e-05/0.3647, allocations: 59.25 kB / 0.5444 GB, free: 1.906 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3647, allocations: 0 / 0.5444 GB, free: 1.906 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03386/0.3986, allocations: 6.827 MB / 0.5511 GB, free: 12.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.08, allocations: 10.12 kB / 0.5511 GB, free: 12.31 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1)