Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_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.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_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.0009204/0.0009204, allocations: 97.47 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001078/0.001078, allocations: 208.8 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, 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.21/0.21, allocations: 45.92 MB / 344 MB, free: 12.11 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002856/0.0002856, allocations: 8 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1663, allocations: 63.45 MB / 481.5 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.002983/0.1693, allocations: 1.635 MB / 483.2 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.1711, allocations: 0.7525 MB / 483.9 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.192e-05/0.1712, allocations: 0 / 483.9 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000309/0.1715, allocations: 51.72 kB / 484 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003216/0.1718, allocations: 87.66 kB / 484.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.1721, allocations: 51.92 kB / 484.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003234/0.1724, allocations: 195.6 kB / 484.3 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.95e-05/0.1725, allocations: 40.36 kB / 484.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002315/0.1728, allocations: 95.56 kB / 484.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.173, allocations: 107.5 kB / 484.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.088e-05/0.173, allocations: 4 kB / 484.5 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003382/0.1734, allocations: 127.8 kB / 484.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.994e-05/0.1735, allocations: 55.75 kB / 484.7 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.628e-05/0.1736, allocations: 65.58 kB / 484.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003774/0.174, allocations: 219.7 kB / 485 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.174, allocations: 0 / 485 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.174, allocations: 0 / 485 MB, free: 1.777 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.174, allocations: 4 kB / 485 MB, free: 1.773 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.00103/0.175, allocations: 0.5106 MB / 485.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/0.1751, allocations: 8.031 kB / 485.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/0.1752, allocations: 74.52 kB / 485.6 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.856e-05/0.1753, allocations: 27.62 kB / 485.6 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003982/0.1757, allocations: 250.1 kB / 485.9 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.237e-05/0.1758, allocations: 20.56 kB / 485.9 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.498e-05/0.1758, allocations: 23.98 kB / 485.9 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009015/0.1768, allocations: 389.2 kB / 486.3 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.1768, allocations: 0 / 486.3 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.314e-05/0.1768, allocations: 19.98 kB / 486.3 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-05/0.1769, allocations: 24.64 kB / 486.3 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.1779, allocations: 418.3 kB / 486.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001904/0.1799, allocations: 0.889 MB / 487.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008824/0.1807, allocations: 312.5 kB / 487.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.1808, allocations: 4 kB / 487.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.1808, allocations: 34.55 kB / 488 MB, free: 14.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.1808, allocations: 0 / 488 MB, free: 14.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.001188/0.182, allocations: 377.2 kB / 488.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/0.1821, allocations: 55.41 kB / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005247/0.1827, allocations: 343.3 kB / 488.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.1827, allocations: 29.7 kB / 488.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.1829, allocations: 160.2 kB / 488.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.155e-05/0.183, allocations: 59.27 kB / 489 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.051e-05/0.183, allocations: 8 kB / 489 MB, free: 13.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.1832, allocations: 334.8 kB / 489.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003291/0.1835, allocations: 104.3 kB / 489.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004014/0.1839, allocations: 158.6 kB / 489.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003514/0.1843, allocations: 119.8 kB / 489.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.1843, allocations: 4 kB / 489.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008874/0.1852, allocations: 319.6 kB / 490 MB, free: 12.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.1853, allocations: 8 kB / 490 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1853, allocations: 4.188 kB / 490 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.1853, allocations: 4 kB / 490 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008489/0.1862, allocations: 115.8 kB / 490.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00283/0.189, allocations: 3.703 MB / 493.8 MB, free: 8.566 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003108/0.1893, allocations: 39.7 kB / 493.9 MB, free: 8.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.022e-05/0.1894, allocations: 15.97 kB / 493.9 MB, free: 8.512 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002819/0.1897, allocations: 172.2 kB / 494.1 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.55e-05/0.1898, allocations: 27.83 kB / 494.1 MB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009918/0.1908, allocations: 367.1 kB / 494.4 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1908, allocations: 0 / 494.4 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.1908, allocations: 4 kB / 494.4 MB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1908, allocations: 0 / 494.4 MB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005455/0.1914, allocations: 313.4 kB / 494.8 MB, free: 7.582 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1914, allocations: 0 / 494.8 MB, free: 7.582 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007201/0.1921, allocations: 107.9 kB / 494.9 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/0.1921, allocations: 3.953 kB / 494.9 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.1922, allocations: 7.984 kB / 494.9 MB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003108/0.1953, allocations: 3.704 MB / 498.6 MB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1953, allocations: 3.938 kB / 498.6 MB, free: 3.617 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000866/0.1962, allocations: 382 kB / 498.9 MB, free: 3.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.1964, allocations: 108.7 kB / 499.1 MB, free: 3.105 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.436e-05/0.1964, allocations: 4 kB / 499.1 MB, free: 3.102 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.1967, allocations: 8 kB / 499.1 MB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.527e-05/0.1968, allocations: 15.97 kB / 499.1 MB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.1968, allocations: 8 kB / 499.1 MB, free: 3.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003923/0.1972, allocations: 257.9 kB / 499.3 MB, free: 2.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1972, allocations: 4 kB / 499.3 MB, free: 2.816 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005803/0.1978, allocations: 72.03 kB / 499.4 MB, free: 2.746 MB / 366.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 (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001306/0.1991, allocations: 0.9233 MB / 0.4886 GB, free: 1.793 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001425/0.2006, allocations: 335.5 kB / 0.4889 GB, free: 1.465 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.2006, allocations: 384 / 0.4889 GB, free: 1.465 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009743/0.2016, allocations: 207.8 kB / 0.4891 GB, free: 1.262 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005101/0.2021, allocations: 56.61 kB / 0.4892 GB, free: 1.207 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00499/0.2071, allocations: 2.88 MB / 0.492 GB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006176/0.2078, allocations: 0.8066 MB / 0.4928 GB, free: 13.42 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000286/0.2081, allocations: 62.23 kB / 0.4928 GB, free: 13.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.2082, allocations: 79.34 kB / 0.4929 GB, free: 13.27 MB / 382.1 MB Notification: Performance of SimCode: time 1.163e-06/0.2082, allocations: 0 / 0.4929 GB, free: 13.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02998/0.2382, allocations: 7.65 MB / 0.5004 GB, free: 5.914 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000365/0.2386, allocations: 266.5 kB / 0.5006 GB, free: 5.559 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.978/2.217, allocations: 2.344 kB / 0.5006 GB, free: 5.559 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat does not exist to compare? outputFormat=mat