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.0008709/0.000871, allocations: 94.34 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009377/0.0009379, allocations: 201.7 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.3 MB / 245.9 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2113/0.2113, allocations: 45.91 MB / 344 MB, free: 12.08 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002886/0.0002889, allocations: 4 kB / 418.1 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1313, allocations: 63.47 MB / 481.5 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.002384/0.1338, allocations: 1.69 MB / 483.2 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.1357, allocations: 1.154 MB / 484.4 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.985e-05/0.1358, allocations: 0 / 484.4 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.1361, allocations: 55.66 kB / 484.4 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.1362, allocations: 67.8 kB / 484.5 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004646/0.1367, allocations: 155.6 kB / 484.7 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003004/0.137, allocations: 279.4 kB / 484.9 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.148e-05/0.1371, allocations: 52.7 kB / 485 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.1373, allocations: 135.4 kB / 485.1 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.1375, allocations: 147.3 kB / 485.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.1375, allocations: 8 kB / 485.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004131/0.1379, allocations: 267.6 kB / 485.5 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.371e-05/0.138, allocations: 75.7 kB / 485.6 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.865e-05/0.1381, allocations: 81.52 kB / 485.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000384/0.1385, allocations: 347.4 kB / 486 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.1385, allocations: 4 kB / 486 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.1385, allocations: 0 / 486 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1385, allocations: 3.938 kB / 486 MB, free: 0.7266 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0009394/0.1395, allocations: 0.6628 MB / 486.7 MB, free: 16 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1395, allocations: 15.97 kB / 486.7 MB, free: 0 / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.811e-05/0.1396, allocations: 74.53 kB / 486.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003846/0.14, allocations: 87.48 kB / 486.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.1404, allocations: 283.3 kB / 487.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/0.1404, allocations: 29 kB / 487.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.886e-05/0.1404, allocations: 36 kB / 487.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008648/0.1413, allocations: 0.5574 MB / 487.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1413, allocations: 0 / 487.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/0.1414, allocations: 16 kB / 487.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-05/0.1414, allocations: 28.92 kB / 487.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007967/0.1422, allocations: 435.6 kB / 488.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.1441, allocations: 1.3 MB / 489.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005853/0.1447, allocations: 315.5 kB / 489.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.727e-05/0.1448, allocations: 7.984 kB / 489.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.1448, allocations: 34.56 kB / 489.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.703e-06/0.1448, allocations: 3.938 kB / 489.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001404/0.1462, allocations: 0.7526 MB / 490.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.354e-05/0.1463, allocations: 110.9 kB / 490.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005458/0.1469, allocations: 0.494 MB / 491.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.1469, allocations: 25.7 kB / 491.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.1471, allocations: 220.2 kB / 491.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.223e-05/0.1472, allocations: 55.2 kB / 491.5 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.715e-05/0.1472, allocations: 0 / 491.5 MB, free: 10.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002595/0.1474, allocations: 358.8 kB / 491.9 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/0.1478, allocations: 156.1 kB / 492 MB, free: 10.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003945/0.1482, allocations: 234.6 kB / 492.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.1486, allocations: 179.8 kB / 492.4 MB, free: 9.945 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1486, allocations: 4 kB / 492.4 MB, free: 9.941 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008653/0.1495, allocations: 459.3 kB / 492.9 MB, free: 9.488 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.1495, allocations: 8 kB / 492.9 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.871e-05/0.1496, allocations: 31.97 kB / 492.9 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1496, allocations: 8.344 kB / 492.9 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.1498, allocations: 39.95 kB / 493 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.1498, allocations: 7.938 kB / 493 MB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/0.1501, allocations: 59.42 kB / 493 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-05/0.1501, allocations: 27.98 kB / 493.1 MB, free: 9.309 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.0002901/0.1504, allocations: 204.2 kB / 493.3 MB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.53e-05/0.1505, allocations: 39.52 kB / 493.3 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008308/0.1514, allocations: 440.7 kB / 493.7 MB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.1514, allocations: 4 kB / 493.7 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.1514, allocations: 0 / 493.7 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.1514, allocations: 0 / 493.7 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005971/0.152, allocations: 377.3 kB / 494.1 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.682e-05/0.1521, allocations: 27.98 kB / 494.1 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.1522, allocations: 31.91 kB / 494.2 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1522, allocations: 4 kB / 494.2 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/0.1523, allocations: 15.98 kB / 494.2 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1523, allocations: 0 / 494.2 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1523, allocations: 4 kB / 494.2 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008937/0.1532, allocations: 0.6477 MB / 494.8 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.1533, allocations: 120.6 kB / 495 MB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.935e-05/0.1534, allocations: 4 kB / 495 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/0.1536, allocations: 19.98 kB / 495 MB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.664e-05/0.1537, allocations: 31.86 kB / 495 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.1538, allocations: 15.94 kB / 495 MB, free: 7.238 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003852/0.1542, allocations: 363 kB / 495.4 MB, free: 6.883 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1542, allocations: 0 / 495.4 MB, free: 6.883 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005665/0.1547, allocations: 119.8 kB / 495.5 MB, free: 6.766 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.001577/0.1563, allocations: 1.402 MB / 496.9 MB, free: 5.328 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009676/0.1573, allocations: 0.5692 MB / 497.5 MB, free: 4.703 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1573, allocations: 4.688 kB / 497.5 MB, free: 4.699 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004967/0.1578, allocations: 419 kB / 497.9 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.0005091/0.1583, allocations: 90.09 kB / 498 MB, free: 4.148 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005548/0.1639, allocations: 4.45 MB / 0.4906 GB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/0.1644, allocations: 0.8577 MB / 0.4915 GB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002006/0.1646, allocations: 59.25 kB / 0.4915 GB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.1648, allocations: 115.4 kB / 0.4916 GB, free: 14.53 MB / 382.1 MB Notification: Performance of SimCode: time 9.51e-07/0.1648, allocations: 0 / 0.4916 GB, free: 14.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02483/0.1896, allocations: 10.88 MB / 0.5023 GB, free: 3.91 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/0.1899, allocations: 227.3 kB / 0.5025 GB, free: 3.676 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.955/2.145, allocations: 0 / 0.5025 GB, free: 3.676 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