Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",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.0008281/0.000828, allocations: 91.27 kB / 17 MB, free: 6.84 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.0008994/0.0008995, allocations: 186.7 kB / 17.89 MB, free: 6.055 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.347/1.347, allocations: 223.2 MB / 241.9 MB, free: 364 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.1903/0.1903, allocations: 44.22 MB / 337.2 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.0003969, allocations: 12 kB / 409.8 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1296, allocations: 61.92 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.002351/0.132, allocations: 1.747 MB / 473.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.1341, allocations: 1.544 MB / 475 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.418e-05/0.1342, allocations: 4 kB / 475 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002113/0.1344, allocations: 71.56 kB / 475 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.1345, allocations: 59.48 kB / 475.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005454/0.1351, allocations: 263.1 kB / 475.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.1352, allocations: 151 kB / 475.5 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.272e-05/0.1353, allocations: 16.31 kB / 475.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.276e-05/0.1354, allocations: 47.73 kB / 475.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.382e-05/0.1355, allocations: 67.58 kB / 475.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.1355, allocations: 0 / 475.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.1365, allocations: 0.7256 MB / 476.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.532e-05/0.1366, allocations: 27.78 kB / 476.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.333e-05/0.1366, allocations: 53.64 kB / 476.4 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003952/0.137, allocations: 362.9 kB / 476.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1371, allocations: 4 kB / 476.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1371, allocations: 0 / 476.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1371, allocations: 0 / 476.8 MB, free: 8.473 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006094/0.1377, allocations: 483 kB / 477.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.1377, allocations: 8.031 kB / 477.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.394e-05/0.1378, allocations: 58.53 kB / 477.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.1378, allocations: 23.72 kB / 477.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.138, allocations: 211.2 kB / 477.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.1381, allocations: 28.3 kB / 477.6 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.1381, allocations: 16 kB / 477.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004293/0.1385, allocations: 267.5 kB / 477.9 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.1386, allocations: 4 kB / 477.9 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.1386, allocations: 12 kB / 477.9 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.1386, allocations: 4 kB / 477.9 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003003/0.1389, allocations: 168.2 kB / 478 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009055/0.1398, allocations: 0.8963 MB / 478.9 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.14, allocations: 74.55 kB / 479 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.1401, allocations: 36.94 kB / 479 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.1402, allocations: 0 / 479 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.1402, allocations: 38.56 kB / 479.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.1402, allocations: 0 / 479.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004256/0.1406, allocations: 149.3 kB / 479.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.1407, allocations: 55.41 kB / 479.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.1409, allocations: 266.9 kB / 479.5 MB, free: 5.484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.141, allocations: 25.7 kB / 479.6 MB, free: 5.453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.1411, allocations: 194.8 kB / 479.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.1411, allocations: 15.8 kB / 479.8 MB, free: 5.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.044e-05/0.1411, allocations: 4 kB / 479.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1412, allocations: 334.8 kB / 480.1 MB, free: 4.902 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.1414, allocations: 52.19 kB / 480.2 MB, free: 4.848 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.1416, allocations: 192.1 kB / 480.3 MB, free: 4.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.1418, allocations: 79.91 kB / 480.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1418, allocations: 0 / 480.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004477/0.1422, allocations: 269.5 kB / 480.7 MB, free: 4.242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1423, allocations: 12 kB / 480.7 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.791e-05/0.1423, allocations: 12 kB / 480.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/0.1423, allocations: 8 kB / 480.7 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.1425, allocations: 47.91 kB / 480.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.1425, allocations: 8 kB / 480.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.1427, allocations: 43.61 kB / 480.8 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.1427, allocations: 16 kB / 480.8 MB, free: 4.098 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.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: 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.0001162/0.1428, allocations: 142.2 kB / 481 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.1428, allocations: 19.72 kB / 481 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003575/0.1432, allocations: 158.8 kB / 481.1 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1432, allocations: 0 / 481.1 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1432, allocations: 0 / 481.1 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1432, allocations: 0 / 481.1 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.1435, allocations: 221.5 kB / 481.4 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.899e-05/0.1435, allocations: 15.94 kB / 481.4 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.227e-05/0.1436, allocations: 15.98 kB / 481.4 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1436, allocations: 0 / 481.4 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1436, allocations: 4 kB / 481.4 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1436, allocations: 0 / 481.4 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1436, allocations: 0 / 481.4 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/0.1439, allocations: 223.4 kB / 481.6 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.403e-05/0.144, allocations: 96.83 kB / 481.7 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.144, allocations: 0 / 481.7 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.1441, allocations: 7.984 kB / 481.7 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.1441, allocations: 4 kB / 481.7 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-06/0.1442, allocations: 4 kB / 481.7 MB, free: 3.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001605/0.1443, allocations: 186 kB / 481.9 MB, free: 2.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1443, allocations: 0 / 481.9 MB, free: 2.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004322/0.1448, allocations: 99.92 kB / 482 MB, free: 2.82 MB / 350.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.000827/0.1456, allocations: 0.8412 MB / 482.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004163/0.146, allocations: 208.5 kB / 483 MB, free: 1.734 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.146, allocations: 0 / 483 MB, free: 1.734 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.1462, allocations: 103.4 kB / 483.1 MB, free: 1.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.1466, allocations: 28.31 kB / 483.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.1484, allocations: 1.294 MB / 484.5 MB, free: 192 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.1487, allocations: 0.7326 MB / 485.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.979e-05/0.1488, allocations: 25.89 kB / 485.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.179e-05/0.1488, allocations: 67.41 kB / 485.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1488, allocations: 0 / 485.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02037/0.1692, allocations: 8.249 MB / 493.5 MB, free: 7.359 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/0.1695, allocations: 261.4 kB / 493.8 MB, free: 7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.216/2.385, allocations: 0 / 493.8 MB, free: 7 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat does not exist to compare? outputFormat=mat