Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_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.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_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.0008109/0.0008109, allocations: 97.55 kB / 17.01 MB, free: 6.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001019/0.00102, allocations: 193.8 kB / 17.91 MB, free: 5.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.3 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.2199/0.2199, allocations: 45.92 MB / 344.1 MB, free: 12.01 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003021/0.0003024, allocations: 8 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1244, allocations: 63.46 MB / 481.7 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.002181/0.1266, allocations: 1.681 MB / 483.3 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.1279, allocations: 0.7562 MB / 484.1 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.597e-05/0.128, allocations: 4 kB / 484.1 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.1282, allocations: 59.66 kB / 484.2 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002979/0.1285, allocations: 111.5 kB / 484.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.1287, allocations: 51.81 kB / 484.3 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003842/0.1291, allocations: 370.5 kB / 484.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.252e-05/0.1292, allocations: 36.38 kB / 484.7 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.1294, allocations: 123.4 kB / 484.8 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002289/0.1297, allocations: 151.4 kB / 485 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.1297, allocations: 4 kB / 485 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002388/0.1299, allocations: 123.8 kB / 485.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.7e-05/0.13, allocations: 59.73 kB / 485.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.912e-05/0.1301, allocations: 69.58 kB / 485.2 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000304/0.1304, allocations: 251.5 kB / 485.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.1304, allocations: 4 kB / 485.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1304, allocations: 0 / 485.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.1304, allocations: 0 / 485.5 MB, free: 1.395 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0007716/0.1312, allocations: 0.5184 MB / 486 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.1313, allocations: 8.031 kB / 486 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.897e-05/0.1314, allocations: 66.53 kB / 486.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.617e-05/0.1314, allocations: 35.62 kB / 486.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.1317, allocations: 247.1 kB / 486.4 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.1317, allocations: 24.55 kB / 486.4 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/0.1318, allocations: 20 kB / 486.4 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006744/0.1324, allocations: 401.2 kB / 486.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1325, allocations: 0 / 486.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.005e-05/0.1325, allocations: 15.97 kB / 486.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.792e-05/0.1326, allocations: 28.64 kB / 486.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006962/0.1333, allocations: 414.3 kB / 487.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.1345, allocations: 0.8696 MB / 488.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00057/0.1351, allocations: 306.2 kB / 488.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.1353, allocations: 111.4 kB / 488.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.1353, allocations: 15.88 kB / 488.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.1354, allocations: 30.56 kB / 488.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.1354, allocations: 4 kB / 488.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007688/0.1361, allocations: 369 kB / 488.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.1362, allocations: 55.41 kB / 489 MB, free: 13.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003619/0.1366, allocations: 347.3 kB / 489.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.1366, allocations: 29.7 kB / 489.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.1367, allocations: 168.2 kB / 489.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.782e-05/0.1368, allocations: 51.2 kB / 489.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.297e-05/0.1368, allocations: 4 kB / 489.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1369, allocations: 342.8 kB / 489.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.1371, allocations: 104.3 kB / 490 MB, free: 12.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.1374, allocations: 154.6 kB / 490.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/0.1376, allocations: 123.8 kB / 490.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1376, allocations: 0 / 490.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005444/0.1382, allocations: 327.8 kB / 490.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1382, allocations: 4 kB / 490.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1382, allocations: 4 kB / 490.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1382, allocations: 4 kB / 490.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005264/0.1388, allocations: 119.9 kB / 490.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002008/0.1408, allocations: 3.7 MB / 494.4 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.141, allocations: 39.98 kB / 494.5 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.141, allocations: 8 kB / 494.5 MB, free: 8.023 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002001/0.1412, allocations: 176.5 kB / 494.6 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.894e-05/0.1413, allocations: 27.67 kB / 494.7 MB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006931/0.142, allocations: 359.2 kB / 495 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.142, allocations: 4 kB / 495 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.142, allocations: 0 / 495 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.142, allocations: 3.984 kB / 495 MB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.1424, allocations: 305.3 kB / 495.3 MB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1424, allocations: 3.938 kB / 495.3 MB, free: 7.098 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000466/0.1428, allocations: 119.9 kB / 495.4 MB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.1429, allocations: 4 kB / 495.4 MB, free: 6.977 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.1429, allocations: 7.984 kB / 495.5 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001983/0.1449, allocations: 3.7 MB / 499.2 MB, free: 3.129 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1449, allocations: 0 / 499.2 MB, free: 3.129 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005533/0.1454, allocations: 375.4 kB / 499.5 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.383e-05/0.1456, allocations: 116.7 kB / 499.6 MB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.972e-05/0.1456, allocations: 0 / 499.6 MB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.1458, allocations: 15.98 kB / 499.7 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.078e-05/0.1458, allocations: 7.984 kB / 499.7 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.1459, allocations: 16 kB / 499.7 MB, free: 2.574 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002596/0.1461, allocations: 253.9 kB / 499.9 MB, free: 2.328 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1461, allocations: 0 / 499.9 MB, free: 2.328 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003648/0.1465, allocations: 67.91 kB / 500 MB, free: 2.262 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 (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009609/0.1475, allocations: 0.9416 MB / 0.4892 GB, free: 1.293 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009199/0.1484, allocations: 328 kB / 0.4895 GB, free: 0.9727 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1484, allocations: 0 / 0.4895 GB, free: 0.9727 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005901/0.149, allocations: 207.8 kB / 0.4897 GB, free: 0.7695 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.1494, allocations: 52.62 kB / 0.4898 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002931/0.1524, allocations: 2.006 MB / 0.4917 GB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004264/0.1528, allocations: 0.8027 MB / 0.4925 GB, free: 13.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001712/0.153, allocations: 66.22 kB / 0.4926 GB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.1531, allocations: 75.41 kB / 0.4926 GB, free: 13.67 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1531, allocations: 0 / 0.4926 GB, free: 13.67 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02099/0.1741, allocations: 7.793 MB / 0.5002 GB, free: 6.18 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002311/0.1744, allocations: 270 kB / 0.5005 GB, free: 5.824 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.971/2.145, allocations: 2.656 kB / 0.5005 GB, free: 5.824 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat does not exist to compare? outputFormat=mat