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.0007455/0.0007455, allocations: 98.75 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008481/0.0008482, allocations: 192.3 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2016/0.2016, allocations: 45.92 MB / 344.1 MB, free: 12.08 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002786/0.0002788, allocations: 11.94 kB / 418.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1365, allocations: 63.45 MB / 481.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC): time 0.002829/0.1394, allocations: 1.826 MB / 483.5 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.1413, allocations: 0.8575 MB / 484.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002495/0.1416, allocations: 4 kB / 484.3 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003435/0.142, allocations: 55.72 kB / 484.4 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005567/0.1425, allocations: 131.4 kB / 484.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003205/0.1429, allocations: 83.73 kB / 484.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006563/0.1435, allocations: 0.5523 MB / 485.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1437, allocations: 53.06 kB / 485.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000292/0.144, allocations: 179.1 kB / 485.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003168/0.1443, allocations: 231 kB / 485.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.603e-05/0.1443, allocations: 12 kB / 485.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000354/0.1447, allocations: 171.8 kB / 485.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.1448, allocations: 111.4 kB / 485.9 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.1449, allocations: 93.45 kB / 486 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005337/0.1455, allocations: 383.1 kB / 486.4 MB, free: 496 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.1455, allocations: 3.938 kB / 486.4 MB, free: 492 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1455, allocations: 0 / 486.4 MB, free: 492 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.1455, allocations: 0 / 486.4 MB, free: 492 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.0011/0.1466, allocations: 0.6744 MB / 487 MB, free: 15.76 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.1467, allocations: 8.031 kB / 487 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001083/0.1468, allocations: 106.5 kB / 487.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.869e-05/0.1469, allocations: 47.34 kB / 487.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003815/0.1473, allocations: 310.8 kB / 487.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.1473, allocations: 33 kB / 487.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.474e-05/0.1474, allocations: 51.98 kB / 487.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.1484, allocations: 0.7031 MB / 488.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1485, allocations: 4 kB / 488.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.086e-05/0.1485, allocations: 19.98 kB / 488.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.832e-05/0.1486, allocations: 57.27 kB / 488.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.1497, allocations: 0.7467 MB / 489.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00207/0.1518, allocations: 1.434 MB / 490.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007457/0.1526, allocations: 457.8 kB / 491 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002913/0.1529, allocations: 165.2 kB / 491.2 MB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.716e-05/0.1529, allocations: 12.22 kB / 491.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.153, allocations: 38.8 kB / 491.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.733e-06/0.153, allocations: 0 / 491.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001199/0.1542, allocations: 0.556 MB / 491.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.1543, allocations: 55.41 kB / 491.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006267/0.1549, allocations: 0.529 MB / 492.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.09e-05/0.1549, allocations: 29.7 kB / 492.4 MB, free: 10.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.1551, allocations: 224.5 kB / 492.6 MB, free: 10.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.1552, allocations: 106.7 kB / 492.7 MB, free: 9.926 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.269e-05/0.1553, allocations: 7.938 kB / 492.7 MB, free: 9.918 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002459/0.1555, allocations: 358.8 kB / 493.1 MB, free: 9.559 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/0.1558, allocations: 164.4 kB / 493.2 MB, free: 9.395 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003827/0.1562, allocations: 252.3 kB / 493.5 MB, free: 9.109 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003394/0.1566, allocations: 191.8 kB / 493.6 MB, free: 8.922 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1566, allocations: 3.938 kB / 493.7 MB, free: 8.918 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008797/0.1575, allocations: 0.5044 MB / 494.2 MB, free: 8.406 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.1575, allocations: 4 kB / 494.2 MB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.1575, allocations: 4 kB / 494.2 MB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.1575, allocations: 4.375 kB / 494.2 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000893/0.1584, allocations: 215.8 kB / 494.4 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004276/0.1627, allocations: 7.318 MB / 0.4899 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000341/0.1631, allocations: 67.42 kB / 0.49 GB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.1631, allocations: 19.98 kB / 0.49 GB, free: 0.5 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.0003522/0.1635, allocations: 240.9 kB / 0.4903 GB, free: 264 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.812e-05/0.1636, allocations: 43.44 kB / 0.4903 GB, free: 220 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.1648, allocations: 0.5575 MB / 0.4908 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.1648, allocations: 7.984 kB / 0.4908 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.1648, allocations: 0 / 0.4908 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.1648, allocations: 0 / 0.4908 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006507/0.1655, allocations: 433.2 kB / 0.4913 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.1655, allocations: 0 / 0.4913 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007605/0.1662, allocations: 203.8 kB / 0.4915 GB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.1663, allocations: 3.984 kB / 0.4915 GB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/0.1663, allocations: 16 kB / 0.4915 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003993/0.1703, allocations: 7.31 MB / 0.4986 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1703, allocations: 4.031 kB / 0.4986 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007487/0.1711, allocations: 0.5111 MB / 0.4991 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.1712, allocations: 120.6 kB / 0.4992 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.335e-05/0.1713, allocations: 11.98 kB / 0.4992 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.1715, allocations: 12 kB / 0.4993 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.22e-05/0.1716, allocations: 23.97 kB / 0.4993 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.1716, allocations: 15.98 kB / 0.4993 GB, free: 6.633 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000408/0.172, allocations: 383 kB / 0.4997 GB, free: 6.262 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.172, allocations: 4 kB / 0.4997 GB, free: 6.258 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004717/0.1725, allocations: 135.8 kB / 0.4998 GB, free: 6.125 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.00119/0.1737, allocations: 1.099 MB / 0.5009 GB, free: 5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001319/0.175, allocations: 0.5321 MB / 0.5014 GB, free: 4.469 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.175, allocations: 4 kB / 0.5014 GB, free: 4.465 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009162/0.176, allocations: 359.6 kB / 0.5017 GB, free: 4.113 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005088/0.1765, allocations: 89.91 kB / 0.5018 GB, free: 4.027 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004308/0.1808, allocations: 3.289 MB / 0.505 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2714/0.4522, allocations: 0.8884 MB / 0.5059 GB, free: 42.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004816/0.4528, allocations: 131.7 kB / 0.506 GB, free: 42.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002749/0.4531, allocations: 142.1 kB / 0.5062 GB, free: 42.23 MB / 382.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4531, allocations: 0.7812 kB / 0.5062 GB, free: 42.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0313/0.4844, allocations: 12.24 MB / 0.5181 GB, free: 39.59 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/0.4846, allocations: 267.3 kB / 0.5184 GB, free: 39.22 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.114/2.599, allocations: 0 / 0.5184 GB, free: 39.22 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