Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.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 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 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 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.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",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.001018/0.001018, allocations: 96.67 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 175.9 kB / 16.57 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.4 MB / 222.7 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4368/0.4368, allocations: 43.54 MB / 314.5 MB, free: 9.008 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006023/0.0006026, allocations: 14.97 kB / 384 MB, free: 8.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1472, allocations: 58.86 MB / 442.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002509/0.1498, allocations: 1.768 MB / 444.6 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.1514, allocations: 0.9909 MB / 445.6 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.201e-05/0.1515, allocations: 0 / 445.6 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.1518, allocations: 75.62 kB / 445.7 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.1521, allocations: 87.64 kB / 445.8 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.1523, allocations: 95.81 kB / 445.9 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.1525, allocations: 135.6 kB / 446 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.128e-05/0.1526, allocations: 20.38 kB / 446 MB, free: 9.996 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.1527, allocations: 67.64 kB / 446.1 MB, free: 9.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.1529, allocations: 79.61 kB / 446.2 MB, free: 9.852 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.1529, allocations: 8 kB / 446.2 MB, free: 9.844 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004498/0.1534, allocations: 263.7 kB / 446.5 MB, free: 9.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.941e-05/0.1534, allocations: 19.91 kB / 446.5 MB, free: 9.566 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.712e-05/0.1535, allocations: 57.58 kB / 446.5 MB, free: 9.504 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.1538, allocations: 175.6 kB / 446.7 MB, free: 9.332 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1538, allocations: 0 / 446.7 MB, free: 9.332 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1538, allocations: 3.938 kB / 446.7 MB, free: 9.328 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1538, allocations: 0 / 446.7 MB, free: 9.328 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006462/0.1544, allocations: 478.9 kB / 447.2 MB, free: 8.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.1545, allocations: 12.03 kB / 447.2 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.687e-05/0.1546, allocations: 54.48 kB / 447.2 MB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.1546, allocations: 31.67 kB / 447.3 MB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.1549, allocations: 210.7 kB / 447.5 MB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.1549, allocations: 16.44 kB / 447.5 MB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.1549, allocations: 16 kB / 447.5 MB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004442/0.1554, allocations: 231.2 kB / 447.7 MB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1554, allocations: 0 / 447.7 MB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.1554, allocations: 8 kB / 447.7 MB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.1555, allocations: 8 kB / 447.7 MB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004466/0.1559, allocations: 265.5 kB / 448 MB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000989/0.1569, allocations: 0.6235 MB / 448.6 MB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003728/0.1573, allocations: 106.6 kB / 448.7 MB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.1573, allocations: 12.05 kB / 448.7 MB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.1574, allocations: 34.75 kB / 448.8 MB, free: 7.082 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.1574, allocations: 3.938 kB / 448.8 MB, free: 7.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005656/0.158, allocations: 177.3 kB / 449 MB, free: 6.898 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.13e-05/0.158, allocations: 67.3 kB / 449 MB, free: 6.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.1583, allocations: 262.9 kB / 449.3 MB, free: 6.555 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.1584, allocations: 29.7 kB / 449.3 MB, free: 6.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.1585, allocations: 171.3 kB / 449.5 MB, free: 6.348 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.1586, allocations: 31.55 kB / 449.5 MB, free: 6.316 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.056e-05/0.1586, allocations: 4 kB / 449.5 MB, free: 6.312 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.1588, allocations: 330.8 kB / 449.8 MB, free: 5.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.1589, allocations: 55.97 kB / 449.9 MB, free: 5.926 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.1591, allocations: 156.7 kB / 450 MB, free: 5.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.1593, allocations: 71.92 kB / 450.1 MB, free: 5.656 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1593, allocations: 0 / 450.1 MB, free: 5.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004636/0.1598, allocations: 245 kB / 450.3 MB, free: 5.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.1598, allocations: 8 kB / 450.4 MB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.1599, allocations: 4.438 kB / 450.4 MB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.1599, allocations: 8 kB / 450.4 MB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003578/0.1602, allocations: 83.89 kB / 450.5 MB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008485/0.1611, allocations: 1.223 MB / 451.7 MB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.1613, allocations: 43.69 kB / 451.7 MB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.1613, allocations: 15.98 kB / 451.7 MB, free: 3.98 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001296/0.1615, allocations: 133.7 kB / 451.9 MB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.1615, allocations: 23.72 kB / 451.9 MB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004486/0.162, allocations: 183.5 kB / 452.1 MB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.162, allocations: 8 kB / 452.1 MB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.162, allocations: 96 / 452.1 MB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.162, allocations: 3.938 kB / 452.1 MB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007242/0.1628, allocations: 467.9 kB / 452.5 MB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1628, allocations: 3.938 kB / 452.5 MB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.163, allocations: 63.95 kB / 452.6 MB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.163, allocations: 0 / 452.6 MB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.1631, allocations: 4 kB / 452.6 MB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007805/0.1639, allocations: 1.215 MB / 453.8 MB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1639, allocations: 0 / 453.8 MB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004004/0.1643, allocations: 280.4 kB / 454.1 MB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.15e-05/0.1644, allocations: 100.8 kB / 454.2 MB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.1644, allocations: 4 kB / 454.2 MB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.1646, allocations: 4 kB / 454.2 MB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.1646, allocations: 19.98 kB / 454.2 MB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.1646, allocations: 4 kB / 454.2 MB, free: 1.312 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001678/0.1648, allocations: 182 kB / 454.4 MB, free: 1.137 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1648, allocations: 0 / 454.4 MB, free: 1.137 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003769/0.1652, allocations: 71.94 kB / 454.5 MB, free: 1.066 MB / 382.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001064/0.1663, allocations: 0.9874 MB / 455.5 MB, free: 36 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.2256/0.3919, allocations: 180 kB / 455.6 MB, free: 46.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.3919, allocations: 0 / 455.6 MB, free: 46.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003045/0.3923, allocations: 94.16 kB / 455.7 MB, free: 46.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.3927, allocations: 24.83 kB / 455.7 MB, free: 46.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.3951, allocations: 3.487 MB / 459.2 MB, free: 44.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.3953, allocations: 0.7331 MB / 460 MB, free: 43.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.422e-05/0.3954, allocations: 21.02 kB / 460 MB, free: 43.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.3955, allocations: 64.25 kB / 460.1 MB, free: 43.52 MB / 382.1 MB Notification: Performance of SimCode: time 1.282e-06/0.3955, allocations: 0 / 460.1 MB, free: 43.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01818/0.4137, allocations: 5.468 MB / 465.5 MB, free: 43.09 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/0.4139, allocations: 253 kB / 465.8 MB, free: 42.76 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.112/2.526, allocations: 2.812 kB / 465.8 MB, free: 42.76 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat does not exist to compare? outputFormat=mat