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.001325/0.001325, 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.001337/0.001337, 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.448/1.448, 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.2859/0.2859, allocations: 46.12 MB / 344.2 MB, free: 11.59 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.003801/0.003801, allocations: 83.36 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1547, allocations: 62.45 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003795/0.1586, allocations: 2.024 MB / 482.3 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.1601, allocations: 0.8217 MB / 483.1 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.948e-05/0.1602, allocations: 4 kB / 483.1 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002663/0.1605, allocations: 67.58 kB / 483.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003031/0.1608, allocations: 123.4 kB / 483.3 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.161, allocations: 59.8 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003283/0.1614, allocations: 310.6 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.598e-05/0.1614, allocations: 32.39 kB / 483.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.1617, allocations: 135.3 kB / 483.8 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.1619, allocations: 147.3 kB / 483.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.1619, allocations: 8 kB / 483.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002512/0.1622, allocations: 127.8 kB / 484.1 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.81e-05/0.1623, allocations: 67.69 kB / 484.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.1624, allocations: 115.2 kB / 484.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004001/0.1628, allocations: 335 kB / 484.6 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1628, allocations: 0 / 484.6 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1628, allocations: 0 / 484.6 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1628, allocations: 0 / 484.6 MB, free: 0.7656 MB / 350.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.0008685/0.1637, allocations: 0.5614 MB / 485.1 MB, free: 160 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.1638, allocations: 16.03 kB / 485.2 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.068e-05/0.1639, allocations: 70.69 kB / 485.2 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.191e-05/0.1639, allocations: 32.56 kB / 485.3 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.1643, allocations: 252.1 kB / 485.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.1643, allocations: 24.53 kB / 485.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.773e-05/0.1643, allocations: 20 kB / 485.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006404/0.165, allocations: 393.2 kB / 485.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.165, allocations: 0 / 485.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/0.165, allocations: 8 kB / 485.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.011e-05/0.1651, allocations: 32.62 kB / 486 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007815/0.1659, allocations: 414.2 kB / 486.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.1673, allocations: 0.8695 MB / 487.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005981/0.1679, allocations: 278.3 kB / 487.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.1681, allocations: 88.78 kB / 487.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.1681, allocations: 15.86 kB / 487.6 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.1682, allocations: 30.56 kB / 487.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.1682, allocations: 0 / 487.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007763/0.169, allocations: 337.1 kB / 488 MB, free: 13.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.169, allocations: 55.41 kB / 488 MB, free: 13.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003887/0.1694, allocations: 347.2 kB / 488.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.1695, allocations: 29.7 kB / 488.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.1696, allocations: 164.2 kB / 488.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.593e-05/0.1697, allocations: 51.36 kB / 488.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.952e-05/0.1697, allocations: 49.7 kB / 488.7 MB, free: 12.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.1699, allocations: 346.8 kB / 489 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.1701, allocations: 91.89 kB / 489.1 MB, free: 12.03 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.1704, allocations: 137.9 kB / 489.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000456/0.1709, allocations: 248.6 kB / 489.5 MB, free: 11.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.1709, allocations: 8 kB / 489.5 MB, free: 11.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005963/0.1715, allocations: 300.9 kB / 489.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1715, allocations: 4 kB / 489.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.1715, allocations: 0 / 489.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1715, allocations: 7.938 kB / 489.8 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005135/0.172, allocations: 115.9 kB / 489.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/0.1743, allocations: 3.668 MB / 493.6 MB, free: 7.371 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.1745, allocations: 39.89 kB / 493.6 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.1745, allocations: 12 kB / 493.6 MB, free: 7.32 MB / 366.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.0001978/0.1747, allocations: 175.8 kB / 493.8 MB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.689e-05/0.1748, allocations: 27.66 kB / 493.8 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007025/0.1755, allocations: 331.1 kB / 494.1 MB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/0.1755, allocations: 4 kB / 494.1 MB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1756, allocations: 0 / 494.1 MB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.1756, allocations: 3.984 kB / 494.1 MB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003963/0.176, allocations: 309.3 kB / 494.4 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.176, allocations: 3.938 kB / 494.4 MB, free: 6.414 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004796/0.1765, allocations: 111.9 kB / 494.6 MB, free: 6.305 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.1765, allocations: 0 / 494.6 MB, free: 6.305 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.381e-05/0.1765, allocations: 8 kB / 494.6 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0024/0.1789, allocations: 3.664 MB / 498.2 MB, free: 2.492 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1789, allocations: 0 / 498.2 MB, free: 2.492 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005614/0.1795, allocations: 354.1 kB / 498.6 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.1796, allocations: 112.7 kB / 498.7 MB, free: 2.004 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.315e-05/0.1797, allocations: 0 / 498.7 MB, free: 2.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.1798, allocations: 8 kB / 498.7 MB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.606e-05/0.1799, allocations: 19.97 kB / 498.7 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.1799, allocations: 4 kB / 498.7 MB, free: 1.973 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002893/0.1802, allocations: 257.9 kB / 499 MB, free: 1.723 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1802, allocations: 4 kB / 499 MB, free: 1.719 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000396/0.1806, allocations: 79.91 kB / 499 MB, free: 1.641 MB / 366.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.0009847/0.1816, allocations: 0.8955 MB / 499.9 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009142/0.1825, allocations: 316.1 kB / 0.4885 GB, free: 420 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1825, allocations: 7.938 kB / 0.4885 GB, free: 412 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00061/0.1832, allocations: 198.6 kB / 0.4887 GB, free: 216 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.1836, allocations: 52.56 kB / 0.4888 GB, free: 164 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004581/0.1882, allocations: 3.416 MB / 0.4921 GB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/0.1887, allocations: 0.8065 MB / 0.4929 GB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001667/0.1888, allocations: 58.23 kB / 0.4929 GB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.189, allocations: 75.41 kB / 0.493 GB, free: 11.66 MB / 382.1 MB Notification: Performance of SimCode: time 6.82e-07/0.189, allocations: 0 / 0.493 GB, free: 11.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03489/0.2239, allocations: 8.426 MB / 0.5013 GB, free: 3.469 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/11.89, allocations: 20.45 kB / 0.5013 GB, free: 3.457 MB / 382.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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)