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_overall_KC.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_overall_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001316/0.001316, allocations: 122.8 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.001256/0.001256, allocations: 201.2 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.49 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.2214/0.2214, allocations: 46.11 MB / 344.3 MB, free: 11.48 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.002203/0.002203, allocations: 79.88 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3436, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC): time 0.003767/0.3475, allocations: 2.187 MB / 0.5328 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002993/0.3505, allocations: 1.853 MB / 0.5346 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.3506, allocations: 1.375 kB / 0.5346 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003178/0.3509, allocations: 77.39 kB / 0.5347 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004083/0.3514, allocations: 141.5 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009813/0.3524, allocations: 351.6 kB / 0.5351 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007088/0.3531, allocations: 489.6 kB / 0.5356 GB, free: 9.551 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.3533, allocations: 65.69 kB / 0.5357 GB, free: 9.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004056/0.3537, allocations: 190.5 kB / 0.5358 GB, free: 9.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003705/0.3541, allocations: 220.8 kB / 0.536 GB, free: 9.289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.498e-05/0.3541, allocations: 11.69 kB / 0.5361 GB, free: 9.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.3553, allocations: 0.6058 MB / 0.5367 GB, free: 8.914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001774/0.3555, allocations: 113 kB / 0.5368 GB, free: 8.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002421/0.3557, allocations: 203.6 kB / 0.537 GB, free: 8.707 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.3571, allocations: 0.7926 MB / 0.5377 GB, free: 8.184 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3572, allocations: 0 / 0.5377 GB, free: 8.184 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3572, allocations: 0 / 0.5377 GB, free: 8.184 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.3572, allocations: 0.9062 kB / 0.5377 GB, free: 8.184 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001524/0.3587, allocations: 0.8308 MB / 0.5385 GB, free: 7.477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.3588, allocations: 9.031 kB / 0.5385 GB, free: 7.477 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001359/0.3589, allocations: 107.4 kB / 0.5387 GB, free: 7.387 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.359, allocations: 58.72 kB / 0.5387 GB, free: 7.355 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000419/0.3595, allocations: 306.8 kB / 0.539 GB, free: 7.082 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.396e-05/0.3595, allocations: 43.55 kB / 0.539 GB, free: 7.062 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.094e-05/0.3596, allocations: 53 kB / 0.5391 GB, free: 7.043 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.3609, allocations: 0.7566 MB / 0.5398 GB, free: 6.625 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.3609, allocations: 0 / 0.5398 GB, free: 6.625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.173e-05/0.361, allocations: 24.34 kB / 0.5399 GB, free: 6.605 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.758e-05/0.361, allocations: 56.03 kB / 0.5399 GB, free: 6.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.3624, allocations: 0.8042 MB / 0.5407 GB, free: 6.219 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002464/0.3649, allocations: 1.527 MB / 0.5422 GB, free: 5.203 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008371/0.3657, allocations: 460 kB / 0.5426 GB, free: 5.012 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003142/0.366, allocations: 152.8 kB / 0.5428 GB, free: 4.949 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.972e-05/0.3661, allocations: 16.52 kB / 0.5428 GB, free: 4.938 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.3661, allocations: 32.61 kB / 0.5428 GB, free: 4.898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.003e-06/0.3661, allocations: 0 / 0.5428 GB, free: 4.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001208/0.3674, allocations: 0.5473 MB / 0.5433 GB, free: 4.512 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/0.3674, allocations: 63.33 kB / 0.5434 GB, free: 4.438 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007417/0.3682, allocations: 0.5836 MB / 0.544 GB, free: 3.844 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.858e-05/0.3682, allocations: 29.7 kB / 0.544 GB, free: 3.809 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/0.3685, allocations: 276.1 kB / 0.5443 GB, free: 3.535 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.3686, allocations: 119 kB / 0.5444 GB, free: 3.418 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/0.3688, allocations: 122.2 kB / 0.5445 GB, free: 3.289 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.369, allocations: 362.8 kB / 0.5448 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003931/0.3694, allocations: 196.9 kB / 0.545 GB, free: 2.734 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005746/0.3699, allocations: 433 kB / 0.5454 GB, free: 2.199 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.371, allocations: 0.66 MB / 0.5461 GB, free: 1.426 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.371, allocations: 7.938 kB / 0.5461 GB, free: 1.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001272/0.3723, allocations: 0.6762 MB / 0.5468 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.3723, allocations: 8 kB / 0.5468 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.3723, allocations: 8.875 kB / 0.5468 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/0.3724, allocations: 12 kB / 0.5468 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.3734, allocations: 255.7 kB / 0.547 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004731/0.3781, allocations: 7.314 MB / 0.5542 GB, free: 8.863 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005772/0.3787, allocations: 91.28 kB / 0.5543 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.479e-05/0.3788, allocations: 32.28 kB / 0.5543 GB, free: 8.742 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003967/0.3792, allocations: 281.3 kB / 0.5546 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.121e-05/0.3793, allocations: 47.67 kB / 0.5546 GB, free: 8.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.3805, allocations: 0.5488 MB / 0.5551 GB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.3805, allocations: 11.92 kB / 0.5552 GB, free: 7.836 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3805, allocations: 0 / 0.5552 GB, free: 7.836 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3805, allocations: 0 / 0.5552 GB, free: 7.836 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005889/0.3811, allocations: 445.1 kB / 0.5556 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3811, allocations: 0 / 0.5556 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008431/0.3819, allocations: 207.8 kB / 0.5558 GB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.382, allocations: 0 / 0.5558 GB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.66e-05/0.382, allocations: 19.98 kB / 0.5558 GB, free: 7.129 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004719/0.3867, allocations: 7.294 MB / 0.5629 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.3868, allocations: 0 / 0.5629 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009757/0.3877, allocations: 0.5159 MB / 0.5634 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002903/0.388, allocations: 132.7 kB / 0.5635 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.083e-05/0.3881, allocations: 7.938 kB / 0.5636 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002508/0.3884, allocations: 11.98 kB / 0.5636 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.727e-05/0.3885, allocations: 19.97 kB / 0.5636 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.282e-05/0.3885, allocations: 19.98 kB / 0.5636 GB, free: 14.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006264/0.3892, allocations: 414.7 kB / 0.564 GB, free: 14.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3892, allocations: 4 kB / 0.564 GB, free: 14.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000875/0.3901, allocations: 183.6 kB / 0.5642 GB, free: 14.23 MB / 430.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001614/0.3917, allocations: 1.161 MB / 0.5653 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001741/0.3934, allocations: 0.6187 MB / 0.5659 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.3935, allocations: 8.25 kB / 0.5659 GB, free: 12.42 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.3946, allocations: 343.7 kB / 0.5663 GB, free: 12.08 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006993/0.3953, allocations: 129.1 kB / 0.5664 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007876/0.4031, allocations: 5.659 MB / 0.5719 GB, free: 5.988 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005695/0.4038, allocations: 0.9054 MB / 0.5728 GB, free: 5.055 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000441/0.4042, allocations: 168.4 kB / 0.5729 GB, free: 4.891 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.4044, allocations: 151.4 kB / 0.5731 GB, free: 4.742 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4044, allocations: 0 / 0.5731 GB, free: 4.742 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04573/0.4502, allocations: 16.4 MB / 0.5891 GB, free: 4.609 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/12.88, allocations: 10.08 kB / 0.5891 GB, free: 4.602 MB / 446.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe 2>&1)