Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_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.0009822/0.0009822, allocations: 98.92 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00105/0.00105, allocations: 206.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.3 MB / 245.9 MB, free: 12.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1916/0.1916, allocations: 45.92 MB / 344 MB, free: 12.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002989/0.0002989, allocations: 8 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1269, allocations: 63.45 MB / 481.5 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC): time 0.00285/0.1298, allocations: 1.775 MB / 483.3 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.1315, allocations: 0.8383 MB / 484.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.873e-05/0.1316, allocations: 0 / 484.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000298/0.1319, allocations: 59.66 kB / 484.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003708/0.1323, allocations: 103.6 kB / 484.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.1326, allocations: 83.83 kB / 484.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004175/0.133, allocations: 307.3 kB / 484.7 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.1332, allocations: 65.03 kB / 484.8 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002803/0.1334, allocations: 147.3 kB / 484.9 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.1337, allocations: 167.3 kB / 485.1 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.48e-05/0.1337, allocations: 12 kB / 485.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003134/0.1341, allocations: 187.7 kB / 485.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.1342, allocations: 103.6 kB / 485.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.711e-05/0.1343, allocations: 93.45 kB / 485.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003841/0.1347, allocations: 339.4 kB / 485.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1347, allocations: 0 / 485.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1347, allocations: 0 / 485.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1347, allocations: 0 / 485.8 MB, free: 1.012 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001108/0.1358, allocations: 0.6744 MB / 486.5 MB, free: 296 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.1359, allocations: 8.031 kB / 486.5 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001166/0.136, allocations: 102.5 kB / 486.6 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.38e-05/0.1361, allocations: 47.34 kB / 486.6 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004877/0.1366, allocations: 310.8 kB / 486.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.771e-05/0.1367, allocations: 33 kB / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.447e-05/0.1367, allocations: 51.98 kB / 487 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.1379, allocations: 0.707 MB / 487.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.1379, allocations: 0 / 487.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.678e-05/0.138, allocations: 19.98 kB / 487.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.575e-05/0.1381, allocations: 57.27 kB / 487.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.1394, allocations: 0.7505 MB / 488.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002324/0.1417, allocations: 1.461 MB / 490 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008317/0.1426, allocations: 461.8 kB / 490.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.148e-05/0.1426, allocations: 8.219 kB / 490.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.1426, allocations: 38.78 kB / 490.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.423e-06/0.1427, allocations: 0 / 490.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001258/0.1439, allocations: 0.5575 MB / 491 MB, free: 11.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.644e-05/0.144, allocations: 55.41 kB / 491.1 MB, free: 11.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006149/0.1446, allocations: 0.5212 MB / 491.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.1447, allocations: 29.7 kB / 491.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.1448, allocations: 236.4 kB / 491.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.315e-05/0.1449, allocations: 102.6 kB / 492 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.052e-05/0.145, allocations: 4 kB / 492 MB, free: 10.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.1451, allocations: 358.8 kB / 492.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/0.1454, allocations: 160.5 kB / 492.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003696/0.1458, allocations: 252.3 kB / 492.7 MB, free: 9.785 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/0.1462, allocations: 203.7 kB / 492.9 MB, free: 9.586 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.1462, allocations: 4 kB / 492.9 MB, free: 9.582 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008153/0.147, allocations: 0.5004 MB / 493.4 MB, free: 9.074 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.147, allocations: 4 kB / 493.4 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.1471, allocations: 4 kB / 493.4 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.1471, allocations: 4 kB / 493.5 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009464/0.148, allocations: 207.7 kB / 493.7 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004148/0.1522, allocations: 7.314 MB / 0.4892 GB, free: 1.266 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004145/0.1526, allocations: 63.31 kB / 0.4893 GB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.983e-05/0.1527, allocations: 24.23 kB / 0.4893 GB, free: 1.18 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,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 (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003399/0.153, allocations: 234.2 kB / 0.4895 GB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.588e-05/0.1531, allocations: 47.42 kB / 0.4896 GB, free: 0.8945 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.1542, allocations: 0.5606 MB / 0.4901 GB, free: 336 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.1542, allocations: 4 kB / 0.4901 GB, free: 332 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.1542, allocations: 0 / 0.4901 GB, free: 332 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/0.1542, allocations: 3.984 kB / 0.4901 GB, free: 328 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005814/0.1548, allocations: 425.3 kB / 0.4905 GB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.1548, allocations: 3.953 kB / 0.4905 GB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008444/0.1557, allocations: 199.8 kB / 0.4907 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.1557, allocations: 0 / 0.4907 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/0.1557, allocations: 15.98 kB / 0.4908 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003685/0.1594, allocations: 7.31 MB / 0.4979 GB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1594, allocations: 8.219 kB / 0.4979 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007886/0.1602, allocations: 0.5112 MB / 0.4984 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.1604, allocations: 124.5 kB / 0.4985 GB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.711e-05/0.1605, allocations: 8 kB / 0.4985 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.1607, allocations: 19.98 kB / 0.4985 GB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.486e-05/0.1608, allocations: 27.95 kB / 0.4986 GB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.1609, allocations: 11.98 kB / 0.4986 GB, free: 7.305 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000429/0.1613, allocations: 391 kB / 0.499 GB, free: 6.926 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1613, allocations: 0 / 0.499 GB, free: 6.926 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005353/0.1618, allocations: 131.8 kB / 0.4991 GB, free: 6.797 MB / 382.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00114/0.163, allocations: 1.091 MB / 0.5001 GB, free: 5.684 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00146/0.1645, allocations: 0.5318 MB / 0.5007 GB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1645, allocations: 0 / 0.5007 GB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.1655, allocations: 363.5 kB / 0.501 GB, free: 4.797 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.166, allocations: 89.78 kB / 0.5011 GB, free: 4.711 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2408/0.4067, allocations: 5.032 MB / 0.506 GB, free: 42.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005829/0.4074, allocations: 0.9048 MB / 0.5069 GB, free: 41.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005121/0.4079, allocations: 132.2 kB / 0.507 GB, free: 41.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003039/0.4082, allocations: 141.7 kB / 0.5072 GB, free: 41.67 MB / 382.1 MB Notification: Performance of SimCode: time 1.393e-06/0.4082, allocations: 0.9062 kB / 0.5072 GB, free: 41.67 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03206/0.4403, allocations: 12.01 MB / 0.5189 GB, free: 39.05 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/0.4405, allocations: 260.2 kB / 0.5191 GB, free: 38.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.115/2.556, allocations: 0 / 0.5191 GB, free: 38.7 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat does not exist to compare? outputFormat=mat