Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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_roundTube,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.00103/0.00103, allocations: 94.94 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.001112/0.001112, allocations: 190.9 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.35/1.35, allocations: 227.4 MB / 246 MB, free: 10.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2464/0.2464, allocations: 45.9 MB / 344.1 MB, free: 12.01 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002714/0.0002715, allocations: 4 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1149, allocations: 63.47 MB / 481.7 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.002231/0.1171, allocations: 1.763 MB / 483.4 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.1192, allocations: 1.59 MB / 485 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.987e-05/0.1193, allocations: 4 kB / 485 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002183/0.1195, allocations: 79.52 kB / 485.1 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.1196, allocations: 55.55 kB / 485.1 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005644/0.1202, allocations: 275.1 kB / 485.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.1204, allocations: 147.1 kB / 485.6 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.471e-05/0.1204, allocations: 12.31 kB / 485.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.051e-05/0.1205, allocations: 51.67 kB / 485.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.543e-05/0.1206, allocations: 59.66 kB / 485.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.1206, allocations: 4 kB / 485.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009987/0.1216, allocations: 0.7489 MB / 486.4 MB, free: 436 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.839e-05/0.1217, allocations: 27.86 kB / 486.5 MB, free: 408 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.209e-05/0.1217, allocations: 53.58 kB / 486.5 MB, free: 348 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000407/0.1222, allocations: 374.9 kB / 486.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1222, allocations: 4 kB / 486.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1222, allocations: 0 / 486.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1222, allocations: 0 / 486.9 MB, free: 15.97 MB / 366.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.0005481/0.1227, allocations: 490.9 kB / 487.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.1228, allocations: 12.03 kB / 487.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.815e-05/0.1228, allocations: 58.48 kB / 487.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.1229, allocations: 23.77 kB / 487.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.1231, allocations: 210.2 kB / 487.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.1231, allocations: 20.38 kB / 487.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.1231, allocations: 20 kB / 487.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003965/0.1235, allocations: 267.5 kB / 488 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.1235, allocations: 3.984 kB / 488 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.1236, allocations: 12 kB / 488 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.1236, allocations: 4 kB / 488 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003036/0.1239, allocations: 168.2 kB / 488.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000956/0.1248, allocations: 0.9042 MB / 489 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.125, allocations: 66.55 kB / 489.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.1251, allocations: 36.95 kB / 489.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.1252, allocations: 3.938 kB / 489.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.1252, allocations: 30.56 kB / 489.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.1252, allocations: 0 / 489.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004106/0.1256, allocations: 149.3 kB / 489.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.1257, allocations: 63.36 kB / 489.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.1259, allocations: 262.9 kB / 489.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.1259, allocations: 29.64 kB / 489.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.1261, allocations: 187 kB / 489.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.1261, allocations: 15.8 kB / 489.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.79e-05/0.1261, allocations: 4 kB / 489.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1262, allocations: 342.8 kB / 490.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.1263, allocations: 40.2 kB / 490.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.1266, allocations: 192.1 kB / 490.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.1267, allocations: 79.91 kB / 490.5 MB, free: 12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1267, allocations: 0 / 490.5 MB, free: 12 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004556/0.1272, allocations: 273.1 kB / 490.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.1272, allocations: 8 kB / 490.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.931e-05/0.1273, allocations: 15.98 kB / 490.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.1273, allocations: 8 kB / 490.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.1275, allocations: 43.92 kB / 490.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/0.1275, allocations: 19.88 kB / 490.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.1276, allocations: 44 kB / 490.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.1277, allocations: 16 kB / 490.9 MB, free: 11.58 MB / 366.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.0001433/0.1278, allocations: 137.7 kB / 491.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.1278, allocations: 19.72 kB / 491.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003792/0.1282, allocations: 146.9 kB / 491.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1282, allocations: 0 / 491.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.1283, allocations: 0 / 491.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1283, allocations: 7.891 kB / 491.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.1285, allocations: 225.5 kB / 491.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.847e-05/0.1285, allocations: 15.94 kB / 491.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.163e-05/0.1286, allocations: 11.98 kB / 491.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1286, allocations: 0 / 491.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.1286, allocations: 4.188 kB / 491.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.1286, allocations: 4 kB / 491.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1286, allocations: 0 / 491.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.1289, allocations: 215.3 kB / 491.7 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-05/0.129, allocations: 96.81 kB / 491.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.129, allocations: 0 / 491.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.395e-05/0.1291, allocations: 4 kB / 491.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.1292, allocations: 11.98 kB / 491.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.1292, allocations: 4 kB / 491.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001482/0.1294, allocations: 185.9 kB / 492 MB, free: 10.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1294, allocations: 0 / 492 MB, free: 10.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000471/0.1298, allocations: 99.94 kB / 492.1 MB, free: 10.31 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.0009053/0.1308, allocations: 0.8651 MB / 493 MB, free: 9.422 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004488/0.1312, allocations: 200.1 kB / 493.2 MB, free: 9.215 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.1312, allocations: 3.938 kB / 493.2 MB, free: 9.211 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001883/0.1314, allocations: 107.8 kB / 493.3 MB, free: 9.094 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.1318, allocations: 24.81 kB / 493.3 MB, free: 9.066 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.1337, allocations: 1.31 MB / 494.6 MB, free: 7.637 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.134, allocations: 0.7287 MB / 495.3 MB, free: 6.883 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.63e-05/0.1341, allocations: 25.94 kB / 495.4 MB, free: 6.859 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.644e-05/0.1342, allocations: 59.41 kB / 495.4 MB, free: 6.801 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.1342, allocations: 0 / 495.4 MB, free: 6.801 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/0.156, allocations: 8.425 MB / 0.492 GB, free: 14.64 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002569/0.1564, allocations: 267.1 kB / 0.4923 GB, free: 14.28 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.299/2.456, allocations: 3.094 kB / 0.4923 GB, free: 14.28 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat does not exist to compare? outputFormat=mat