Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_4_0_0_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_0_0_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 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 99.03 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 177.7 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.3 MB / 241.9 MB, free: 328 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2101/0.2101, allocations: 44.23 MB / 337.2 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000285/0.000285, allocations: 8 kB / 409.8 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1269, allocations: 61.93 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.002393/0.1293, allocations: 1.712 MB / 473.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.1311, allocations: 1.162 MB / 474.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.592e-05/0.1312, allocations: 0 / 474.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002878/0.1315, allocations: 55.66 kB / 474.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001779/0.1317, allocations: 75.58 kB / 474.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005333/0.1323, allocations: 147.5 kB / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005514/0.1328, allocations: 469.9 kB / 475.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1329, allocations: 44.72 kB / 475.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.1331, allocations: 135.3 kB / 475.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002928/0.1334, allocations: 175.2 kB / 475.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.43e-05/0.1335, allocations: 8 kB / 475.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004622/0.134, allocations: 247.5 kB / 475.9 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.1341, allocations: 87.58 kB / 476 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.705e-05/0.1342, allocations: 85.52 kB / 476.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004481/0.1346, allocations: 375.2 kB / 476.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.1346, allocations: 0 / 476.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1346, allocations: 0 / 476.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.1347, allocations: 4 kB / 476.4 MB, free: 8.836 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001143/0.1358, allocations: 0.6705 MB / 477.1 MB, free: 8.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.1359, allocations: 8.031 kB / 477.1 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.367e-05/0.136, allocations: 78.53 kB / 477.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.742e-05/0.136, allocations: 39.53 kB / 477.2 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/0.1364, allocations: 283.4 kB / 477.5 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.1364, allocations: 29 kB / 477.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.918e-05/0.1365, allocations: 43.95 kB / 477.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009089/0.1374, allocations: 0.5613 MB / 478.1 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1374, allocations: 4 kB / 478.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.364e-05/0.1375, allocations: 16 kB / 478.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.014e-05/0.1375, allocations: 17 kB / 478.2 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007507/0.1383, allocations: 435.6 kB / 478.6 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/0.14, allocations: 1.277 MB / 479.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005813/0.1406, allocations: 311.5 kB / 480.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003196/0.1409, allocations: 162.4 kB / 480.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.092e-05/0.141, allocations: 7.953 kB / 480.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.141, allocations: 42.5 kB / 480.4 MB, free: 4.656 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.713e-06/0.141, allocations: 3.938 kB / 480.4 MB, free: 4.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001166/0.1422, allocations: 0.5244 MB / 480.9 MB, free: 4.121 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.919e-05/0.1423, allocations: 106.8 kB / 481 MB, free: 3.992 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005292/0.1428, allocations: 0.4939 MB / 481.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.1429, allocations: 29.7 kB / 481.5 MB, free: 3.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.143, allocations: 212.2 kB / 481.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.149e-05/0.1431, allocations: 55.2 kB / 481.8 MB, free: 3.195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.747e-05/0.1431, allocations: 4 kB / 481.8 MB, free: 3.191 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1433, allocations: 354.8 kB / 482.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003163/0.1436, allocations: 152.1 kB / 482.3 MB, free: 2.684 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003968/0.144, allocations: 242.5 kB / 482.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003518/0.1444, allocations: 182.8 kB / 482.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1444, allocations: 4 kB / 482.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008625/0.1453, allocations: 464.6 kB / 483.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.1453, allocations: 4 kB / 483.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-05/0.1454, allocations: 35.98 kB / 483.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.1454, allocations: 8.344 kB / 483.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.1456, allocations: 43.89 kB / 483.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.1456, allocations: 4 kB / 483.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/0.1459, allocations: 59.48 kB / 483.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.853e-05/0.1459, allocations: 19.98 kB / 483.3 MB, free: 1.598 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002187/0.1461, allocations: 202.1 kB / 483.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.776e-05/0.1462, allocations: 43.48 kB / 483.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008214/0.1471, allocations: 440.8 kB / 484 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.1471, allocations: 4 kB / 484 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1471, allocations: 0 / 484 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1471, allocations: 0 / 484 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005473/0.1476, allocations: 369.4 kB / 484.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.704e-05/0.1477, allocations: 35.98 kB / 484.4 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.1479, allocations: 27.97 kB / 484.4 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.1479, allocations: 7.953 kB / 484.4 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.1479, allocations: 12 kB / 484.5 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1479, allocations: 0 / 484.5 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.1479, allocations: 7.984 kB / 484.5 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000887/0.1488, allocations: 0.6252 MB / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.149, allocations: 124.6 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.863e-05/0.149, allocations: 7.953 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.1493, allocations: 23.97 kB / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.54e-05/0.1494, allocations: 19.98 kB / 485.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.1494, allocations: 15.92 kB / 485.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003835/0.1498, allocations: 359.1 kB / 485.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1498, allocations: 4 kB / 485.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005756/0.1504, allocations: 127.8 kB / 485.8 MB, free: 15.08 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 (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.001358/0.1517, allocations: 1.238 MB / 487 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009315/0.1527, allocations: 0.5852 MB / 487.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.1527, allocations: 0 / 487.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004969/0.1532, allocations: 415.4 kB / 488 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006435/0.1539, allocations: 85.5 kB / 488.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004249/0.1581, allocations: 2.853 MB / 490.9 MB, free: 9.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/0.1586, allocations: 0.8461 MB / 491.8 MB, free: 8.809 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001829/0.1588, allocations: 67.23 kB / 491.8 MB, free: 8.742 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.159, allocations: 107.4 kB / 491.9 MB, free: 8.637 MB / 366.1 MB Notification: Performance of SimCode: time 7.32e-07/0.159, allocations: 0 / 491.9 MB, free: 8.637 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/0.1825, allocations: 11.05 MB / 0.4912 GB, free: 13.88 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003036/0.1828, allocations: 258 kB / 0.4914 GB, free: 13.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.225/2.408, allocations: 0 / 0.4914 GB, free: 13.62 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat does not exist to compare? outputFormat=mat