Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_3_2_3_cpp_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/Complex 3.2.3+maint.om/package.mo): time 0.001618/0.001618, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.151/2.151, allocations: 205.4 MB / 222.5 MB, free: 13.75 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 94.86 kB / 270.9 MB, free: 13.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3064/0.3064, allocations: 43.55 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004825/0.0004826, allocations: 12 kB / 431.5 MB, free: 20.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1265, allocations: 58.85 MB / 490.3 MB, free: 9.215 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003166/0.1297, allocations: 1.682 MB / 492 MB, free: 7.512 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002821/0.1326, allocations: 1.147 MB / 493.2 MB, free: 6.359 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.1328, allocations: 0 / 493.2 MB, free: 6.359 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003555/0.1332, allocations: 59.72 kB / 493.2 MB, free: 6.301 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.1334, allocations: 63.8 kB / 493.3 MB, free: 6.238 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007998/0.1342, allocations: 156.2 kB / 493.4 MB, free: 6.086 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005638/0.1348, allocations: 283.4 kB / 493.7 MB, free: 5.809 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.1349, allocations: 44.72 kB / 493.8 MB, free: 5.766 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002646/0.1352, allocations: 131.4 kB / 493.9 MB, free: 5.637 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.1355, allocations: 147.3 kB / 494 MB, free: 5.492 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.79e-05/0.1355, allocations: 8 kB / 494 MB, free: 5.484 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007685/0.1363, allocations: 259.6 kB / 494.3 MB, free: 5.23 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.1365, allocations: 75.66 kB / 494.4 MB, free: 5.156 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.1366, allocations: 81.52 kB / 494.4 MB, free: 5.07 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006924/0.1373, allocations: 343.4 kB / 494.8 MB, free: 4.734 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.1373, allocations: 0 / 494.8 MB, free: 4.734 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1373, allocations: 4 kB / 494.8 MB, free: 4.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1374, allocations: 0 / 494.8 MB, free: 4.73 MB / 330.7 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.0016/0.139, allocations: 0.6589 MB / 495.4 MB, free: 4.023 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/0.139, allocations: 12.03 kB / 495.5 MB, free: 4.012 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001375/0.1392, allocations: 78.53 kB / 495.5 MB, free: 3.926 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.1393, allocations: 47.39 kB / 495.6 MB, free: 3.879 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005357/0.1399, allocations: 283.4 kB / 495.9 MB, free: 3.559 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.789e-05/0.1399, allocations: 25 kB / 495.9 MB, free: 3.535 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.959e-05/0.14, allocations: 36 kB / 495.9 MB, free: 3.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.1415, allocations: 0.5652 MB / 496.5 MB, free: 2.914 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.1416, allocations: 0 / 496.5 MB, free: 2.914 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-05/0.1416, allocations: 16 kB / 496.5 MB, free: 2.898 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.74e-05/0.1417, allocations: 17 kB / 496.5 MB, free: 2.883 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/0.1432, allocations: 439.6 kB / 496.9 MB, free: 2.453 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003046/0.1463, allocations: 1.32 MB / 498.3 MB, free: 1.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.1474, allocations: 311.5 kB / 498.6 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.43e-05/0.1474, allocations: 12 kB / 498.6 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.1475, allocations: 34.55 kB / 498.6 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 3.356e-06/0.1475, allocations: 0 / 498.6 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.002389/0.1499, allocations: 0.7539 MB / 499.4 MB, free: 15.87 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.52e-05/0.15, allocations: 110.8 kB / 499.5 MB, free: 15.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009493/0.151, allocations: 0.49 MB / 500 MB, free: 15.24 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.113e-05/0.1511, allocations: 29.77 kB / 500 MB, free: 15.21 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.1513, allocations: 250.7 kB / 0.4885 GB, free: 14.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.177e-05/0.1514, allocations: 55.11 kB / 0.4886 GB, free: 14.91 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/0.1514, allocations: 4 kB / 0.4886 GB, free: 14.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1516, allocations: 322.9 kB / 0.4889 GB, free: 14.58 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006547/0.1523, allocations: 160 kB / 0.489 GB, free: 14.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007042/0.153, allocations: 238.5 kB / 0.4893 GB, free: 14.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007001/0.1537, allocations: 175.8 kB / 0.4894 GB, free: 13.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.1537, allocations: 0 / 0.4894 GB, free: 13.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001645/0.1554, allocations: 441 kB / 0.4898 GB, free: 13.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.1554, allocations: 6.656 kB / 0.4899 GB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001158/0.1556, allocations: 35.91 kB / 0.4899 GB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/0.1556, allocations: 4 kB / 0.4899 GB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/0.156, allocations: 40.28 kB / 0.4899 GB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-05/0.156, allocations: 7.938 kB / 0.4899 GB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005032/0.1565, allocations: 71.45 kB / 0.49 GB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.796e-05/0.1566, allocations: 16 kB / 0.49 GB, free: 13.37 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003669/0.157, allocations: 201.3 kB / 0.4902 GB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.1571, allocations: 39.53 kB / 0.4903 GB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/0.1586, allocations: 440.7 kB / 0.4907 GB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/0.1587, allocations: 7.984 kB / 0.4907 GB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.1587, allocations: 0 / 0.4907 GB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.1587, allocations: 4 kB / 0.4907 GB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009643/0.1597, allocations: 373.3 kB / 0.491 GB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001028/0.1598, allocations: 31.97 kB / 0.4911 GB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003057/0.1601, allocations: 27.97 kB / 0.4911 GB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/0.1602, allocations: 7.938 kB / 0.4911 GB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.939e-05/0.1602, allocations: 12 kB / 0.4911 GB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.149e-05/0.1602, allocations: 11.92 kB / 0.4911 GB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.1602, allocations: 3.938 kB / 0.4911 GB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.1619, allocations: 0.6453 MB / 0.4918 GB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001875/0.1621, allocations: 120.6 kB / 0.4919 GB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.484e-05/0.1622, allocations: 8 kB / 0.4919 GB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005341/0.1627, allocations: 23.97 kB / 0.4919 GB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.1629, allocations: 23.92 kB / 0.4919 GB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.591e-05/0.1629, allocations: 8 kB / 0.4919 GB, free: 11.3 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007006/0.1637, allocations: 367 kB / 0.4923 GB, free: 10.94 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1637, allocations: 0 / 0.4923 GB, free: 10.94 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008458/0.1645, allocations: 115.9 kB / 0.4924 GB, free: 10.83 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002489/0.167, allocations: 1.402 MB / 0.4938 GB, free: 9.387 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001644/0.1687, allocations: 0.577 MB / 0.4943 GB, free: 8.754 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.1688, allocations: 0 / 0.4943 GB, free: 8.754 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008532/0.1696, allocations: 411.8 kB / 0.4947 GB, free: 8.297 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008508/0.1705, allocations: 94.14 kB / 0.4948 GB, free: 8.207 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007966/0.1785, allocations: 4.478 MB / 0.4992 GB, free: 3.613 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006072/0.1791, allocations: 0.8499 MB / 0.5 GB, free: 2.738 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002912/0.1794, allocations: 115.4 kB / 0.5001 GB, free: 2.625 MB / 346.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1794, allocations: 0 / 0.5001 GB, free: 2.625 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.864/3.043, allocations: 9.289 MB / 0.5092 GB, free: 9.344 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat does not exist to compare? outputFormat=mat