Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_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_evenGapOverall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_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.001708/0.001708, allocations: 196.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.265/1.265, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009583/0.0009583, allocations: 87.73 kB / 292.1 MB, free: 5.977 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1823/0.1823, allocations: 45.16 MB / 389.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.556e-05/4.559e-05, allocations: 4 kB / 460.5 MB, free: 69.87 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1323, allocations: 63.24 MB / 0.5115 GB, free: 6.645 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4537/0.586, allocations: 99.79 MB / 0.6089 GB, free: 9.996 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.5863, allocations: 92.36 kB / 0.609 GB, free: 9.941 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05374/0.6401, allocations: 20.94 MB / 0.6295 GB, free: 7.891 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.6401, allocations: 4 kB / 0.6295 GB, free: 7.887 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.6402, allocations: 4 kB / 0.6295 GB, free: 7.883 MB / 426.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.0009721/0.6411, allocations: 0.6675 MB / 0.6301 GB, free: 7.199 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.6412, allocations: 12.03 kB / 0.6301 GB, free: 7.188 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001088/0.6413, allocations: 96.64 kB / 0.6302 GB, free: 7.117 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.416e-05/0.6414, allocations: 55.34 kB / 0.6303 GB, free: 7.062 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/0.6418, allocations: 309.4 kB / 0.6306 GB, free: 6.727 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/0.6418, allocations: 43.62 kB / 0.6306 GB, free: 6.703 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.627e-05/0.6419, allocations: 46.56 kB / 0.6307 GB, free: 6.672 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000935/0.6429, allocations: 0.6685 MB / 0.6313 GB, free: 6.156 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.6429, allocations: 0 / 0.6313 GB, free: 6.156 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.126e-05/0.6429, allocations: 17.94 kB / 0.6313 GB, free: 6.152 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-05/0.643, allocations: 52.53 kB / 0.6314 GB, free: 6.105 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009558/0.644, allocations: 0.7013 MB / 0.6321 GB, free: 5.578 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002192/0.6462, allocations: 1.455 MB / 0.6335 GB, free: 4.277 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006223/0.6468, allocations: 443.1 kB / 0.6339 GB, free: 3.879 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/0.647, allocations: 143.5 kB / 0.6341 GB, free: 3.754 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.973e-05/0.6471, allocations: 15.52 kB / 0.6341 GB, free: 3.742 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.6471, allocations: 37.61 kB / 0.6341 GB, free: 3.699 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 3.055e-06/0.6471, allocations: 3.984 kB / 0.6341 GB, free: 3.695 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006678/0.6478, allocations: 368.6 kB / 0.6345 GB, free: 3.359 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.6478, allocations: 55.09 kB / 0.6345 GB, free: 3.297 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005007/0.6484, allocations: 489.7 kB / 0.635 GB, free: 2.898 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.6484, allocations: 25.7 kB / 0.635 GB, free: 2.867 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.6486, allocations: 244.1 kB / 0.6352 GB, free: 2.695 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.513e-05/0.6486, allocations: 100.2 kB / 0.6353 GB, free: 2.609 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.878e-05/0.6487, allocations: 6.688 kB / 0.6353 GB, free: 2.609 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.6488, allocations: 356.2 kB / 0.6357 GB, free: 2.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/0.6491, allocations: 146.2 kB / 0.6358 GB, free: 2.141 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002967/0.6494, allocations: 277.4 kB / 0.6361 GB, free: 1.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.6497, allocations: 200.1 kB / 0.6363 GB, free: 1.668 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.6497, allocations: 3.953 kB / 0.6363 GB, free: 1.664 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007801/0.6505, allocations: 0.5017 MB / 0.6368 GB, free: 1.207 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.6505, allocations: 8 kB / 0.6368 GB, free: 1.199 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.6505, allocations: 4 kB / 0.6368 GB, free: 1.195 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.6505, allocations: 8 kB / 0.6368 GB, free: 1.188 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.6515, allocations: 218.9 kB / 0.637 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003671/0.6552, allocations: 7.31 MB / 0.6441 GB, free: 9.469 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003386/0.6556, allocations: 62.95 kB / 0.6442 GB, free: 9.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.859e-05/0.6556, allocations: 31.8 kB / 0.6442 GB, free: 9.383 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (46): * Single equations (assignments): 34 * 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.0001353/0.6558, allocations: 140.5 kB / 0.6444 GB, free: 9.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.484e-05/0.6558, allocations: 39.53 kB / 0.6444 GB, free: 9.211 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009142/0.6568, allocations: 0.5099 MB / 0.6449 GB, free: 8.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.6568, allocations: 4 kB / 0.6449 GB, free: 8.746 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.6568, allocations: 0 / 0.6449 GB, free: 8.746 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.6568, allocations: 4 kB / 0.6449 GB, free: 8.742 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005384/0.6573, allocations: 431.3 kB / 0.6453 GB, free: 8.328 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.6574, allocations: 0 / 0.6453 GB, free: 8.328 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000927/0.6583, allocations: 195.9 kB / 0.6455 GB, free: 8.137 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.6583, allocations: 3.938 kB / 0.6455 GB, free: 8.133 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/0.6583, allocations: 11.92 kB / 0.6455 GB, free: 8.125 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004432/0.6628, allocations: 7.304 MB / 0.6526 GB, free: 0.6211 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6628, allocations: 0 / 0.6526 GB, free: 0.6211 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007304/0.6635, allocations: 477.4 kB / 0.6531 GB, free: 180 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/0.6637, allocations: 136.4 kB / 0.6532 GB, free: 28 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.685e-05/0.6638, allocations: 4.188 kB / 0.6532 GB, free: 24 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.6641, allocations: 15.73 kB / 0.6533 GB, free: 12 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.6642, allocations: 27.77 kB / 0.6533 GB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/0.6642, allocations: 11.98 kB / 0.6533 GB, free: 15.98 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004273/0.6646, allocations: 381.6 kB / 0.6537 GB, free: 15.68 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6646, allocations: 0 / 0.6537 GB, free: 15.68 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006908/0.6653, allocations: 182.8 kB / 0.6538 GB, free: 15.52 MB / 458.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.001179/0.6665, allocations: 1.203 MB / 0.655 GB, free: 14.34 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001302/0.6678, allocations: 486.8 kB / 0.6555 GB, free: 13.91 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6679, allocations: 0 / 0.6555 GB, free: 13.91 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009014/0.6688, allocations: 286.9 kB / 0.6557 GB, free: 13.64 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.6692, allocations: 88.84 kB / 0.6558 GB, free: 13.58 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.6707, allocations: 0.8694 MB / 0.6567 GB, free: 12.74 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/0.6711, allocations: 0.9006 MB / 0.6576 GB, free: 11.82 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002999/0.6714, allocations: 132.2 kB / 0.6577 GB, free: 11.69 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.6716, allocations: 143.6 kB / 0.6578 GB, free: 11.64 MB / 458.7 MB Notification: Performance of SimCode: time 4.51e-07/0.6716, allocations: 4 kB / 0.6578 GB, free: 11.64 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02777/0.6993, allocations: 14.04 MB / 0.6715 GB, free: 13.88 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/0.6996, allocations: 225.7 kB / 0.6717 GB, free: 13.66 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.342/3.042, allocations: 3.938 kB / 0.6718 GB, free: 13.65 MB / 474.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat does not exist to compare? outputFormat=mat