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_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_laminar_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_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.00134/0.00134, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001369/0.001369, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2305/0.2305, allocations: 46.11 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.002307/0.002307, allocations: 81.06 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1354, allocations: 62.45 MB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC): time 0.005588/0.1411, allocations: 2.134 MB / 482.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002636/0.1438, allocations: 0.8957 MB / 483.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002499/0.1441, allocations: 4 kB / 483.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004366/0.1446, allocations: 63.58 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007268/0.1453, allocations: 139.3 kB / 483.5 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004356/0.1458, allocations: 99.69 kB / 483.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006621/0.1464, allocations: 449.9 kB / 484 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.1466, allocations: 52.64 kB / 484.1 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003637/0.1469, allocations: 187.1 kB / 484.2 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003171/0.1473, allocations: 211 kB / 484.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.436e-05/0.1473, allocations: 12 kB / 484.5 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004897/0.1478, allocations: 251.6 kB / 484.7 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.148, allocations: 111.5 kB / 484.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002102/0.1482, allocations: 182.8 kB / 485 MB, free: 336 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007779/0.149, allocations: 0.5334 MB / 485.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.149, allocations: 0 / 485.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.149, allocations: 0 / 485.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.149, allocations: 0 / 485.5 MB, free: 15.79 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001296/0.1503, allocations: 0.7214 MB / 486.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.1504, allocations: 12.03 kB / 486.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001269/0.1505, allocations: 98.67 kB / 486.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.1506, allocations: 52.28 kB / 486.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004459/0.1511, allocations: 291.6 kB / 486.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.695e-05/0.1511, allocations: 33.36 kB / 486.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.477e-05/0.1512, allocations: 43.94 kB / 486.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.1523, allocations: 0.6601 MB / 487.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.1524, allocations: 7.969 kB / 487.4 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.586e-05/0.1524, allocations: 16 kB / 487.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.778e-05/0.1525, allocations: 57.28 kB / 487.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.1539, allocations: 0.692 MB / 488.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002568/0.1565, allocations: 1.348 MB / 489.5 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008551/0.1574, allocations: 456.4 kB / 490 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/0.1577, allocations: 157.2 kB / 490.1 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.415e-05/0.1577, allocations: 12.22 kB / 490.2 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.1578, allocations: 34.91 kB / 490.2 MB, free: 10.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 3.005e-06/0.1578, allocations: 3.938 kB / 490.2 MB, free: 10.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001227/0.159, allocations: 0.5403 MB / 490.7 MB, free: 10.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.1591, allocations: 55.41 kB / 490.8 MB, free: 10.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006218/0.1597, allocations: 497.4 kB / 491.3 MB, free: 9.832 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.1598, allocations: 29.7 kB / 491.3 MB, free: 9.797 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.16, allocations: 212.5 kB / 491.5 MB, free: 9.586 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.1601, allocations: 102.5 kB / 491.6 MB, free: 9.484 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.1603, allocations: 86 kB / 491.7 MB, free: 9.395 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000234/0.1606, allocations: 358.7 kB / 492 MB, free: 9.035 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000331/0.1609, allocations: 156.5 kB / 492.2 MB, free: 8.883 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004818/0.1614, allocations: 244.3 kB / 492.4 MB, free: 8.605 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009218/0.1623, allocations: 431.6 kB / 492.9 MB, free: 8.145 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.1623, allocations: 0 / 492.9 MB, free: 8.145 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001072/0.1634, allocations: 0.489 MB / 493.3 MB, free: 7.648 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/0.1635, allocations: 8 kB / 493.4 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.1635, allocations: 0 / 493.4 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.636e-05/0.1635, allocations: 8 kB / 493.4 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009538/0.1645, allocations: 199.8 kB / 493.6 MB, free: 7.438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005037/0.1695, allocations: 7.302 MB / 0.4891 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004034/0.17, allocations: 63.3 kB / 0.4892 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.241e-05/0.17, allocations: 23.98 kB / 0.4892 GB, free: 15.77 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (40): * Single equations (assignments): 28 * 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.0003655/0.1704, allocations: 222.2 kB / 0.4894 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.884e-05/0.1705, allocations: 43.47 kB / 0.4895 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.1716, allocations: 0.5366 MB / 0.49 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.1717, allocations: 4 kB / 0.49 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1717, allocations: 0 / 0.49 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.1717, allocations: 3.984 kB / 0.49 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006487/0.1723, allocations: 413.2 kB / 0.4904 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1724, allocations: 0 / 0.4904 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008637/0.1732, allocations: 199.8 kB / 0.4906 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.1732, allocations: 4 kB / 0.4906 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.45e-05/0.1733, allocations: 19.98 kB / 0.4906 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004844/0.1781, allocations: 7.282 MB / 0.4977 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.1782, allocations: 8.203 kB / 0.4977 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009237/0.1791, allocations: 0.4998 MB / 0.4982 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.1793, allocations: 120.6 kB / 0.4983 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.496e-05/0.1794, allocations: 15.92 kB / 0.4983 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.1796, allocations: 11.94 kB / 0.4983 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.1797, allocations: 27.91 kB / 0.4984 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.416e-05/0.1798, allocations: 15.98 kB / 0.4984 GB, free: 5.984 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004566/0.1802, allocations: 359.1 kB / 0.4987 GB, free: 5.637 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1802, allocations: 0 / 0.4987 GB, free: 5.637 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005546/0.1808, allocations: 131.8 kB / 0.4989 GB, free: 5.508 MB / 382.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.001372/0.1822, allocations: 1.059 MB / 0.4999 GB, free: 4.422 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001695/0.1839, allocations: 0.5782 MB / 0.5005 GB, free: 3.844 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.1839, allocations: 0 / 0.5005 GB, free: 3.844 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.185, allocations: 340.6 kB / 0.5008 GB, free: 3.512 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005923/0.1856, allocations: 117.2 kB / 0.5009 GB, free: 3.398 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2068/0.3924, allocations: 4.999 MB / 0.5058 GB, free: 42.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.3928, allocations: 0.8735 MB / 0.5066 GB, free: 41.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003932/0.3932, allocations: 141.3 kB / 0.5068 GB, free: 41.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.3934, allocations: 132.4 kB / 0.5069 GB, free: 41.47 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3934, allocations: 0 / 0.5069 GB, free: 41.47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04279/0.4362, allocations: 13.47 MB / 0.52 GB, free: 37.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.54, allocations: 10.2 kB / 0.5201 GB, free: 37.88 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe 2>&1)