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.001103/0.001103, allocations: 197.5 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.45/1.45, allocations: 227.2 MB / 245 MB, free: 5.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009225/0.0009225, allocations: 106.6 kB / 297.3 MB, free: 5.988 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.334/0.334, allocations: 45.23 MB / 394.6 MB, free: 31.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002854/0.0002854, allocations: 8 kB / 468.5 MB, free: 7.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3514, allocations: 63.25 MB / 0.5193 GB, free: 37.49 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1235/0.4749, allocations: 99.86 MB / 0.6168 GB, free: 3.59 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/0.4753, allocations: 103.9 kB / 0.6169 GB, free: 3.492 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05734/0.5326, allocations: 20.92 MB / 0.6373 GB, free: 14.36 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5327, allocations: 0 / 0.6373 GB, free: 14.36 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.727e-05/0.5327, allocations: 4 kB / 0.6373 GB, free: 14.35 MB / 458.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.001291/0.534, allocations: 0.6941 MB / 0.638 GB, free: 13.61 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.5341, allocations: 12.03 kB / 0.638 GB, free: 13.6 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001604/0.5342, allocations: 102.5 kB / 0.6381 GB, free: 13.49 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.5344, allocations: 51.34 kB / 0.6382 GB, free: 13.44 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004953/0.5349, allocations: 302.9 kB / 0.6385 GB, free: 13.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.501e-05/0.5349, allocations: 37.31 kB / 0.6385 GB, free: 13.06 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.633e-05/0.535, allocations: 51.98 kB / 0.6386 GB, free: 13.01 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.536, allocations: 0.6935 MB / 0.6392 GB, free: 12.31 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.5361, allocations: 0 / 0.6392 GB, free: 12.31 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.626e-05/0.5361, allocations: 16 kB / 0.6392 GB, free: 12.29 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.14e-05/0.5362, allocations: 41.3 kB / 0.6393 GB, free: 12.25 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.5373, allocations: 0.7545 MB / 0.64 GB, free: 11.49 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002326/0.5397, allocations: 1.461 MB / 0.6414 GB, free: 9.973 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007338/0.5404, allocations: 448.4 kB / 0.6419 GB, free: 9.527 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.739e-05/0.5405, allocations: 12.22 kB / 0.6419 GB, free: 9.516 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.5405, allocations: 38.8 kB / 0.6419 GB, free: 9.469 MB / 458.7 MB Notification: Performance of pre-optimization done (n=28): time 1.744e-06/0.5405, allocations: 0 / 0.6419 GB, free: 9.469 MB / 458.7 MB Notification: Performance of matching and sorting (n=28): time 0.001087/0.5416, allocations: 0.5501 MB / 0.6425 GB, free: 8.914 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.5417, allocations: 59.41 kB / 0.6425 GB, free: 8.844 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005234/0.5422, allocations: 480.9 kB / 0.643 GB, free: 8.371 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.5422, allocations: 29.7 kB / 0.643 GB, free: 8.336 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.5424, allocations: 252 kB / 0.6432 GB, free: 8.082 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.939e-05/0.5425, allocations: 94.64 kB / 0.6433 GB, free: 7.988 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/0.5425, allocations: 8 kB / 0.6433 GB, free: 7.98 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.5427, allocations: 358.8 kB / 0.6437 GB, free: 7.621 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003046/0.543, allocations: 168.6 kB / 0.6438 GB, free: 7.453 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003791/0.5434, allocations: 293.6 kB / 0.6441 GB, free: 7.109 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003643/0.5437, allocations: 216.7 kB / 0.6443 GB, free: 6.898 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5437, allocations: 3.938 kB / 0.6443 GB, free: 6.895 MB / 458.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009196/0.5447, allocations: 0.5434 MB / 0.6449 GB, free: 6.344 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.5447, allocations: 15.06 kB / 0.6449 GB, free: 6.332 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.5447, allocations: 4 kB / 0.6449 GB, free: 6.328 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.5447, allocations: 4 kB / 0.6449 GB, free: 6.324 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.5458, allocations: 224.2 kB / 0.6451 GB, free: 6.105 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003918/0.5497, allocations: 7.313 MB / 0.6522 GB, free: 14.51 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003674/0.5501, allocations: 67.55 kB / 0.6523 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.115e-05/0.5501, allocations: 20 kB / 0.6523 GB, free: 14.43 MB / 474.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 () * Number of clocked 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.00031/0.5505, allocations: 237.5 kB / 0.6526 GB, free: 14.18 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.495e-05/0.5505, allocations: 43.44 kB / 0.6526 GB, free: 14.14 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.5516, allocations: 0.5485 MB / 0.6531 GB, free: 13.58 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.5516, allocations: 0 / 0.6531 GB, free: 13.58 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.5516, allocations: 3.938 kB / 0.6531 GB, free: 13.58 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.5516, allocations: 4 kB / 0.6531 GB, free: 13.57 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005988/0.5522, allocations: 433.1 kB / 0.6536 GB, free: 13.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5522, allocations: 0 / 0.6536 GB, free: 13.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008797/0.5531, allocations: 199.8 kB / 0.6537 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.5531, allocations: 0 / 0.6537 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/0.5532, allocations: 15.98 kB / 0.6538 GB, free: 12.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003731/0.5569, allocations: 7.302 MB / 0.6609 GB, free: 5.309 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5569, allocations: 0 / 0.6609 GB, free: 5.309 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007973/0.5577, allocations: 0.5078 MB / 0.6614 GB, free: 4.785 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.5579, allocations: 124.5 kB / 0.6615 GB, free: 4.645 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.761e-05/0.558, allocations: 8 kB / 0.6615 GB, free: 4.637 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.5582, allocations: 15.98 kB / 0.6615 GB, free: 4.621 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.194e-05/0.5583, allocations: 27.95 kB / 0.6616 GB, free: 4.594 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.5583, allocations: 19.98 kB / 0.6616 GB, free: 4.574 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003973/0.5587, allocations: 379 kB / 0.6619 GB, free: 4.203 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5587, allocations: 0 / 0.6619 GB, free: 4.203 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006922/0.5594, allocations: 191.7 kB / 0.6621 GB, free: 4.016 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.001505/0.561, allocations: 1.222 MB / 0.6633 GB, free: 2.766 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00142/0.5624, allocations: 0.5082 MB / 0.6638 GB, free: 2.258 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.5624, allocations: 4 kB / 0.6638 GB, free: 2.254 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009232/0.5633, allocations: 304.6 kB / 0.6641 GB, free: 1.957 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.5638, allocations: 85.84 kB / 0.6642 GB, free: 1.875 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005456/0.5692, allocations: 5.963 MB / 0.67 GB, free: 11.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.5697, allocations: 0.9091 MB / 0.6709 GB, free: 10.85 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003253/0.5701, allocations: 136.2 kB / 0.671 GB, free: 10.71 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.5702, allocations: 139.4 kB / 0.6712 GB, free: 10.58 MB / 490.7 MB Notification: Performance of SimCode: time 2.344e-06/0.5703, allocations: 0 / 0.6712 GB, free: 10.58 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2205/0.7908, allocations: 14.01 MB / 0.6848 GB, free: 130.6 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001457/0.7909, allocations: 254.1 kB / 0.6851 GB, free: 130.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.442/3.233, allocations: 0 / 0.6851 GB, free: 130.3 MB / 490.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