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/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_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/Complex trunk/package.mo): time 0.001069/0.001069, allocations: 196.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008543/0.0008544, allocations: 85.19 kB / 292.1 MB, free: 6 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2043/0.2043, allocations: 45.13 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.892e-05/2.896e-05, allocations: 4 kB / 460.5 MB, free: 69.88 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1018, allocations: 63.24 MB / 0.5115 GB, free: 6.668 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3715/0.4733, allocations: 93.78 MB / 0.6031 GB, free: 48 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/0.4736, allocations: 98.86 kB / 0.6032 GB, free: 15.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02676/0.5004, allocations: 10.33 MB / 0.6132 GB, free: 7.121 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.5004, allocations: 3.938 kB / 0.6132 GB, free: 7.117 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.5004, allocations: 4 kB / 0.6133 GB, free: 7.113 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.000608/0.501, allocations: 0.5083 MB / 0.6137 GB, free: 6.578 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/0.5011, allocations: 11.97 kB / 0.6138 GB, free: 6.566 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.336e-05/0.5012, allocations: 71.95 kB / 0.6138 GB, free: 6.504 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.5012, allocations: 27.72 kB / 0.6139 GB, free: 6.477 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.5015, allocations: 242.2 kB / 0.6141 GB, free: 6.203 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.5016, allocations: 20.12 kB / 0.6141 GB, free: 6.191 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/0.5016, allocations: 27.23 kB / 0.6141 GB, free: 6.172 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004983/0.5021, allocations: 371.4 kB / 0.6145 GB, free: 5.879 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.5021, allocations: 3.984 kB / 0.6145 GB, free: 5.875 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.5022, allocations: 11.36 kB / 0.6145 GB, free: 5.871 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.583e-05/0.5022, allocations: 24.77 kB / 0.6145 GB, free: 5.848 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004631/0.5027, allocations: 387.4 kB / 0.6149 GB, free: 5.562 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.5039, allocations: 0.8936 MB / 0.6158 GB, free: 4.734 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005023/0.5044, allocations: 286.3 kB / 0.616 GB, free: 4.473 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.5046, allocations: 88.34 kB / 0.6161 GB, free: 4.395 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.5046, allocations: 11.88 kB / 0.6161 GB, free: 4.387 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.5046, allocations: 34.56 kB / 0.6162 GB, free: 4.344 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.5047, allocations: 0 / 0.6162 GB, free: 4.344 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004206/0.5051, allocations: 235.5 kB / 0.6164 GB, free: 4.129 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.5051, allocations: 55.39 kB / 0.6164 GB, free: 4.062 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/0.5054, allocations: 311.5 kB / 0.6167 GB, free: 3.801 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.5055, allocations: 29.39 kB / 0.6168 GB, free: 3.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.097e-05/0.5056, allocations: 160.8 kB / 0.6169 GB, free: 3.645 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.524e-05/0.5056, allocations: 53.08 kB / 0.617 GB, free: 3.598 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.139e-05/0.5056, allocations: 7.062 kB / 0.617 GB, free: 3.594 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.5058, allocations: 336.5 kB / 0.6173 GB, free: 3.266 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.5059, allocations: 88.67 kB / 0.6174 GB, free: 3.191 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.5061, allocations: 138.8 kB / 0.6175 GB, free: 3.051 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.5062, allocations: 102.6 kB / 0.6176 GB, free: 2.961 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.5063, allocations: 0 / 0.6176 GB, free: 2.961 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004014/0.5067, allocations: 294.5 kB / 0.6179 GB, free: 2.699 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.5067, allocations: 5.406 kB / 0.6179 GB, free: 2.695 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.5067, allocations: 4.188 kB / 0.6179 GB, free: 2.691 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.5067, allocations: 11.94 kB / 0.6179 GB, free: 2.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005709/0.5073, allocations: 111.8 kB / 0.618 GB, free: 2.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001902/0.5092, allocations: 3.703 MB / 0.6216 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.5094, allocations: 35.09 kB / 0.6217 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.5094, allocations: 11.98 kB / 0.6217 GB, free: 14.73 MB / 426.7 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 () * 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.0001027/0.5095, allocations: 115.6 kB / 0.6218 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.076e-05/0.5096, allocations: 27.62 kB / 0.6218 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005403/0.5101, allocations: 320.9 kB / 0.6221 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.5102, allocations: 4 kB / 0.6221 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5102, allocations: 0 / 0.6221 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.5102, allocations: 0 / 0.6221 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003369/0.5105, allocations: 313.3 kB / 0.6224 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.5105, allocations: 7.891 kB / 0.6224 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005136/0.5111, allocations: 107.4 kB / 0.6225 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.5111, allocations: 0 / 0.6225 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.5111, allocations: 7.984 kB / 0.6225 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001808/0.5129, allocations: 3.703 MB / 0.6262 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.5129, allocations: 3.984 kB / 0.6262 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004227/0.5134, allocations: 340.5 kB / 0.6265 GB, free: 9.754 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.5135, allocations: 108.7 kB / 0.6266 GB, free: 9.629 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.5135, allocations: 0 / 0.6266 GB, free: 9.629 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.5137, allocations: 15.61 kB / 0.6266 GB, free: 9.617 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.33e-05/0.5138, allocations: 15.97 kB / 0.6266 GB, free: 9.602 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.5138, allocations: 11.92 kB / 0.6266 GB, free: 9.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002492/0.514, allocations: 251.2 kB / 0.6269 GB, free: 9.387 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.514, allocations: 4 kB / 0.6269 GB, free: 9.383 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003867/0.5144, allocations: 74.22 kB / 0.627 GB, free: 9.316 MB / 426.7 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 () * 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.00101/0.5155, allocations: 0.9487 MB / 0.6279 GB, free: 8.371 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007324/0.5162, allocations: 266.9 kB / 0.6281 GB, free: 8.133 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5162, allocations: 0 / 0.6281 GB, free: 8.133 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004977/0.5167, allocations: 165.3 kB / 0.6283 GB, free: 7.984 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.517, allocations: 53.5 kB / 0.6283 GB, free: 7.945 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008633/0.5179, allocations: 0.507 MB / 0.6288 GB, free: 7.445 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.5182, allocations: 0.8057 MB / 0.6296 GB, free: 6.617 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001552/0.5184, allocations: 66 kB / 0.6297 GB, free: 6.551 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.22e-05/0.5185, allocations: 76.16 kB / 0.6298 GB, free: 6.527 MB / 426.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5185, allocations: 0 / 0.6298 GB, free: 6.527 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02054/0.539, allocations: 8.415 MB / 0.638 GB, free: 14.38 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002307/0.5393, allocations: 236.5 kB / 0.6382 GB, free: 14.07 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/2.445, allocations: 4.062 kB / 0.6382 GB, free: 14.06 MB / 442.7 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