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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001096/0.001096, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.2 MB / 245 MB, free: 5.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008778/0.0008777, allocations: 100.7 kB / 297.3 MB, free: 5.984 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4661/0.4661, allocations: 45.24 MB / 394.6 MB, free: 31.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002752/0.0002753, allocations: 8 kB / 468.5 MB, free: 7.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3696, allocations: 63.24 MB / 0.5193 GB, free: 37.68 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1281/0.4977, allocations: 95.61 MB / 0.6127 GB, free: 7.801 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003873/0.4982, allocations: 99.91 kB / 0.6128 GB, free: 7.707 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03975/0.5379, allocations: 14.54 MB / 0.627 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.538, allocations: 3.938 kB / 0.627 GB, free: 8.938 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.585e-05/0.538, allocations: 4 kB / 0.627 GB, free: 8.934 MB / 442.7 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.001046/0.5391, allocations: 0.6513 MB / 0.6276 GB, free: 8.234 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.5391, allocations: 16.03 kB / 0.6276 GB, free: 8.219 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/0.5393, allocations: 102.4 kB / 0.6277 GB, free: 8.109 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.452e-05/0.5394, allocations: 55.34 kB / 0.6278 GB, free: 8.055 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004694/0.5398, allocations: 306.8 kB / 0.6281 GB, free: 7.711 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.696e-05/0.5399, allocations: 37.31 kB / 0.6281 GB, free: 7.672 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.93e-05/0.54, allocations: 48 kB / 0.6281 GB, free: 7.625 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.541, allocations: 0.6934 MB / 0.6288 GB, free: 6.926 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.541, allocations: 4 kB / 0.6288 GB, free: 6.922 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.634e-05/0.5411, allocations: 19.98 kB / 0.6288 GB, free: 6.902 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.897e-05/0.5411, allocations: 45.3 kB / 0.6289 GB, free: 6.855 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.5422, allocations: 0.7467 MB / 0.6296 GB, free: 6.109 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002226/0.5445, allocations: 1.457 MB / 0.631 GB, free: 4.594 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000726/0.5452, allocations: 456.4 kB / 0.6315 GB, free: 4.141 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.06e-05/0.5453, allocations: 12.22 kB / 0.6315 GB, free: 4.129 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.5453, allocations: 38.78 kB / 0.6315 GB, free: 4.082 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 2.134e-06/0.5453, allocations: 0 / 0.6315 GB, free: 4.082 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.001125/0.5464, allocations: 0.5502 MB / 0.6321 GB, free: 3.527 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.5465, allocations: 51.41 kB / 0.6321 GB, free: 3.465 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005453/0.547, allocations: 480.9 kB / 0.6326 GB, free: 2.992 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.5471, allocations: 37.7 kB / 0.6326 GB, free: 2.949 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.5473, allocations: 232.4 kB / 0.6328 GB, free: 2.715 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.864e-05/0.5474, allocations: 98.5 kB / 0.6329 GB, free: 2.617 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.921e-05/0.5474, allocations: 8 kB / 0.6329 GB, free: 2.609 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.5476, allocations: 358.8 kB / 0.6333 GB, free: 2.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/0.5479, allocations: 152.5 kB / 0.6334 GB, free: 2.098 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000345/0.5482, allocations: 252.3 kB / 0.6336 GB, free: 1.812 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003471/0.5486, allocations: 212.9 kB / 0.6339 GB, free: 1.605 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5486, allocations: 0 / 0.6339 GB, free: 1.605 MB / 442.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008365/0.5494, allocations: 0.4928 MB / 0.6343 GB, free: 1.105 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.5495, allocations: 14.59 kB / 0.6343 GB, free: 1.094 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.5495, allocations: 112 / 0.6343 GB, free: 1.094 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.5495, allocations: 11.94 kB / 0.6344 GB, free: 1.082 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009902/0.5505, allocations: 207.8 kB / 0.6346 GB, free: 0.8789 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003716/0.5542, allocations: 7.314 MB / 0.6417 GB, free: 9.281 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004293/0.5547, allocations: 67.3 kB / 0.6418 GB, free: 9.215 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/0.5547, allocations: 19.98 kB / 0.6418 GB, free: 9.195 MB / 458.7 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.0003401/0.5551, allocations: 230.5 kB / 0.642 GB, free: 8.961 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.529e-05/0.5552, allocations: 47.39 kB / 0.642 GB, free: 8.914 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.5562, allocations: 0.5446 MB / 0.6426 GB, free: 8.363 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.5563, allocations: 4 kB / 0.6426 GB, free: 8.359 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.5563, allocations: 0 / 0.6426 GB, free: 8.359 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.5563, allocations: 3.984 kB / 0.6426 GB, free: 8.355 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005565/0.5568, allocations: 425.2 kB / 0.643 GB, free: 7.891 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.5569, allocations: 4 kB / 0.643 GB, free: 7.887 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008352/0.5577, allocations: 199.8 kB / 0.6432 GB, free: 7.691 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.5577, allocations: 0 / 0.6432 GB, free: 7.691 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/0.5578, allocations: 11.98 kB / 0.6432 GB, free: 7.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003905/0.5617, allocations: 7.306 MB / 0.6503 GB, free: 96 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.5617, allocations: 3.984 kB / 0.6503 GB, free: 92 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008579/0.5626, allocations: 0.5195 MB / 0.6508 GB, free: 15.55 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.5628, allocations: 132.4 kB / 0.651 GB, free: 15.41 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.891e-05/0.5628, allocations: 4 kB / 0.651 GB, free: 15.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.5631, allocations: 15.98 kB / 0.651 GB, free: 15.39 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.892e-05/0.5632, allocations: 23.97 kB / 0.651 GB, free: 15.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/0.5632, allocations: 15.97 kB / 0.651 GB, free: 15.35 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004603/0.5637, allocations: 391 kB / 0.6514 GB, free: 14.96 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5637, allocations: 0 / 0.6514 GB, free: 14.96 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005543/0.5642, allocations: 139.8 kB / 0.6515 GB, free: 14.83 MB / 474.7 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.001349/0.5656, allocations: 1.126 MB / 0.6526 GB, free: 13.67 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001472/0.5671, allocations: 0.4883 MB / 0.6531 GB, free: 13.18 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5671, allocations: 0 / 0.6531 GB, free: 13.18 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009415/0.5681, allocations: 308.6 kB / 0.6534 GB, free: 12.88 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.5685, allocations: 83.73 kB / 0.6535 GB, free: 12.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005602/0.5742, allocations: 5.021 MB / 0.6584 GB, free: 7.68 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005212/0.5747, allocations: 0.9053 MB / 0.6593 GB, free: 6.746 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003213/0.575, allocations: 124.1 kB / 0.6594 GB, free: 6.621 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.5752, allocations: 143.4 kB / 0.6595 GB, free: 6.48 MB / 474.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5753, allocations: 0 / 0.6595 GB, free: 6.48 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02995/0.6052, allocations: 12.76 MB / 0.672 GB, free: 10 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002421/0.6055, allocations: 259.1 kB / 0.6722 GB, free: 9.66 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.358/2.963, allocations: 4 kB / 0.6722 GB, free: 9.656 MB / 490.7 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