Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 95.27 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 174.9 kB / 16.57 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.724/1.724, allocations: 205.4 MB / 222.7 MB, free: 5.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4465/0.4465, allocations: 43.55 MB / 314.5 MB, free: 8.84 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008202/0.0008204, allocations: 16 kB / 384 MB, free: 7.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1644, allocations: 58.86 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.002663/0.1671, allocations: 1.748 MB / 444.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002366/0.1695, allocations: 1.572 MB / 446.2 MB, free: 9.633 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.871e-05/0.1696, allocations: 0 / 446.2 MB, free: 9.633 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003082/0.1699, allocations: 59.7 kB / 446.2 MB, free: 9.574 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003206/0.1703, allocations: 107.7 kB / 446.4 MB, free: 9.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006703/0.171, allocations: 287.2 kB / 446.6 MB, free: 9.188 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004031/0.1714, allocations: 307.3 kB / 446.9 MB, free: 8.887 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1715, allocations: 61.05 kB / 447 MB, free: 8.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.1717, allocations: 139.3 kB / 447.1 MB, free: 8.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.1719, allocations: 179.2 kB / 447.3 MB, free: 8.508 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.1719, allocations: 12 kB / 447.3 MB, free: 8.496 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000813/0.1728, allocations: 0.5423 MB / 447.9 MB, free: 7.953 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.1729, allocations: 99.64 kB / 448 MB, free: 7.855 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.1731, allocations: 97.39 kB / 448.1 MB, free: 7.754 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005341/0.1736, allocations: 447.1 kB / 448.5 MB, free: 7.316 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.1736, allocations: 0 / 448.5 MB, free: 7.316 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1736, allocations: 0 / 448.5 MB, free: 7.316 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.1736, allocations: 4 kB / 448.5 MB, free: 7.312 MB / 382.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.001053/0.1747, allocations: 0.6861 MB / 449.2 MB, free: 6.578 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.1747, allocations: 8.031 kB / 449.2 MB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001259/0.1749, allocations: 106.5 kB / 449.3 MB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.175, allocations: 51.3 kB / 449.3 MB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/0.1755, allocations: 298.9 kB / 449.6 MB, free: 6.074 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.883e-05/0.1755, allocations: 44.98 kB / 449.7 MB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.205e-05/0.1756, allocations: 44 kB / 449.7 MB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009908/0.1766, allocations: 0.703 MB / 450.4 MB, free: 5.273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.1766, allocations: 0 / 450.4 MB, free: 5.273 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.003e-05/0.1767, allocations: 20 kB / 450.4 MB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.544e-05/0.1767, allocations: 53.27 kB / 450.5 MB, free: 5.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.1779, allocations: 0.7545 MB / 451.2 MB, free: 4.449 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002267/0.1802, allocations: 1.453 MB / 452.7 MB, free: 2.941 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007592/0.181, allocations: 468.4 kB / 453.2 MB, free: 2.477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.556e-05/0.181, allocations: 4.234 kB / 453.2 MB, free: 2.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.1811, allocations: 34.8 kB / 453.2 MB, free: 2.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.264e-06/0.1811, allocations: 4 kB / 453.2 MB, free: 2.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001129/0.1822, allocations: 0.553 MB / 453.8 MB, free: 1.867 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.1823, allocations: 59.34 kB / 453.8 MB, free: 1.797 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005981/0.1829, allocations: 0.5251 MB / 454.3 MB, free: 1.262 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.183, allocations: 29.7 kB / 454.4 MB, free: 1.227 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.1832, allocations: 252 kB / 454.6 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.576e-05/0.1833, allocations: 94.64 kB / 454.7 MB, free: 0.8828 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.1833, allocations: 12 kB / 454.7 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002156/0.1835, allocations: 358.8 kB / 455.1 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/0.1838, allocations: 164.6 kB / 455.2 MB, free: 356 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2496/0.4334, allocations: 302.5 kB / 455.5 MB, free: 46.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006114/0.4341, allocations: 209.4 kB / 455.7 MB, free: 46.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.4341, allocations: 3.062 kB / 455.7 MB, free: 46.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009985/0.4351, allocations: 0.5448 MB / 456.3 MB, free: 46.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.4352, allocations: 7.25 kB / 456.3 MB, free: 46.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.4352, allocations: 6.812 kB / 456.3 MB, free: 46.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.03e-05/0.4352, allocations: 7.969 kB / 456.3 MB, free: 46.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009781/0.4362, allocations: 214 kB / 456.5 MB, free: 46.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002406/0.4386, allocations: 7.31 MB / 463.8 MB, free: 39.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003806/0.439, allocations: 70.25 kB / 463.9 MB, free: 39.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/0.4391, allocations: 23.02 kB / 463.9 MB, free: 39.08 MB / 382.1 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.0002848/0.4394, allocations: 243 kB / 464.1 MB, free: 38.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.283e-05/0.4394, allocations: 42.5 kB / 464.2 MB, free: 38.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.4405, allocations: 0.5545 MB / 464.7 MB, free: 38.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.4405, allocations: 3.938 kB / 464.7 MB, free: 38.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4405, allocations: 2.719 kB / 464.7 MB, free: 38.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.4405, allocations: 5.875 kB / 464.8 MB, free: 38.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00055/0.4411, allocations: 436.6 kB / 465.2 MB, free: 38.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.4411, allocations: 0.875 kB / 465.2 MB, free: 38.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008326/0.4419, allocations: 196.4 kB / 465.4 MB, free: 38.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/0.442, allocations: 1.078 kB / 465.4 MB, free: 38.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.757e-05/0.442, allocations: 12.52 kB / 465.4 MB, free: 38.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002387/0.4444, allocations: 7.308 MB / 472.7 MB, free: 31.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.4444, allocations: 0.6875 kB / 472.7 MB, free: 31.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007534/0.4452, allocations: 0.5166 MB / 473.2 MB, free: 31.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.4453, allocations: 121.4 kB / 473.3 MB, free: 31.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.941e-05/0.4454, allocations: 4 kB / 473.3 MB, free: 31.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.4456, allocations: 16.73 kB / 473.3 MB, free: 31.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.702e-05/0.4457, allocations: 27.75 kB / 473.4 MB, free: 31.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.077e-05/0.4457, allocations: 18.27 kB / 473.4 MB, free: 31.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004136/0.4462, allocations: 385.2 kB / 473.8 MB, free: 31.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4462, allocations: 4 kB / 473.8 MB, free: 31.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007181/0.4469, allocations: 165.1 kB / 473.9 MB, free: 31.21 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.001165/0.4481, allocations: 1.166 MB / 475.1 MB, free: 30.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001445/0.4495, allocations: 0.5573 MB / 475.7 MB, free: 30.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4495, allocations: 0 / 475.7 MB, free: 30.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009992/0.4505, allocations: 366.4 kB / 476 MB, free: 30.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004745/0.451, allocations: 79.27 kB / 476.1 MB, free: 30.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005461/0.4565, allocations: 5.971 MB / 482.1 MB, free: 26.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.4569, allocations: 0.9038 MB / 483 MB, free: 26.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000381/0.4573, allocations: 147.6 kB / 483.1 MB, free: 26.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.4574, allocations: 144.2 kB / 483.3 MB, free: 26.06 MB / 382.1 MB Notification: Performance of SimCode: time 1.403e-06/0.4574, allocations: 0 / 483.3 MB, free: 26.06 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03076/0.4882, allocations: 13.22 MB / 496.5 MB, free: 24.97 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/0.4884, allocations: 259.4 kB / 496.7 MB, free: 24.63 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.212/2.701, allocations: 0 / 496.7 MB, free: 24.63 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat does not exist to compare? outputFormat=mat