Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001082/0.001082, allocations: 98.47 kB / 17 MB, free: 6.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001437/0.001437, allocations: 193.6 kB / 17.91 MB, free: 5.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.3 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2224/0.2224, allocations: 45.91 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.0003281, allocations: 11.94 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1202, allocations: 63.47 MB / 481.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002577/0.1228, allocations: 1.771 MB / 483.4 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.1248, allocations: 1.294 MB / 484.7 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.1249, allocations: 4 kB / 484.7 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002835/0.1252, allocations: 83.5 kB / 484.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.1253, allocations: 51.56 kB / 484.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004656/0.1258, allocations: 171.3 kB / 485 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.126, allocations: 155 kB / 485.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.726e-05/0.1261, allocations: 16.3 kB / 485.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.1263, allocations: 59.67 kB / 485.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.1264, allocations: 63.64 kB / 485.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.1264, allocations: 4 kB / 485.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006389/0.1271, allocations: 407.3 kB / 485.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.245e-05/0.1271, allocations: 19.86 kB / 485.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.1272, allocations: 49.58 kB / 485.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003526/0.1275, allocations: 275.1 kB / 486.1 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.1275, allocations: 4 kB / 486.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1276, allocations: 0 / 486.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.1276, allocations: 4 kB / 486.1 MB, free: 0.832 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006017/0.1282, allocations: 474.5 kB / 486.5 MB, free: 328 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.1282, allocations: 12.03 kB / 486.5 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.13e-05/0.1283, allocations: 54.48 kB / 486.6 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.1283, allocations: 19.81 kB / 486.6 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.1286, allocations: 211.4 kB / 486.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.1286, allocations: 12 kB / 486.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.1287, allocations: 20 kB / 486.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003659/0.129, allocations: 206.7 kB / 487.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.1291, allocations: 4 kB / 487.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.1291, allocations: 4 kB / 487.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.1291, allocations: 4 kB / 487.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002924/0.1294, allocations: 164.2 kB / 487.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008431/0.1302, allocations: 0.5676 MB / 487.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.1304, allocations: 74.44 kB / 487.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.1306, allocations: 40.94 kB / 487.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.522e-05/0.1306, allocations: 0 / 487.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.1306, allocations: 34.56 kB / 487.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.1306, allocations: 4 kB / 487.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004617/0.1311, allocations: 149.4 kB / 488.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.1312, allocations: 55.41 kB / 488.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.1314, allocations: 262.5 kB / 488.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.1314, allocations: 25.7 kB / 488.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.1316, allocations: 163.7 kB / 488.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.1316, allocations: 23.73 kB / 488.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.183e-06/0.1316, allocations: 0 / 488.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1318, allocations: 330.8 kB / 488.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.1319, allocations: 43.97 kB / 489 MB, free: 13.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.1321, allocations: 142.4 kB / 489.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.1323, allocations: 63.91 kB / 489.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.1323, allocations: 0 / 489.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004041/0.1327, allocations: 209 kB / 489.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.1327, allocations: 4 kB / 489.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.321e-05/0.1328, allocations: 12 kB / 489.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1328, allocations: 4.438 kB / 489.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.1329, allocations: 47.91 kB / 489.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/0.133, allocations: 7.984 kB / 489.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.1331, allocations: 27.69 kB / 489.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.1331, allocations: 16 kB / 489.5 MB, free: 13.13 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 (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.0001461/0.1333, allocations: 133.7 kB / 489.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.448e-05/0.1333, allocations: 19.72 kB / 489.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004104/0.1338, allocations: 154.8 kB / 489.8 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.1338, allocations: 4 kB / 489.8 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/0.1338, allocations: 0 / 489.8 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1338, allocations: 3.938 kB / 489.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.1341, allocations: 221.5 kB / 490 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.992e-05/0.1341, allocations: 8.188 kB / 490 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.508e-05/0.1342, allocations: 15.98 kB / 490 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.1342, allocations: 0 / 490 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.1342, allocations: 4 kB / 490 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1342, allocations: 0 / 490 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1342, allocations: 4 kB / 490.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.1345, allocations: 207.4 kB / 490.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.167e-05/0.1346, allocations: 100.8 kB / 490.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.1347, allocations: 15.98 kB / 490.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.677e-05/0.1348, allocations: 7.984 kB / 490.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.1348, allocations: 7.938 kB / 490.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.1348, allocations: 4 kB / 490.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001807/0.135, allocations: 182 kB / 490.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.135, allocations: 0 / 490.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004258/0.1355, allocations: 67.94 kB / 490.6 MB, free: 11.89 MB / 366.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.0008053/0.1363, allocations: 0.8219 MB / 491.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004198/0.1367, allocations: 184 kB / 491.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1367, allocations: 0 / 491.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.1369, allocations: 103.4 kB / 491.7 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.1373, allocations: 24.88 kB / 491.8 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.1392, allocations: 1.233 MB / 493 MB, free: 9.391 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.1396, allocations: 0.7323 MB / 493.7 MB, free: 8.633 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.401e-05/0.1396, allocations: 17.55 kB / 493.7 MB, free: 8.613 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.028e-05/0.1397, allocations: 59.41 kB / 493.8 MB, free: 8.555 MB / 366.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1397, allocations: 3.938 kB / 493.8 MB, free: 8.551 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0172/0.1569, allocations: 6.214 MB / 0.4883 GB, free: 2.605 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002151/0.1572, allocations: 258.1 kB / 0.4885 GB, free: 2.266 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/2.048, allocations: 0 / 0.4885 GB, free: 2.266 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat does not exist to compare? outputFormat=mat