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.001393/0.001393, allocations: 195 kB / 14.16 MB, free: 1.152 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 225.4 MB / 240.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009384/0.0009385, allocations: 92.58 kB / 292.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1836/0.1836, allocations: 45.14 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.044e-05/3.059e-05, allocations: 4 kB / 460.5 MB, free: 69.88 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1045, allocations: 63.25 MB / 0.5115 GB, free: 6.652 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4018/0.5064, allocations: 95.55 MB / 0.6048 GB, free: 14.27 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.5067, allocations: 102 kB / 0.6049 GB, free: 14.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03581/0.5425, allocations: 14.56 MB / 0.6191 GB, free: 1.625 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.5425, allocations: 0 / 0.6191 GB, free: 1.625 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.899e-05/0.5426, allocations: 8 kB / 0.6191 GB, free: 1.617 MB / 410.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.0009872/0.5436, allocations: 0.6347 MB / 0.6197 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.5436, allocations: 12.03 kB / 0.6197 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000128/0.5438, allocations: 103.4 kB / 0.6198 GB, free: 0.875 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.243e-05/0.5439, allocations: 55.34 kB / 0.6199 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000439/0.5443, allocations: 309.6 kB / 0.6202 GB, free: 500 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/0.5443, allocations: 39.8 kB / 0.6202 GB, free: 476 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.982e-05/0.5444, allocations: 48.48 kB / 0.6203 GB, free: 440 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009679/0.5454, allocations: 0.6698 MB / 0.6209 GB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.5454, allocations: 0 / 0.6209 GB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.017e-05/0.5455, allocations: 25.38 kB / 0.621 GB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.522e-05/0.5455, allocations: 41.28 kB / 0.621 GB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000892/0.5464, allocations: 0.7088 MB / 0.6217 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002147/0.5486, allocations: 1.459 MB / 0.6231 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006198/0.5492, allocations: 439.5 kB / 0.6235 GB, free: 13.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.5494, allocations: 145.2 kB / 0.6237 GB, free: 13.53 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.999e-05/0.5495, allocations: 12.2 kB / 0.6237 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.5495, allocations: 38.3 kB / 0.6237 GB, free: 13.47 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 1.613e-06/0.5495, allocations: 0 / 0.6237 GB, free: 13.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.000647/0.5502, allocations: 368.8 kB / 0.6241 GB, free: 13.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.5502, allocations: 59.16 kB / 0.6241 GB, free: 13.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004717/0.5507, allocations: 484.1 kB / 0.6246 GB, free: 12.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.5507, allocations: 28.83 kB / 0.6246 GB, free: 12.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.5508, allocations: 229.4 kB / 0.6248 GB, free: 12.49 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.038e-05/0.5509, allocations: 100.8 kB / 0.6249 GB, free: 12.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.634e-05/0.5509, allocations: 7.062 kB / 0.6249 GB, free: 12.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.5511, allocations: 363.2 kB / 0.6253 GB, free: 12.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.5513, allocations: 134.4 kB / 0.6254 GB, free: 11.94 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/0.5516, allocations: 234 kB / 0.6256 GB, free: 11.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.5518, allocations: 183.5 kB / 0.6258 GB, free: 11.53 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.5518, allocations: 4 kB / 0.6258 GB, free: 11.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006731/0.5525, allocations: 472.5 kB / 0.6263 GB, free: 11.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.5525, allocations: 8.375 kB / 0.6263 GB, free: 11.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.5526, allocations: 4 kB / 0.6263 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.5526, allocations: 8 kB / 0.6263 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009585/0.5535, allocations: 211.2 kB / 0.6265 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003346/0.5569, allocations: 7.311 MB / 0.6336 GB, free: 3.375 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002955/0.5572, allocations: 61.05 kB / 0.6337 GB, free: 3.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.711e-05/0.5573, allocations: 19.55 kB / 0.6337 GB, free: 3.305 MB / 426.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 () * 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.0001264/0.5574, allocations: 128.7 kB / 0.6338 GB, free: 3.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.952e-05/0.5575, allocations: 43.44 kB / 0.6339 GB, free: 3.137 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008296/0.5583, allocations: 0.5163 MB / 0.6344 GB, free: 2.676 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.5583, allocations: 8 kB / 0.6344 GB, free: 2.668 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5583, allocations: 3.984 kB / 0.6344 GB, free: 2.664 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.5583, allocations: 3.984 kB / 0.6344 GB, free: 2.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004613/0.5588, allocations: 415.3 kB / 0.6348 GB, free: 2.258 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.5588, allocations: 7.953 kB / 0.6348 GB, free: 2.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008727/0.5597, allocations: 199.7 kB / 0.635 GB, free: 2.059 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-06/0.5597, allocations: 4 kB / 0.635 GB, free: 2.055 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.5598, allocations: 11.36 kB / 0.635 GB, free: 2.047 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003532/0.5633, allocations: 7.312 MB / 0.6421 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.5633, allocations: 0 / 0.6421 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006455/0.564, allocations: 486.8 kB / 0.6426 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001622/0.5641, allocations: 124.6 kB / 0.6427 GB, free: 9.945 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.023e-05/0.5642, allocations: 3.562 kB / 0.6427 GB, free: 9.945 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.5644, allocations: 15.61 kB / 0.6427 GB, free: 9.934 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.964e-05/0.5645, allocations: 19.97 kB / 0.6428 GB, free: 9.914 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-05/0.5646, allocations: 18.8 kB / 0.6428 GB, free: 9.898 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004235/0.565, allocations: 383.9 kB / 0.6431 GB, free: 9.602 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.565, allocations: 3.938 kB / 0.6431 GB, free: 9.598 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005437/0.5656, allocations: 138.8 kB / 0.6433 GB, free: 9.473 MB / 442.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 () * 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.001154/0.5667, allocations: 1.103 MB / 0.6444 GB, free: 8.391 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00129/0.568, allocations: 453.8 kB / 0.6448 GB, free: 7.98 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.568, allocations: 4.688 kB / 0.6448 GB, free: 7.977 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009048/0.569, allocations: 294.7 kB / 0.6451 GB, free: 7.707 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.5694, allocations: 84.78 kB / 0.6452 GB, free: 7.648 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.5708, allocations: 0.8266 MB / 0.646 GB, free: 6.852 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/0.5713, allocations: 0.9086 MB / 0.6468 GB, free: 5.93 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002942/0.5716, allocations: 132.1 kB / 0.647 GB, free: 5.797 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.5718, allocations: 135 kB / 0.6471 GB, free: 5.754 MB / 442.7 MB Notification: Performance of SimCode: time 5.41e-07/0.5718, allocations: 0 / 0.6471 GB, free: 5.754 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02967/0.6015, allocations: 12.71 MB / 0.6595 GB, free: 9.324 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/0.6017, allocations: 224 kB / 0.6597 GB, free: 9.102 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.29/2.891, allocations: 0 / 0.6597 GB, free: 9.102 MB / 458.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