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_laminar.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_laminar,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001286/0.001287, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001453, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 246.8 MB, free: 10.51 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.2471/0.2471, allocations: 46.12 MB / 344.2 MB, free: 11.55 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.002244/0.002244, allocations: 80.3 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1236, allocations: 62.45 MB / 480.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.004115/0.1278, allocations: 2.216 MB / 482.5 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002214/0.13, allocations: 1.18 MB / 483.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.1302, allocations: 0 / 483.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003257/0.1305, allocations: 71.58 kB / 483.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002813/0.1308, allocations: 103.3 kB / 483.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006237/0.1315, allocations: 198.5 kB / 484 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006056/0.1321, allocations: 485.8 kB / 484.5 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.1322, allocations: 64.98 kB / 484.5 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003137/0.1325, allocations: 175 kB / 484.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002996/0.1328, allocations: 195 kB / 484.9 MB, free: 416 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.795e-05/0.1329, allocations: 16 kB / 484.9 MB, free: 400 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006153/0.1335, allocations: 343.4 kB / 485.2 MB, free: 56 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.1337, allocations: 95.53 kB / 485.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002264/0.1339, allocations: 194.7 kB / 485.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007775/0.1347, allocations: 0.5764 MB / 486.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.1347, allocations: 8 kB / 486.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1347, allocations: 0 / 486.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1347, allocations: 0 / 486.1 MB, free: 15.18 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001327/0.1361, allocations: 0.7525 MB / 486.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.1361, allocations: 8.031 kB / 486.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001242/0.1362, allocations: 94.7 kB / 487 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004256/0.1367, allocations: 80.33 kB / 487 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004269/0.1371, allocations: 303.5 kB / 487.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.36e-05/0.1372, allocations: 29.38 kB / 487.4 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.039e-05/0.1372, allocations: 51.94 kB / 487.4 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.1383, allocations: 0.6636 MB / 488.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.1384, allocations: 0 / 488.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.612e-05/0.1384, allocations: 23.98 kB / 488.1 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.343e-05/0.1385, allocations: 24.98 kB / 488.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009506/0.1394, allocations: 487.5 kB / 488.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002117/0.1416, allocations: 1.5 MB / 490.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005999/0.1422, allocations: 303.5 kB / 490.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003621/0.1426, allocations: 154.6 kB / 490.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.533e-05/0.1426, allocations: 11.98 kB / 490.6 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.1426, allocations: 30.56 kB / 490.6 MB, free: 10.47 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.943e-06/0.1427, allocations: 0 / 490.6 MB, free: 10.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001305/0.144, allocations: 0.4993 MB / 491.1 MB, free: 9.969 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.759e-05/0.1441, allocations: 110.8 kB / 491.2 MB, free: 9.836 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006654/0.1447, allocations: 0.5408 MB / 491.7 MB, free: 9.289 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.192e-05/0.1448, allocations: 33.7 kB / 491.8 MB, free: 9.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.145, allocations: 228.1 kB / 492 MB, free: 9.023 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.573e-05/0.145, allocations: 67.02 kB / 492.1 MB, free: 8.957 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.1452, allocations: 85.88 kB / 492.1 MB, free: 8.863 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.1454, allocations: 354.8 kB / 492.5 MB, free: 8.508 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003812/0.1458, allocations: 156.1 kB / 492.6 MB, free: 8.355 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004836/0.1463, allocations: 275.6 kB / 492.9 MB, free: 8.031 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008722/0.1472, allocations: 449.3 kB / 493.4 MB, free: 7.539 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1472, allocations: 0 / 493.4 MB, free: 7.539 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001076/0.1483, allocations: 0.5003 MB / 493.9 MB, free: 7.031 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.1483, allocations: 8 kB / 493.9 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-05/0.1484, allocations: 40.52 kB / 493.9 MB, free: 6.984 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.137e-05/0.1484, allocations: 11.94 kB / 493.9 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.1487, allocations: 43.89 kB / 494 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/0.1487, allocations: 11.94 kB / 494 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003354/0.149, allocations: 67.27 kB / 494 MB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.417e-05/0.1491, allocations: 23.98 kB / 494.1 MB, free: 6.828 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].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 (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002836/0.1494, allocations: 213.6 kB / 494.3 MB, free: 6.609 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.1495, allocations: 43.44 kB / 494.3 MB, free: 6.566 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009349/0.1505, allocations: 449 kB / 494.7 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.1505, allocations: 4 kB / 494.8 MB, free: 6.113 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.1505, allocations: 8 kB / 494.8 MB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1505, allocations: 0 / 494.8 MB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006493/0.1512, allocations: 393.2 kB / 495.1 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.321e-05/0.1512, allocations: 39.92 kB / 495.2 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.1514, allocations: 27.97 kB / 495.2 MB, free: 5.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.1514, allocations: 4 kB / 495.2 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.845e-05/0.1515, allocations: 15.94 kB / 495.2 MB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1515, allocations: 0 / 495.2 MB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1515, allocations: 0 / 495.2 MB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009906/0.1525, allocations: 0.6113 MB / 495.8 MB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.1526, allocations: 128.5 kB / 496 MB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.073e-05/0.1527, allocations: 7.922 kB / 496 MB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000293/0.153, allocations: 19.98 kB / 496 MB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.399e-05/0.1531, allocations: 19.98 kB / 496 MB, free: 4.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.058e-05/0.1531, allocations: 19.98 kB / 496 MB, free: 4.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004936/0.1536, allocations: 395 kB / 496.4 MB, free: 4.371 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1536, allocations: 0 / 496.4 MB, free: 4.371 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006054/0.1543, allocations: 135.8 kB / 496.6 MB, free: 4.238 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.001498/0.1558, allocations: 1.202 MB / 497.8 MB, free: 3.008 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001208/0.157, allocations: 0.6953 MB / 498.4 MB, free: 2.242 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.157, allocations: 0 / 498.4 MB, free: 2.242 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006075/0.1576, allocations: 484.2 kB / 498.9 MB, free: 1.695 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007809/0.1584, allocations: 117.9 kB / 499 MB, free: 1.578 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007811/0.1662, allocations: 5.288 MB / 0.4925 GB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005491/0.1668, allocations: 0.866 MB / 0.4934 GB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002591/0.1671, allocations: 83.34 kB / 0.4934 GB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.1673, allocations: 119.4 kB / 0.4935 GB, free: 11 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1673, allocations: 4 kB / 0.4935 GB, free: 10.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2502/0.4174, allocations: 12.95 MB / 0.5062 GB, free: 42.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.194/8.611, allocations: 12.44 kB / 0.5062 GB, free: 42.42 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1)