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.General.kc_approxForcedConvection_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.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_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.001501/0.001501, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001598/0.001599, allocations: 198 kB / 18.73 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.443/1.443, allocations: 227.4 MB / 247 MB, free: 10.45 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.2258/0.2258, allocations: 46.11 MB / 344.3 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.00219/0.00219, allocations: 75.88 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3133, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003551/0.3169, allocations: 2.005 MB / 0.5326 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.3185, allocations: 0.8397 MB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.863e-05/0.3186, allocations: 10.75 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.3189, allocations: 65.61 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003354/0.3192, allocations: 119.2 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.3195, allocations: 64.48 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003862/0.3199, allocations: 316.1 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.095e-05/0.32, allocations: 29.02 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/0.3202, allocations: 135.9 kB / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.3204, allocations: 151.8 kB / 0.5343 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.906e-05/0.3205, allocations: 8.25 kB / 0.5343 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002529/0.3207, allocations: 122.9 kB / 0.5344 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.461e-05/0.3208, allocations: 71.05 kB / 0.5344 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.321, allocations: 109.8 kB / 0.5346 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004879/0.3215, allocations: 347.1 kB / 0.5349 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.3215, allocations: 3.984 kB / 0.5349 GB, free: 10.22 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3215, allocations: 0 / 0.5349 GB, free: 10.22 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.3215, allocations: 0 / 0.5349 GB, free: 10.22 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0009787/0.3225, allocations: 0.5698 MB / 0.5354 GB, free: 9.695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.3225, allocations: 9.312 kB / 0.5355 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.216e-05/0.3226, allocations: 66.59 kB / 0.5355 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.641e-05/0.3227, allocations: 30.19 kB / 0.5355 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.323, allocations: 247.9 kB / 0.5358 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.3231, allocations: 27.08 kB / 0.5358 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.444e-05/0.3231, allocations: 19.97 kB / 0.5358 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007346/0.3239, allocations: 398.2 kB / 0.5362 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3239, allocations: 0 / 0.5362 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.3239, allocations: 14.7 kB / 0.5362 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-05/0.324, allocations: 25.02 kB / 0.5362 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007956/0.3248, allocations: 407 kB / 0.5366 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.3262, allocations: 0.8822 MB / 0.5375 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000639/0.3269, allocations: 269.1 kB / 0.5377 GB, free: 8.176 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/0.3271, allocations: 95.7 kB / 0.5378 GB, free: 8.133 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.981e-05/0.3272, allocations: 10.66 kB / 0.5379 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.3272, allocations: 31.94 kB / 0.5379 GB, free: 8.086 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.3272, allocations: 0 / 0.5379 GB, free: 8.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008376/0.3281, allocations: 337.4 kB / 0.5382 GB, free: 7.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.3281, allocations: 52.5 kB / 0.5383 GB, free: 7.867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004325/0.3286, allocations: 347.1 kB / 0.5386 GB, free: 7.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.3286, allocations: 33.7 kB / 0.5386 GB, free: 7.621 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.3288, allocations: 171.1 kB / 0.5388 GB, free: 7.461 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.328e-05/0.3288, allocations: 54.88 kB / 0.5388 GB, free: 7.414 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.853e-05/0.3289, allocations: 50.16 kB / 0.5389 GB, free: 7.379 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.3291, allocations: 343.6 kB / 0.5392 GB, free: 7.043 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.3293, allocations: 94.25 kB / 0.5393 GB, free: 7.004 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/0.3296, allocations: 139.3 kB / 0.5394 GB, free: 6.906 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004617/0.3301, allocations: 255.9 kB / 0.5397 GB, free: 6.758 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3301, allocations: 0 / 0.5397 GB, free: 6.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005852/0.3307, allocations: 293.2 kB / 0.54 GB, free: 6.617 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.3307, allocations: 9.891 kB / 0.54 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.3307, allocations: 6.094 kB / 0.54 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.3307, allocations: 6.312 kB / 0.54 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005088/0.3312, allocations: 117.6 kB / 0.5401 GB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002417/0.3337, allocations: 3.671 MB / 0.5437 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.3339, allocations: 34.83 kB / 0.5437 GB, free: 2.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.334, allocations: 8.062 kB / 0.5437 GB, free: 2.898 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[2].target,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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002552/0.3342, allocations: 181.4 kB / 0.5439 GB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.2e-05/0.3343, allocations: 35.08 kB / 0.5439 GB, free: 2.723 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007323/0.335, allocations: 329.2 kB / 0.5442 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.335, allocations: 1.188 kB / 0.5442 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3351, allocations: 1 kB / 0.5442 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.3351, allocations: 3.984 kB / 0.5442 GB, free: 2.543 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004118/0.3355, allocations: 300.5 kB / 0.5445 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.3355, allocations: 5.062 kB / 0.5445 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004768/0.336, allocations: 102.9 kB / 0.5446 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.707e-06/0.336, allocations: 9.016 kB / 0.5446 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.336, allocations: 7.438 kB / 0.5446 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002306/0.3383, allocations: 3.666 MB / 0.5482 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3384, allocations: 3.938 kB / 0.5482 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005717/0.3389, allocations: 353.9 kB / 0.5486 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.3391, allocations: 110.8 kB / 0.5487 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/0.3391, allocations: 1.062 kB / 0.5487 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.3393, allocations: 12.3 kB / 0.5487 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/0.3393, allocations: 19.52 kB / 0.5487 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.3394, allocations: 5.406 kB / 0.5487 GB, free: 14.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003137/0.3397, allocations: 259.4 kB / 0.549 GB, free: 14.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3397, allocations: 0 / 0.549 GB, free: 14.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004146/0.3401, allocations: 72.69 kB / 0.549 GB, free: 14.05 MB / 414.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 (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001025/0.3411, allocations: 0.9048 MB / 0.5499 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009271/0.3421, allocations: 313.4 kB / 0.5502 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3421, allocations: 4 kB / 0.5502 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005774/0.3427, allocations: 183 kB / 0.5504 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.3431, allocations: 72.45 kB / 0.5505 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004534/0.3477, allocations: 3.385 MB / 0.5538 GB, free: 9.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004925/0.3482, allocations: 0.7948 MB / 0.5545 GB, free: 8.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001761/0.3484, allocations: 62.22 kB / 0.5546 GB, free: 8.352 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.3485, allocations: 75.41 kB / 0.5547 GB, free: 8.281 MB / 414.1 MB Notification: Performance of SimCode: time 1.192e-06/0.3485, allocations: 4 kB / 0.5547 GB, free: 8.277 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0335/0.382, allocations: 8.567 MB / 0.563 GB, free: 15.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.32, allocations: 10.59 kB / 0.563 GB, free: 15.95 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_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_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1)