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.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,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",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.001056/0.001056, allocations: 96.98 kB / 15.69 MB, free: 480 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.0009726/0.0009728, allocations: 179.7 kB / 16.57 MB, free: 6.391 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.709/1.709, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.4106/0.4106, allocations: 43.54 MB / 314.5 MB, free: 8.746 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.0005502/0.0005505, allocations: 20 kB / 384 MB, free: 7.906 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1381, allocations: 58.85 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002447/0.1406, allocations: 1.709 MB / 444.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.1424, allocations: 1.245 MB / 445.8 MB, free: 9.973 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.207e-05/0.1425, allocations: 0 / 445.8 MB, free: 9.973 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.1428, allocations: 71.67 kB / 445.9 MB, free: 9.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.1429, allocations: 71.73 kB / 446 MB, free: 9.832 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.1434, allocations: 171.5 kB / 446.1 MB, free: 9.664 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.1435, allocations: 115.7 kB / 446.3 MB, free: 9.551 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.678e-05/0.1436, allocations: 24.27 kB / 446.3 MB, free: 9.527 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.1437, allocations: 55.72 kB / 446.3 MB, free: 9.473 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.5e-05/0.1438, allocations: 47.72 kB / 446.4 MB, free: 9.426 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.1438, allocations: 4 kB / 446.4 MB, free: 9.422 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005855/0.1444, allocations: 431.5 kB / 446.8 MB, free: 9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.1445, allocations: 19.86 kB / 446.8 MB, free: 8.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.857e-05/0.1445, allocations: 61.52 kB / 446.9 MB, free: 8.914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003373/0.1449, allocations: 235.5 kB / 447.1 MB, free: 8.684 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.1449, allocations: 0 / 447.1 MB, free: 8.684 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1449, allocations: 0 / 447.1 MB, free: 8.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.1449, allocations: 0 / 447.1 MB, free: 8.684 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0005687/0.1455, allocations: 482.5 kB / 447.6 MB, free: 8.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.1455, allocations: 8.031 kB / 447.6 MB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.704e-05/0.1456, allocations: 50.55 kB / 447.6 MB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.362e-05/0.1457, allocations: 27.67 kB / 447.7 MB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.1459, allocations: 210.7 kB / 447.9 MB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.1459, allocations: 12 kB / 447.9 MB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.1459, allocations: 20 kB / 447.9 MB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003794/0.1463, allocations: 210.4 kB / 448.1 MB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.1464, allocations: 0 / 448.1 MB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.1464, allocations: 12 kB / 448.1 MB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.1464, allocations: 4 kB / 448.1 MB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003056/0.1467, allocations: 164.2 kB / 448.3 MB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008764/0.1476, allocations: 0.5637 MB / 448.9 MB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.1478, allocations: 74.48 kB / 448.9 MB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.1478, allocations: 4 kB / 448.9 MB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.1479, allocations: 30.56 kB / 449 MB, free: 6.664 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.123e-06/0.1479, allocations: 0 / 449 MB, free: 6.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005898/0.1485, allocations: 311.6 kB / 449.3 MB, free: 6.316 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.1485, allocations: 59.39 kB / 449.3 MB, free: 6.246 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.1488, allocations: 258.6 kB / 449.6 MB, free: 5.988 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.1488, allocations: 25.7 kB / 449.6 MB, free: 5.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.149, allocations: 163.7 kB / 449.8 MB, free: 5.793 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.149, allocations: 27.64 kB / 449.8 MB, free: 5.766 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.065e-06/0.149, allocations: 4 kB / 449.8 MB, free: 5.762 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1492, allocations: 326.8 kB / 450.1 MB, free: 5.434 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.1493, allocations: 39.97 kB / 450.1 MB, free: 5.395 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.1495, allocations: 136.8 kB / 450.3 MB, free: 5.215 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.1496, allocations: 63.97 kB / 450.3 MB, free: 5.152 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1497, allocations: 0 / 450.3 MB, free: 5.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003908/0.1501, allocations: 205.2 kB / 450.5 MB, free: 4.945 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1501, allocations: 11.94 kB / 450.6 MB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.987e-05/0.1501, allocations: 11.98 kB / 450.6 MB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.1501, allocations: 8 kB / 450.6 MB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.1503, allocations: 27.98 kB / 450.6 MB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/0.1503, allocations: 11.89 kB / 450.6 MB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.1504, allocations: 47.98 kB / 450.7 MB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.1505, allocations: 8 kB / 450.7 MB, free: 4.82 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001216/0.1506, allocations: 133.7 kB / 450.8 MB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.1506, allocations: 15.81 kB / 450.8 MB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004072/0.151, allocations: 154.9 kB / 451 MB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.1511, allocations: 4.031 kB / 451 MB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1511, allocations: 0 / 451 MB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1511, allocations: 7.953 kB / 451 MB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.1513, allocations: 217.6 kB / 451.2 MB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/0.1514, allocations: 8 kB / 451.2 MB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.208e-05/0.1514, allocations: 15.92 kB / 451.2 MB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1514, allocations: 0 / 451.2 MB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.1514, allocations: 4 kB / 451.2 MB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.1515, allocations: 3.984 kB / 451.2 MB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1515, allocations: 0 / 451.2 MB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.1518, allocations: 227.3 kB / 451.4 MB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-05/0.1519, allocations: 92.92 kB / 451.5 MB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.1519, allocations: 0 / 451.5 MB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.152, allocations: 15.98 kB / 451.5 MB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.1521, allocations: 7.984 kB / 451.6 MB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.1521, allocations: 4 kB / 451.6 MB, free: 3.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001522/0.1522, allocations: 174 kB / 451.7 MB, free: 3.648 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.222e-06/0.1522, allocations: 0 / 451.7 MB, free: 3.648 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004339/0.1527, allocations: 79.86 kB / 451.8 MB, free: 3.57 MB / 382.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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0007974/0.1535, allocations: 0.8213 MB / 452.6 MB, free: 2.723 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000458/0.154, allocations: 179.8 kB / 452.8 MB, free: 2.535 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.154, allocations: 0 / 452.8 MB, free: 2.535 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.1542, allocations: 103.7 kB / 452.9 MB, free: 2.422 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.1544, allocations: 24.81 kB / 452.9 MB, free: 2.395 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.205/0.3594, allocations: 3.353 MB / 456.3 MB, free: 45.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/0.3597, allocations: 0.7399 MB / 457 MB, free: 44.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.976e-05/0.3598, allocations: 17.22 kB / 457 MB, free: 44.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.212e-05/0.3598, allocations: 59.02 kB / 457.1 MB, free: 44.93 MB / 382.1 MB Notification: Performance of SimCode: time 9.11e-07/0.3598, allocations: 0 / 457.1 MB, free: 44.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01785/0.3777, allocations: 6.041 MB / 463.1 MB, free: 44.44 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002459/0.378, allocations: 257.4 kB / 463.4 MB, free: 44.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.017/2.395, allocations: 0 / 463.4 MB, free: 44.1 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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_res.mat does not exist to compare? outputFormat=mat