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.001071/0.001071, allocations: 196.1 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.305/1.305, 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.0009255/0.0009253, allocations: 85.55 kB / 292.1 MB, free: 5.953 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1833/0.1833, allocations: 45.14 MB / 389.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.832e-05/2.833e-05, allocations: 4 kB / 460.5 MB, free: 69.88 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09971/0.09976, allocations: 63.24 MB / 0.5115 GB, free: 6.648 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3712/0.471, allocations: 96.17 MB / 0.6054 GB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.4713, allocations: 98.05 kB / 0.6055 GB, free: 13.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03515/0.5064, allocations: 14.12 MB / 0.6193 GB, free: 1.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.5065, allocations: 4 kB / 0.6193 GB, free: 1.266 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.5065, allocations: 4 kB / 0.6193 GB, free: 1.262 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.0007893/0.5073, allocations: 0.6394 MB / 0.6199 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.5073, allocations: 15.97 kB / 0.6199 GB, free: 0.582 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.403e-05/0.5074, allocations: 78.28 kB / 0.62 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003607/0.5078, allocations: 86.81 kB / 0.6201 GB, free: 448 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.5081, allocations: 282.4 kB / 0.6203 GB, free: 132 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.5082, allocations: 23.22 kB / 0.6204 GB, free: 120 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.818e-05/0.5082, allocations: 41.25 kB / 0.6204 GB, free: 92 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007067/0.5089, allocations: 0.5223 MB / 0.6209 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.509, allocations: 7.875 kB / 0.6209 GB, free: 15.67 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/0.509, allocations: 22.48 kB / 0.6209 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-05/0.509, allocations: 20.73 kB / 0.621 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004813/0.5095, allocations: 344 kB / 0.6213 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001691/0.5112, allocations: 1.307 MB / 0.6226 GB, free: 14.19 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003773/0.5116, allocations: 272.1 kB / 0.6228 GB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.5118, allocations: 120.6 kB / 0.6229 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.839e-05/0.5118, allocations: 7.984 kB / 0.623 GB, free: 13.81 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.5119, allocations: 34.56 kB / 0.623 GB, free: 13.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=17): time 2.374e-06/0.5119, allocations: 3.938 kB / 0.623 GB, free: 13.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005884/0.5125, allocations: 318.3 kB / 0.6233 GB, free: 13.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.5125, allocations: 102.8 kB / 0.6234 GB, free: 13.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004318/0.513, allocations: 452.1 kB / 0.6238 GB, free: 12.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.513, allocations: 25.7 kB / 0.6238 GB, free: 12.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.5131, allocations: 210 kB / 0.624 GB, free: 12.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.768e-05/0.5132, allocations: 53.5 kB / 0.6241 GB, free: 12.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.585e-05/0.5132, allocations: 3.062 kB / 0.6241 GB, free: 12.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.5133, allocations: 355 kB / 0.6244 GB, free: 12.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.5135, allocations: 117.9 kB / 0.6246 GB, free: 12.33 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.5138, allocations: 191.8 kB / 0.6247 GB, free: 12.13 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.514, allocations: 146 kB / 0.6249 GB, free: 12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.514, allocations: 8 kB / 0.6249 GB, free: 12 MB / 426.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005822/0.5146, allocations: 372.6 kB / 0.6252 GB, free: 11.67 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.5146, allocations: 9.25 kB / 0.6252 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.684e-05/0.5147, allocations: 31.97 kB / 0.6253 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.5147, allocations: 4 kB / 0.6253 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.5149, allocations: 48.14 kB / 0.6253 GB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.5149, allocations: 11.92 kB / 0.6253 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.5152, allocations: 59.36 kB / 0.6254 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/0.5152, allocations: 19.98 kB / 0.6254 GB, free: 11.5 MB / 426.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.0001025/0.5153, allocations: 120.1 kB / 0.6255 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.025e-05/0.5154, allocations: 39.53 kB / 0.6256 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006351/0.5161, allocations: 406.8 kB / 0.626 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.5161, allocations: 0 / 0.626 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.5161, allocations: 7.953 kB / 0.626 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.5161, allocations: 7.922 kB / 0.626 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004742/0.5166, allocations: 373.2 kB / 0.6263 GB, free: 10.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-05/0.5166, allocations: 27.97 kB / 0.6263 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.5168, allocations: 39.97 kB / 0.6264 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.5168, allocations: 7.875 kB / 0.6264 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.5169, allocations: 11.12 kB / 0.6264 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.5169, allocations: 0 / 0.6264 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5169, allocations: 0 / 0.6264 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005416/0.5174, allocations: 0.5728 MB / 0.627 GB, free: 9.953 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.769e-05/0.5175, allocations: 120.6 kB / 0.6271 GB, free: 9.816 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.998e-05/0.5176, allocations: 3.953 kB / 0.6271 GB, free: 9.812 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.5178, allocations: 23.48 kB / 0.6271 GB, free: 9.793 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.989e-05/0.5179, allocations: 27.53 kB / 0.6271 GB, free: 9.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.518, allocations: 15.92 kB / 0.6271 GB, free: 9.754 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003208/0.5183, allocations: 352.5 kB / 0.6275 GB, free: 9.477 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5183, allocations: 0 / 0.6275 GB, free: 9.477 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005522/0.5188, allocations: 135 kB / 0.6276 GB, free: 9.352 MB / 426.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.001111/0.52, allocations: 1.366 MB / 0.6289 GB, free: 7.996 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005627/0.5205, allocations: 0.5041 MB / 0.6294 GB, free: 7.473 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.5205, allocations: 0 / 0.6294 GB, free: 7.473 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002994/0.5209, allocations: 371.9 kB / 0.6298 GB, free: 7.074 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004659/0.5213, allocations: 91.36 kB / 0.6299 GB, free: 7.008 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.5227, allocations: 0.715 MB / 0.6306 GB, free: 6.305 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.5231, allocations: 0.856 MB / 0.6314 GB, free: 5.434 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001597/0.5232, allocations: 71.22 kB / 0.6315 GB, free: 5.363 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.5234, allocations: 112 kB / 0.6316 GB, free: 5.328 MB / 426.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5234, allocations: 0 / 0.6316 GB, free: 5.328 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02598/0.5494, allocations: 11.55 MB / 0.6429 GB, free: 10.01 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002263/0.5496, allocations: 208.6 kB / 0.6431 GB, free: 9.777 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.052/2.602, allocations: 0 / 0.6431 GB, free: 9.777 MB / 442.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