Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.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.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001229/0.001229, allocations: 97.84 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001403/0.001403, allocations: 191.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 246 MB, free: 12.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2107/0.2107, allocations: 45.91 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003984/0.0003985, allocations: 11.94 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1493, allocations: 63.47 MB / 481.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC): time 0.00265/0.152, allocations: 1.826 MB / 483.5 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002498/0.1546, allocations: 1.687 MB / 485.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.628e-05/0.1547, allocations: 4 kB / 485.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002442/0.1549, allocations: 51.67 kB / 485.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004032/0.1553, allocations: 143.3 kB / 485.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007158/0.1561, allocations: 290.6 kB / 485.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005818/0.1566, allocations: 0.5522 MB / 486.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.1568, allocations: 61.05 kB / 486.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003119/0.1571, allocations: 175.1 kB / 486.4 MB, free: 464 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002797/0.1574, allocations: 231 kB / 486.7 MB, free: 232 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.395e-05/0.1574, allocations: 12 kB / 486.7 MB, free: 220 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009194/0.1584, allocations: 0.5693 MB / 487.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.1585, allocations: 107.4 kB / 487.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.811e-05/0.1586, allocations: 97.45 kB / 487.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006204/0.1592, allocations: 0.5261 MB / 488 MB, free: 14.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1592, allocations: 0 / 488 MB, free: 14.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1593, allocations: 0 / 488 MB, free: 14.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1593, allocations: 0 / 488 MB, free: 14.91 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001109/0.1604, allocations: 0.7253 MB / 488.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.1604, allocations: 16.03 kB / 488.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001164/0.1606, allocations: 98.52 kB / 488.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.602e-05/0.1607, allocations: 55.33 kB / 488.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.161, allocations: 314.2 kB / 489.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/0.1611, allocations: 37.3 kB / 489.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.752e-05/0.1611, allocations: 48 kB / 489.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.1623, allocations: 0.7637 MB / 490 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.1623, allocations: 0 / 490 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.476e-05/0.1623, allocations: 24 kB / 490 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-05/0.1624, allocations: 49.28 kB / 490.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.1636, allocations: 0.8091 MB / 490.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.1657, allocations: 1.508 MB / 492.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007937/0.1665, allocations: 457.9 kB / 492.9 MB, free: 9.859 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/0.1668, allocations: 157.2 kB / 493 MB, free: 9.703 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.125e-05/0.1669, allocations: 20.2 kB / 493 MB, free: 9.684 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.1669, allocations: 34.8 kB / 493.1 MB, free: 9.641 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.553e-06/0.1669, allocations: 0 / 493.1 MB, free: 9.641 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001079/0.168, allocations: 0.5676 MB / 493.6 MB, free: 9.066 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.1681, allocations: 55.41 kB / 493.7 MB, free: 9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005984/0.1687, allocations: 0.5757 MB / 494.3 MB, free: 8.414 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.1687, allocations: 33.64 kB / 494.3 MB, free: 8.375 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/0.1689, allocations: 279.5 kB / 494.6 MB, free: 8.098 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.486e-05/0.169, allocations: 102.6 kB / 494.7 MB, free: 7.996 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.67e-05/0.169, allocations: 12 kB / 494.7 MB, free: 7.984 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1692, allocations: 354.8 kB / 495 MB, free: 7.629 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003433/0.1695, allocations: 200.9 kB / 495.2 MB, free: 7.434 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004884/0.17, allocations: 433.1 kB / 495.6 MB, free: 6.895 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004257/0.1705, allocations: 267.7 kB / 495.9 MB, free: 6.633 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.1705, allocations: 4 kB / 495.9 MB, free: 6.629 MB / 366.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00109/0.1716, allocations: 0.6804 MB / 496.6 MB, free: 5.941 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.1716, allocations: 8 kB / 496.6 MB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.1716, allocations: 8 kB / 496.6 MB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.1717, allocations: 15.98 kB / 496.6 MB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009757/0.1726, allocations: 255.7 kB / 496.9 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003605/0.1762, allocations: 7.318 MB / 0.4924 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004268/0.1767, allocations: 90.98 kB / 0.4925 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.174e-05/0.1768, allocations: 35.98 kB / 0.4925 GB, free: 13.94 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,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 (64): * Single equations (assignments): 52 * 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.0003334/0.1771, allocations: 265.7 kB / 0.4927 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.294e-05/0.1772, allocations: 47.34 kB / 0.4928 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.1783, allocations: 0.5771 MB / 0.4934 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.1783, allocations: 0 / 0.4934 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.1783, allocations: 4 kB / 0.4934 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.1783, allocations: 3.984 kB / 0.4934 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005626/0.1789, allocations: 433.2 kB / 0.4938 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1789, allocations: 8 kB / 0.4938 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008195/0.1798, allocations: 203.8 kB / 0.494 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.832e-06/0.1798, allocations: 3.984 kB / 0.494 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/0.1798, allocations: 16 kB / 0.494 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003857/0.1837, allocations: 7.302 MB / 0.5011 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.1837, allocations: 0 / 0.5011 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008929/0.1846, allocations: 0.5113 MB / 0.5016 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.1848, allocations: 128.5 kB / 0.5017 GB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.989e-05/0.1849, allocations: 7.953 kB / 0.5018 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.1851, allocations: 15.98 kB / 0.5018 GB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.962e-05/0.1852, allocations: 23.97 kB / 0.5018 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.315e-05/0.1852, allocations: 19.98 kB / 0.5018 GB, free: 4.008 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004953/0.1857, allocations: 406.8 kB / 0.5022 GB, free: 3.613 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.513e-06/0.1857, allocations: 0 / 0.5022 GB, free: 3.613 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00075/0.1865, allocations: 187.7 kB / 0.5024 GB, free: 3.43 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.001351/0.1878, allocations: 1.177 MB / 0.5035 GB, free: 2.223 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001585/0.1894, allocations: 0.615 MB / 0.5041 GB, free: 1.609 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1894, allocations: 0 / 0.5041 GB, free: 1.609 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009763/0.1904, allocations: 371.9 kB / 0.5045 GB, free: 1.246 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000596/0.191, allocations: 113.8 kB / 0.5046 GB, free: 1.137 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2529/0.4439, allocations: 3.488 MB / 0.508 GB, free: 41.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/0.4444, allocations: 0.9093 MB / 0.5089 GB, free: 40.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005258/0.445, allocations: 176.5 kB / 0.5091 GB, free: 40.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/0.4452, allocations: 146.7 kB / 0.5092 GB, free: 40.88 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4452, allocations: 1.312 kB / 0.5092 GB, free: 40.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03696/0.4822, allocations: 15.03 MB / 0.5239 GB, free: 36.48 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/0.4824, allocations: 258.2 kB / 0.5241 GB, free: 36.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.278/2.761, allocations: 3.094 kB / 0.5241 GB, free: 36.13 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat