Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002312/0.002313, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001083/0.001083, allocations: 91.42 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2326/0.2326, allocations: 45.14 MB / 383.8 MB, free: 268 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.891e-05/2.897e-05, allocations: 4 kB / 453.3 MB, free: 75.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1285, allocations: 63.25 MB / 0.5045 GB, free: 12.5 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4578/0.5864, allocations: 95.5 MB / 0.5977 GB, free: 6.941 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/0.5867, allocations: 99.55 kB / 0.5978 GB, free: 6.883 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03669/0.6234, allocations: 13.96 MB / 0.6115 GB, free: 11.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6235, allocations: 0 / 0.6115 GB, free: 11.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.697e-05/0.6235, allocations: 4 kB / 0.6115 GB, free: 11.03 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0009764/0.6245, allocations: 0.6374 MB / 0.6121 GB, free: 10.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.6245, allocations: 8.031 kB / 0.6121 GB, free: 10.37 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003944/0.6249, allocations: 87.44 kB / 0.6122 GB, free: 10.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.6253, allocations: 278.9 kB / 0.6125 GB, free: 9.977 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.6254, allocations: 16 kB / 0.6125 GB, free: 9.961 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.219e-05/0.6254, allocations: 27.98 kB / 0.6125 GB, free: 9.934 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005126/0.6259, allocations: 324.2 kB / 0.6128 GB, free: 9.699 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007292/0.6267, allocations: 478.1 kB / 0.6133 GB, free: 9.312 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.6267, allocations: 3.938 kB / 0.6133 GB, free: 9.309 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.998e-05/0.6267, allocations: 0 / 0.6133 GB, free: 9.309 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.951e-05/0.6268, allocations: 28.66 kB / 0.6133 GB, free: 9.281 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/0.6284, allocations: 1.148 MB / 0.6144 GB, free: 8.223 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003706/0.6288, allocations: 269.9 kB / 0.6147 GB, free: 7.965 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.629, allocations: 121.2 kB / 0.6148 GB, free: 7.855 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-05/0.6291, allocations: 4 kB / 0.6148 GB, free: 7.852 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.6291, allocations: 42.44 kB / 0.6148 GB, free: 7.805 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.694e-06/0.6291, allocations: 4 kB / 0.6148 GB, free: 7.801 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005689/0.6297, allocations: 275.1 kB / 0.6151 GB, free: 7.551 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.6298, allocations: 118.6 kB / 0.6152 GB, free: 7.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.63, allocations: 204.7 kB / 0.6154 GB, free: 7.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.63, allocations: 25.7 kB / 0.6154 GB, free: 7.199 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.6302, allocations: 217.1 kB / 0.6156 GB, free: 7.016 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.604e-05/0.6303, allocations: 58.25 kB / 0.6157 GB, free: 6.965 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.987e-05/0.6303, allocations: 64 / 0.6157 GB, free: 6.965 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.6304, allocations: 336.9 kB / 0.616 GB, free: 6.637 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.6306, allocations: 111.8 kB / 0.6161 GB, free: 6.539 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002401/0.6309, allocations: 194.6 kB / 0.6163 GB, free: 6.336 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.6311, allocations: 130.9 kB / 0.6164 GB, free: 6.227 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/0.6311, allocations: 4 kB / 0.6164 GB, free: 6.223 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005716/0.6317, allocations: 344.9 kB / 0.6168 GB, free: 5.914 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.6317, allocations: 8 kB / 0.6168 GB, free: 5.906 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.061e-05/0.6318, allocations: 31.97 kB / 0.6168 GB, free: 5.875 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.6318, allocations: 4 kB / 0.6168 GB, free: 5.871 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.6321, allocations: 45.73 kB / 0.6169 GB, free: 5.828 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.6321, allocations: 7.938 kB / 0.6169 GB, free: 5.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.6323, allocations: 36.53 kB / 0.6169 GB, free: 5.785 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/0.6323, allocations: 17.48 kB / 0.6169 GB, free: 5.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0001304/0.6325, allocations: 110.4 kB / 0.617 GB, free: 5.656 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000502/0.633, allocations: 290.6 kB / 0.6173 GB, free: 5.395 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.635e-05/0.6331, allocations: 19.72 kB / 0.6173 GB, free: 5.375 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006843/0.6338, allocations: 383.4 kB / 0.6177 GB, free: 5.035 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.6338, allocations: 4 kB / 0.6177 GB, free: 5.031 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.6338, allocations: 3.953 kB / 0.6177 GB, free: 5.027 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.6338, allocations: 7.922 kB / 0.6177 GB, free: 5.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005579/0.6344, allocations: 336.6 kB / 0.618 GB, free: 4.695 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.396e-05/0.6344, allocations: 31.47 kB / 0.618 GB, free: 4.668 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.6346, allocations: 35.97 kB / 0.6181 GB, free: 4.633 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.6346, allocations: 0 / 0.6181 GB, free: 4.633 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.6346, allocations: 8 kB / 0.6181 GB, free: 4.625 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.6346, allocations: 0 / 0.6181 GB, free: 4.625 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.6347, allocations: 7.938 kB / 0.6181 GB, free: 4.617 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005518/0.6352, allocations: 0.5449 MB / 0.6186 GB, free: 4.078 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-05/0.6353, allocations: 96.86 kB / 0.6187 GB, free: 3.965 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/0.6353, allocations: 0 / 0.6187 GB, free: 3.965 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.6356, allocations: 31.92 kB / 0.6188 GB, free: 3.934 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.173e-05/0.6357, allocations: 19.61 kB / 0.6188 GB, free: 3.918 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.6357, allocations: 15.98 kB / 0.6188 GB, free: 3.902 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001318/0.6358, allocations: 161.2 kB / 0.6189 GB, free: 3.766 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6358, allocations: 0 / 0.6189 GB, free: 3.766 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006697/0.6365, allocations: 151.1 kB / 0.6191 GB, free: 3.621 MB / 410.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001315/0.6378, allocations: 1.328 MB / 0.6204 GB, free: 2.297 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006538/0.6385, allocations: 0.5052 MB / 0.6209 GB, free: 1.773 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6385, allocations: 0 / 0.6209 GB, free: 1.773 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003301/0.6389, allocations: 365.6 kB / 0.6212 GB, free: 1.379 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.6392, allocations: 22.11 kB / 0.6212 GB, free: 1.359 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.6406, allocations: 0.6583 MB / 0.6219 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004654/0.6411, allocations: 0.8592 MB / 0.6227 GB, free: 15.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.6413, allocations: 29.3 kB / 0.6228 GB, free: 15.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.6414, allocations: 106.5 kB / 0.6229 GB, free: 15.77 MB / 426.7 MB Notification: Performance of SimCode: time 4.01e-07/0.6414, allocations: 0 / 0.6229 GB, free: 15.77 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02677/0.6682, allocations: 7.112 MB / 0.6298 GB, free: 8.703 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/0.6684, allocations: 194.9 kB / 0.63 GB, free: 8.512 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.924/2.592, allocations: 3 kB / 0.63 GB, free: 8.512 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat does not exist to compare? outputFormat=mat