Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001055/0.001055, allocations: 102 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001441/0.001441, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2255/0.2255, allocations: 45.92 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002441/0.0002441, allocations: 11.98 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1123, allocations: 63.46 MB / 481.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002398/0.1147, allocations: 1.841 MB / 483.5 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.1163, allocations: 1.017 MB / 484.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.439e-05/0.1164, allocations: 3.938 kB / 484.5 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002653/0.1166, allocations: 71.58 kB / 484.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002795/0.1169, allocations: 79.34 kB / 484.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.1172, allocations: 95.69 kB / 484.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.1174, allocations: 170.9 kB / 484.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.316e-05/0.1174, allocations: 12.41 kB / 484.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.1176, allocations: 79.58 kB / 485 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.1177, allocations: 79.56 kB / 485.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.1178, allocations: 8 kB / 485.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003599/0.1181, allocations: 247.6 kB / 485.3 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.753e-05/0.1182, allocations: 27.86 kB / 485.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.75e-05/0.1182, allocations: 53.58 kB / 485.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.1185, allocations: 223.1 kB / 485.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1185, allocations: 0 / 485.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1185, allocations: 0 / 485.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.1185, allocations: 0 / 485.6 MB, free: 1.246 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005779/0.1191, allocations: 474.9 kB / 486.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1192, allocations: 12.03 kB / 486.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.445e-05/0.1192, allocations: 50.55 kB / 486.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.265e-05/0.1193, allocations: 31.7 kB / 486.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.1195, allocations: 210.7 kB / 486.4 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.1195, allocations: 12.44 kB / 486.4 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.1196, allocations: 24 kB / 486.4 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00043/0.12, allocations: 235.2 kB / 486.7 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.12, allocations: 0 / 486.7 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.1201, allocations: 8 kB / 486.7 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.1201, allocations: 4 kB / 486.7 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004311/0.1205, allocations: 257.6 kB / 486.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009667/0.1215, allocations: 0.6157 MB / 487.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.1218, allocations: 110.5 kB / 487.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.1219, allocations: 48.98 kB / 487.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.1219, allocations: 0 / 487.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.122, allocations: 30.56 kB / 487.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.122, allocations: 0 / 487.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005125/0.1225, allocations: 193.5 kB / 487.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.1225, allocations: 51.41 kB / 488 MB, free: 14.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002631/0.1228, allocations: 262.9 kB / 488.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.1228, allocations: 33.7 kB / 488.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.123, allocations: 171.3 kB / 488.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.123, allocations: 35.53 kB / 488.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.148e-05/0.123, allocations: 7.938 kB / 488.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1232, allocations: 334.8 kB / 488.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.1233, allocations: 51.95 kB / 488.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/0.1236, allocations: 156.8 kB / 489 MB, free: 13.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.1238, allocations: 75.91 kB / 489.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1238, allocations: 0 / 489.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004554/0.1242, allocations: 249.1 kB / 489.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.1243, allocations: 8 kB / 489.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.1243, allocations: 4 kB / 489.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.1243, allocations: 4 kB / 489.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/0.1247, allocations: 84.25 kB / 489.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007865/0.1255, allocations: 1.223 MB / 490.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.1257, allocations: 43.52 kB / 490.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.1257, allocations: 16.19 kB / 490.7 MB, free: 11.86 MB / 366.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.0001474/0.1259, allocations: 133.7 kB / 490.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.129e-05/0.1259, allocations: 23.67 kB / 490.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004442/0.1264, allocations: 183.3 kB / 491 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1264, allocations: 0 / 491 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1264, allocations: 0 / 491 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1264, allocations: 4 kB / 491 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006264/0.127, allocations: 460 kB / 491.5 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.127, allocations: 0 / 491.5 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/0.1273, allocations: 51.98 kB / 491.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/0.1273, allocations: 7.984 kB / 491.5 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.1273, allocations: 4.062 kB / 491.5 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007556/0.1281, allocations: 1.211 MB / 492.8 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1281, allocations: 4.031 kB / 492.8 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004008/0.1285, allocations: 253.2 kB / 493 MB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.976e-05/0.1286, allocations: 104.8 kB / 493.1 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.1286, allocations: 15.89 kB / 493.1 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.1288, allocations: 11.98 kB / 493.1 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.1289, allocations: 7.938 kB / 493.1 MB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.1289, allocations: 8 kB / 493.2 MB, free: 9.242 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000186/0.1291, allocations: 186 kB / 493.3 MB, free: 9.059 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1291, allocations: 0 / 493.3 MB, free: 9.059 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003924/0.1295, allocations: 67.98 kB / 493.4 MB, free: 8.992 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 (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.0009632/0.1304, allocations: 0.8353 MB / 494.2 MB, free: 8.121 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005557/0.131, allocations: 175.7 kB / 494.4 MB, free: 7.949 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.131, allocations: 4.875 kB / 494.4 MB, free: 7.945 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002815/0.1313, allocations: 95.89 kB / 494.5 MB, free: 7.852 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.1317, allocations: 28.83 kB / 494.5 MB, free: 7.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.1338, allocations: 1.361 MB / 495.9 MB, free: 6.352 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.1341, allocations: 0.7365 MB / 496.6 MB, free: 5.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.495e-05/0.1342, allocations: 25.97 kB / 496.7 MB, free: 5.566 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.488e-05/0.1343, allocations: 63.42 kB / 496.7 MB, free: 5.504 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1343, allocations: 0 / 496.7 MB, free: 5.504 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01749/0.1518, allocations: 5.578 MB / 0.4905 GB, free: 204 kB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/0.1521, allocations: 261.5 kB / 0.4908 GB, free: 15.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.014/2.166, allocations: 0 / 0.4908 GB, free: 15.84 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat does not exist to compare? outputFormat=mat