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.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,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001658/0.001658, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001851/0.001851, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2278/0.2278, 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.002271/0.002271, allocations: 78.83 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1491, allocations: 62.45 MB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.005462/0.1547, allocations: 2.084 MB / 482.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003535/0.1582, allocations: 1.328 MB / 483.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001578/0.1584, allocations: 4 kB / 483.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00043/0.1589, allocations: 63.59 kB / 483.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002941/0.1592, allocations: 83.45 kB / 483.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000984/0.1602, allocations: 206.3 kB / 484 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007465/0.161, allocations: 430.1 kB / 484.4 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.1611, allocations: 48.7 kB / 484.5 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003815/0.1615, allocations: 159.1 kB / 484.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003398/0.1619, allocations: 171.1 kB / 484.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.309e-05/0.162, allocations: 12 kB / 484.8 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008126/0.1628, allocations: 267.6 kB / 485.1 MB, free: 268 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.163, allocations: 79.59 kB / 485.1 MB, free: 188 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002685/0.1633, allocations: 170.8 kB / 485.3 MB, free: 16 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.1643, allocations: 0.5257 MB / 485.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1644, allocations: 0 / 485.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1644, allocations: 0 / 485.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.1644, allocations: 0 / 485.8 MB, free: 15.49 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001793/0.1662, allocations: 0.7117 MB / 486.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.908e-05/0.1663, allocations: 12.03 kB / 486.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001423/0.1664, allocations: 82.72 kB / 486.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006675/0.1671, allocations: 76.33 kB / 486.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005636/0.1677, allocations: 292.3 kB / 487 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.126e-05/0.1678, allocations: 33 kB / 487 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.906e-05/0.1679, allocations: 36 kB / 487.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.1694, allocations: 0.5535 MB / 487.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.1695, allocations: 0 / 487.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.203e-05/0.1696, allocations: 16 kB / 487.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.1e-05/0.1696, allocations: 17 kB / 487.6 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.1711, allocations: 415.6 kB / 488.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002875/0.174, allocations: 1.285 MB / 489.3 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008113/0.1748, allocations: 279.6 kB / 489.6 MB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004504/0.1753, allocations: 138.5 kB / 489.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.245e-05/0.1754, allocations: 15.98 kB / 489.8 MB, free: 11.35 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/0.1754, allocations: 34.56 kB / 489.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 2.796e-06/0.1755, allocations: 0 / 489.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001634/0.1771, allocations: 475.3 kB / 490.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.211e-05/0.1772, allocations: 102.8 kB / 490.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007725/0.178, allocations: 0.494 MB / 490.9 MB, free: 10.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.178, allocations: 29.64 kB / 490.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/0.1783, allocations: 216.2 kB / 491.1 MB, free: 9.965 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.15e-05/0.1784, allocations: 59.11 kB / 491.1 MB, free: 9.906 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.1785, allocations: 61.7 kB / 491.2 MB, free: 9.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002018/0.1787, allocations: 358.8 kB / 491.6 MB, free: 9.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004636/0.1792, allocations: 128.1 kB / 491.7 MB, free: 9.352 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005417/0.1798, allocations: 214.6 kB / 491.9 MB, free: 9.105 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.1808, allocations: 365.9 kB / 492.3 MB, free: 8.711 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1808, allocations: 0 / 492.3 MB, free: 8.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009245/0.1818, allocations: 416.9 kB / 492.7 MB, free: 8.297 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.1818, allocations: 11.94 kB / 492.7 MB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-05/0.1819, allocations: 35.98 kB / 492.7 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.1819, allocations: 4 kB / 492.7 MB, free: 8.246 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.1821, allocations: 31.91 kB / 492.7 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.1821, allocations: 7.984 kB / 492.7 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002786/0.1824, allocations: 59.41 kB / 492.8 MB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/0.1825, allocations: 20.09 kB / 492.8 MB, free: 8.129 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (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 (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0002438/0.1827, allocations: 201.7 kB / 493 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.1828, allocations: 43.47 kB / 493.1 MB, free: 7.879 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008297/0.1837, allocations: 399.7 kB / 493.5 MB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.1837, allocations: 4 kB / 493.5 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1837, allocations: 0 / 493.5 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1837, allocations: 0 / 493.5 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005873/0.1843, allocations: 373.2 kB / 493.8 MB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.542e-05/0.1843, allocations: 32 kB / 493.9 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.1845, allocations: 27.91 kB / 493.9 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.1845, allocations: 3.938 kB / 493.9 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/0.1846, allocations: 15.98 kB / 493.9 MB, free: 6.984 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.1846, allocations: 0 / 493.9 MB, free: 6.984 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1846, allocations: 0 / 493.9 MB, free: 6.984 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009011/0.1855, allocations: 0.5755 MB / 494.5 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.1856, allocations: 128.5 kB / 494.6 MB, free: 6.246 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.285e-05/0.1857, allocations: 8 kB / 494.6 MB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002587/0.186, allocations: 11.98 kB / 494.6 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.47e-05/0.186, allocations: 27.91 kB / 494.6 MB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.1861, allocations: 12 kB / 494.7 MB, free: 6.188 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004249/0.1865, allocations: 367 kB / 495 MB, free: 5.832 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1865, allocations: 4 kB / 495 MB, free: 5.828 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000553/0.1871, allocations: 115.9 kB / 495.1 MB, free: 5.715 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001507/0.1886, allocations: 1.205 MB / 496.3 MB, free: 4.484 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.1896, allocations: 0.5464 MB / 496.9 MB, free: 3.883 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1897, allocations: 0 / 496.9 MB, free: 3.883 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000525/0.1902, allocations: 391.2 kB / 497.3 MB, free: 3.445 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006907/0.1909, allocations: 98.09 kB / 497.4 MB, free: 3.352 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007173/0.1981, allocations: 4.746 MB / 0.4903 GB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005649/0.1987, allocations: 0.8497 MB / 0.4912 GB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002167/0.1989, allocations: 67.22 kB / 0.4912 GB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.1991, allocations: 115.4 kB / 0.4913 GB, free: 13.39 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1991, allocations: 0 / 0.4913 GB, free: 13.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04085/0.24, allocations: 11.78 MB / 0.5029 GB, free: 1.816 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.165/8.405, allocations: 11.11 kB / 0.5029 GB, free: 1.805 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_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.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1)