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.001175/0.001175, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 225.6 MB / 234.8 MB, free: 3.238 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001002/0.001002, allocations: 104.1 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2383/0.2383, allocations: 45.16 MB / 383.8 MB, free: 268 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.81e-05/1.814e-05, allocations: 4 kB / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1227, allocations: 63.25 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4569/0.5797, allocations: 93.12 MB / 0.5954 GB, free: 9.098 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.58, allocations: 89.69 kB / 0.5955 GB, free: 9.047 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0286/0.6086, allocations: 10.24 MB / 0.6055 GB, free: 476 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6086, allocations: 0 / 0.6055 GB, free: 476 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.6086, allocations: 4 kB / 0.6055 GB, free: 472 kB / 394.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.0007163/0.6094, allocations: 0.5012 MB / 0.606 GB, free: 15.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.6094, allocations: 8.031 kB / 0.606 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.259e-05/0.6095, allocations: 27.72 kB / 0.606 GB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.6098, allocations: 245.3 kB / 0.6063 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.6098, allocations: 12 kB / 0.6063 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.714e-05/0.6099, allocations: 12 kB / 0.6063 GB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005224/0.6104, allocations: 342.1 kB / 0.6066 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000486/0.6109, allocations: 330 kB / 0.6069 GB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.6109, allocations: 0 / 0.6069 GB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.611, allocations: 0 / 0.6069 GB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.294e-05/0.611, allocations: 24.77 kB / 0.6069 GB, free: 15.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.6123, allocations: 0.7919 MB / 0.6077 GB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004485/0.6128, allocations: 309.4 kB / 0.608 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.6129, allocations: 102.8 kB / 0.6081 GB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.744e-05/0.613, allocations: 11.95 kB / 0.6081 GB, free: 13.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.613, allocations: 34.56 kB / 0.6082 GB, free: 13.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.293e-06/0.613, allocations: 4.844 kB / 0.6082 GB, free: 13.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.000478/0.6135, allocations: 256 kB / 0.6084 GB, free: 13.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.6136, allocations: 51.41 kB / 0.6084 GB, free: 13.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.6137, allocations: 151.8 kB / 0.6086 GB, free: 13.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.6138, allocations: 25.7 kB / 0.6086 GB, free: 13.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.6139, allocations: 168.9 kB / 0.6088 GB, free: 13.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.861e-05/0.6139, allocations: 66.16 kB / 0.6088 GB, free: 13.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.372e-05/0.614, allocations: 0 / 0.6088 GB, free: 13.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.6141, allocations: 325.5 kB / 0.6092 GB, free: 12.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.6143, allocations: 101.9 kB / 0.6093 GB, free: 12.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.6144, allocations: 147.8 kB / 0.6094 GB, free: 12.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.6146, allocations: 109.7 kB / 0.6095 GB, free: 12.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.6146, allocations: 4 kB / 0.6095 GB, free: 12.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004319/0.6151, allocations: 285.9 kB / 0.6098 GB, free: 12.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.6151, allocations: 11.95 kB / 0.6098 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.6151, allocations: 0 / 0.6098 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.6152, allocations: 4 kB / 0.6098 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006143/0.6158, allocations: 115.9 kB / 0.6099 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/0.6181, allocations: 3.725 MB / 0.6135 GB, free: 8.359 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.6183, allocations: 20.2 kB / 0.6136 GB, free: 8.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.6183, allocations: 11.06 kB / 0.6136 GB, free: 8.332 MB / 410.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 (25): * Single equations (assignments): 19 * 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.0001316/0.6184, allocations: 119.1 kB / 0.6137 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003987/0.6188, allocations: 254.7 kB / 0.6139 GB, free: 7.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.6189, allocations: 15.86 kB / 0.6139 GB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006048/0.6195, allocations: 330.8 kB / 0.6143 GB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.6195, allocations: 0 / 0.6143 GB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.6195, allocations: 7.953 kB / 0.6143 GB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.6195, allocations: 112 / 0.6143 GB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004056/0.62, allocations: 291.4 kB / 0.6145 GB, free: 7.375 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.62, allocations: 0 / 0.6145 GB, free: 7.375 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005977/0.6206, allocations: 111.8 kB / 0.6146 GB, free: 7.266 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.6206, allocations: 0 / 0.6146 GB, free: 7.266 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.6206, allocations: 7.984 kB / 0.6147 GB, free: 7.258 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002614/0.6232, allocations: 3.72 MB / 0.6183 GB, free: 3.449 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.218e-06/0.6233, allocations: 3.953 kB / 0.6183 GB, free: 3.445 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005104/0.6238, allocations: 357.2 kB / 0.6186 GB, free: 3.109 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.6239, allocations: 92.92 kB / 0.6187 GB, free: 3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/0.6239, allocations: 0 / 0.6187 GB, free: 3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.6241, allocations: 7.984 kB / 0.6187 GB, free: 2.992 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.569e-05/0.6242, allocations: 14.48 kB / 0.6187 GB, free: 2.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.6242, allocations: 11.98 kB / 0.6188 GB, free: 2.969 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001963/0.6245, allocations: 121.2 kB / 0.6189 GB, free: 2.863 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6245, allocations: 3.938 kB / 0.6189 GB, free: 2.859 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000594/0.6251, allocations: 79.69 kB / 0.6189 GB, free: 2.781 MB / 410.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 (19): * Single equations (assignments): 13 * 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.001227/0.6263, allocations: 0.9519 MB / 0.6199 GB, free: 1.832 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000854/0.6272, allocations: 286.5 kB / 0.6201 GB, free: 1.578 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6272, allocations: 4 kB / 0.6202 GB, free: 1.574 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000515/0.6277, allocations: 174.2 kB / 0.6203 GB, free: 1.422 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.628, allocations: 12.33 kB / 0.6203 GB, free: 1.414 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.6291, allocations: 494 kB / 0.6208 GB, free: 0.918 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/0.6296, allocations: 0.8085 MB / 0.6216 GB, free: 88 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001506/0.6297, allocations: 61.12 kB / 0.6216 GB, free: 24 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.6299, allocations: 75 kB / 0.6217 GB, free: 4 kB / 410.7 MB Notification: Performance of SimCode: time 3.5e-07/0.6299, allocations: 0 / 0.6217 GB, free: 4 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.6555, allocations: 5.256 MB / 0.6269 GB, free: 10.79 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002341/0.6558, allocations: 207.7 kB / 0.6271 GB, free: 10.52 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.87/2.526, allocations: 1.406 kB / 0.6271 GB, free: 10.52 MB / 426.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