Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008536/0.0008536, allocations: 100.4 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.0008956/0.000896, allocations: 192.2 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.392/1.392, allocations: 227.4 MB / 246 MB, free: 11.81 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2289/0.2289, allocations: 45.92 MB / 344.1 MB, free: 12.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002768/0.0002768, allocations: 8 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1295, allocations: 63.48 MB / 481.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.002091/0.1317, allocations: 1.736 MB / 483.4 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.1334, allocations: 1.197 MB / 484.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.994e-05/0.1335, allocations: 4 kB / 484.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002572/0.1337, allocations: 51.72 kB / 484.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000151/0.1339, allocations: 75.52 kB / 484.7 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004782/0.1344, allocations: 159.2 kB / 484.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004813/0.1349, allocations: 458 kB / 485.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.174e-05/0.135, allocations: 56.69 kB / 485.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.1352, allocations: 143.2 kB / 485.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.1354, allocations: 171.2 kB / 485.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.1355, allocations: 12 kB / 485.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004314/0.1359, allocations: 259.6 kB / 486 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.25e-05/0.136, allocations: 83.53 kB / 486 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.37e-05/0.1361, allocations: 81.52 kB / 486.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000413/0.1365, allocations: 391.2 kB / 486.5 MB, free: 400 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1365, allocations: 0 / 486.5 MB, free: 400 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.1365, allocations: 4 kB / 486.5 MB, free: 396 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1365, allocations: 3.938 kB / 486.5 MB, free: 392 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0009347/0.1375, allocations: 0.6511 MB / 487.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1375, allocations: 12.03 kB / 487.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.838e-05/0.1376, allocations: 82.45 kB / 487.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003626/0.138, allocations: 87.48 kB / 487.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.1383, allocations: 279.4 kB / 487.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.1384, allocations: 29 kB / 487.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.642e-05/0.1384, allocations: 36 kB / 487.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008616/0.1393, allocations: 0.5652 MB / 488.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1393, allocations: 0 / 488.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/0.1393, allocations: 16 kB / 488.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.052e-05/0.1394, allocations: 20.98 kB / 488.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007625/0.1401, allocations: 431.6 kB / 488.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.1418, allocations: 1.277 MB / 490 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005475/0.1424, allocations: 319.5 kB / 490.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003253/0.1427, allocations: 170.5 kB / 490.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.238e-05/0.1428, allocations: 11.92 kB / 490.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.1428, allocations: 42.5 kB / 490.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 2.124e-06/0.1428, allocations: 0 / 490.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.00116/0.144, allocations: 0.5166 MB / 491 MB, free: 11.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.144, allocations: 106.8 kB / 491.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005105/0.1445, allocations: 0.4899 MB / 491.6 MB, free: 11.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.1446, allocations: 29.7 kB / 491.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.1447, allocations: 216.2 kB / 491.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.99e-05/0.1448, allocations: 55.2 kB / 491.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.83e-05/0.1448, allocations: 4 kB / 491.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.145, allocations: 354.8 kB / 492.3 MB, free: 10.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003249/0.1453, allocations: 160.1 kB / 492.4 MB, free: 10.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003608/0.1457, allocations: 234.7 kB / 492.6 MB, free: 9.922 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003561/0.146, allocations: 182.4 kB / 492.8 MB, free: 9.746 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.146, allocations: 0 / 492.8 MB, free: 9.746 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008758/0.1469, allocations: 472.8 kB / 493.3 MB, free: 9.277 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.147, allocations: 8 kB / 493.3 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.257e-05/0.147, allocations: 35.92 kB / 493.3 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.147, allocations: 4 kB / 493.3 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.1472, allocations: 43.91 kB / 493.4 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.1473, allocations: 4 kB / 493.4 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.1475, allocations: 67.44 kB / 493.4 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/0.1475, allocations: 20 kB / 493.5 MB, free: 9.098 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].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 (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0002151/0.1478, allocations: 205.6 kB / 493.7 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.242e-05/0.1479, allocations: 35.53 kB / 493.7 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008212/0.1487, allocations: 436.7 kB / 494.1 MB, free: 8.418 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.1487, allocations: 3.984 kB / 494.1 MB, free: 8.414 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1487, allocations: 4 kB / 494.1 MB, free: 8.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.1487, allocations: 0 / 494.1 MB, free: 8.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005409/0.1493, allocations: 377.3 kB / 494.5 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.453e-05/0.1493, allocations: 27.98 kB / 494.5 MB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.1495, allocations: 39.97 kB / 494.6 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1495, allocations: 0 / 494.6 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.561e-05/0.1495, allocations: 8 kB / 494.6 MB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.1496, allocations: 0 / 494.6 MB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1496, allocations: 0 / 494.6 MB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008626/0.1504, allocations: 0.6382 MB / 495.2 MB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.1506, allocations: 124.6 kB / 495.3 MB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.406e-05/0.1506, allocations: 0 / 495.3 MB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.1509, allocations: 23.98 kB / 495.4 MB, free: 7.098 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.909e-05/0.151, allocations: 23.97 kB / 495.4 MB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.151, allocations: 12 kB / 495.4 MB, free: 7.062 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003862/0.1514, allocations: 359 kB / 495.7 MB, free: 6.711 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1514, allocations: 0 / 495.7 MB, free: 6.711 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005392/0.1519, allocations: 119.8 kB / 495.9 MB, free: 6.594 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001338/0.1533, allocations: 1.244 MB / 497.1 MB, free: 5.324 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009007/0.1542, allocations: 0.577 MB / 497.7 MB, free: 4.691 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1542, allocations: 0.6875 kB / 497.7 MB, free: 4.691 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004801/0.1547, allocations: 411.1 kB / 498.1 MB, free: 4.234 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006979/0.1554, allocations: 98.09 kB / 498.2 MB, free: 4.141 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004437/0.1599, allocations: 2.847 MB / 0.4893 GB, free: 1.195 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005124/0.1604, allocations: 0.8537 MB / 0.4901 GB, free: 320 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001987/0.1606, allocations: 63.23 kB / 0.4902 GB, free: 252 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.1608, allocations: 118.2 kB / 0.4903 GB, free: 136 kB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1608, allocations: 0 / 0.4903 GB, free: 136 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02441/0.1852, allocations: 11.05 MB / 0.5011 GB, free: 5.344 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/0.1854, allocations: 233.8 kB / 0.5013 GB, free: 5.109 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.946/2.132, allocations: 2.656 kB / 0.5013 GB, free: 5.109 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat does not exist to compare? outputFormat=mat