Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001041/0.001041, allocations: 102.3 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001052/0.001052, allocations: 197.4 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2038/0.2038, allocations: 45.91 MB / 344 MB, free: 12.1 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002794/0.0002794, allocations: 8 kB / 418.1 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1476, allocations: 63.47 MB / 481.5 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.002589/0.1503, allocations: 1.806 MB / 483.4 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002792/0.1531, allocations: 1.844 MB / 485.2 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.1533, allocations: 4 kB / 485.2 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003036/0.1536, allocations: 59.66 kB / 485.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.1538, allocations: 71.78 kB / 485.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009997/0.1548, allocations: 366.9 kB / 485.7 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004773/0.1552, allocations: 355.2 kB / 486 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.1554, allocations: 57.06 kB / 486.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002607/0.1556, allocations: 151.3 kB / 486.2 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000231/0.1559, allocations: 179.2 kB / 486.4 MB, free: 360 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.1559, allocations: 12 kB / 486.4 MB, free: 348 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009979/0.1569, allocations: 0.6514 MB / 487.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.157, allocations: 87.64 kB / 487.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.1571, allocations: 93.45 kB / 487.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006206/0.1578, allocations: 499.1 kB / 487.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1578, allocations: 8 kB / 487.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.1578, allocations: 0 / 487.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.1578, allocations: 0 / 487.7 MB, free: 15.01 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.00121/0.159, allocations: 0.7406 MB / 488.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.1591, allocations: 8.031 kB / 488.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001212/0.1592, allocations: 98.5 kB / 488.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004431/0.1597, allocations: 95.3 kB / 488.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005807/0.1603, allocations: 310.8 kB / 489 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.103e-05/0.1603, allocations: 37 kB / 489 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.241e-05/0.1604, allocations: 44 kB / 489.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.1617, allocations: 0.7001 MB / 489.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.1618, allocations: 0 / 489.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.694e-05/0.1618, allocations: 27.92 kB / 489.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.225e-05/0.1619, allocations: 24.98 kB / 489.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009325/0.1628, allocations: 0.5155 MB / 490.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00212/0.1649, allocations: 1.519 MB / 491.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006115/0.1656, allocations: 335.7 kB / 492.2 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.486e-05/0.1656, allocations: 7.984 kB / 492.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.1656, allocations: 46.48 kB / 492.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 1.513e-06/0.1657, allocations: 4 kB / 492.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001502/0.1672, allocations: 1.003 MB / 493.2 MB, free: 9.184 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/0.1672, allocations: 110.8 kB / 493.3 MB, free: 9.051 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006345/0.1679, allocations: 0.5642 MB / 493.9 MB, free: 8.477 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.1679, allocations: 29.64 kB / 493.9 MB, free: 8.441 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.1681, allocations: 228.2 kB / 494.2 MB, free: 8.215 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.1683, allocations: 82.89 kB / 494.2 MB, free: 8.133 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.875e-05/0.1683, allocations: 4 kB / 494.3 MB, free: 8.129 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1685, allocations: 362.8 kB / 494.6 MB, free: 7.766 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004098/0.1689, allocations: 155.8 kB / 494.8 MB, free: 7.613 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004283/0.1693, allocations: 268.5 kB / 495 MB, free: 7.305 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004068/0.1697, allocations: 202.7 kB / 495.2 MB, free: 7.109 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.1697, allocations: 4 kB / 495.2 MB, free: 7.105 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001036/0.1708, allocations: 0.4888 MB / 495.7 MB, free: 6.609 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.1708, allocations: 8 kB / 495.7 MB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.37e-05/0.1709, allocations: 39.97 kB / 495.8 MB, free: 6.562 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.1709, allocations: 8.359 kB / 495.8 MB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.1711, allocations: 47.91 kB / 495.8 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.1712, allocations: 7.984 kB / 495.8 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002918/0.1715, allocations: 67.36 kB / 495.9 MB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.812e-05/0.1715, allocations: 19.98 kB / 495.9 MB, free: 6.414 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (30): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002368/0.1717, allocations: 225.6 kB / 496.1 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.955e-05/0.1719, allocations: 47.34 kB / 496.2 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000912/0.1728, allocations: 489 kB / 496.6 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.1728, allocations: 4 kB / 496.7 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.1728, allocations: 7.953 kB / 496.7 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.1728, allocations: 3.984 kB / 496.7 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006645/0.1735, allocations: 401.2 kB / 497.1 MB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.384e-05/0.1736, allocations: 43.95 kB / 497.1 MB, free: 5.152 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.1737, allocations: 31.97 kB / 497.1 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1738, allocations: 0 / 497.1 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/0.1738, allocations: 8 kB / 497.1 MB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.1738, allocations: 4 kB / 497.1 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1738, allocations: 0 / 497.1 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.1748, allocations: 0.6841 MB / 497.8 MB, free: 4.398 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.175, allocations: 120.5 kB / 497.9 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.949e-05/0.175, allocations: 11.95 kB / 498 MB, free: 4.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002844/0.1753, allocations: 23.97 kB / 498 MB, free: 4.227 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.101e-05/0.1754, allocations: 27.97 kB / 498 MB, free: 4.199 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.1755, allocations: 8 kB / 498 MB, free: 4.191 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005072/0.176, allocations: 414.7 kB / 498.4 MB, free: 3.789 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.176, allocations: 0 / 498.4 MB, free: 3.789 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006781/0.1767, allocations: 179.8 kB / 498.6 MB, free: 3.613 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001639/0.1783, allocations: 1.478 MB / 0.4884 GB, free: 2.102 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.1793, allocations: 0.6906 MB / 0.489 GB, free: 1.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1793, allocations: 0 / 0.489 GB, free: 1.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005781/0.1799, allocations: 0.4925 MB / 0.4895 GB, free: 0.7734 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005226/0.1805, allocations: 93.77 kB / 0.4896 GB, free: 0.6797 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005848/0.1863, allocations: 5.363 MB / 0.4948 GB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004576/0.1868, allocations: 0.8976 MB / 0.4957 GB, free: 10.26 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002146/0.187, allocations: 87.31 kB / 0.4958 GB, free: 10.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/0.1872, allocations: 127.4 kB / 0.4959 GB, free: 10.05 MB / 382.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1872, allocations: 0 / 0.4959 GB, free: 10.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2568/0.444, allocations: 12.9 MB / 0.5085 GB, free: 40.44 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001563/0.4442, allocations: 226 kB / 0.5087 GB, free: 40.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2/2.445, allocations: 0 / 0.5087 GB, free: 40.2 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat does not exist to compare? outputFormat=mat