Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007817/0.0007817, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009517/0.0009516, allocations: 174.4 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.4 MB / 222.8 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3296/0.3296, allocations: 43.54 MB / 314.6 MB, free: 8.75 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004858/0.0004859, allocations: 16 kB / 384 MB, free: 7.906 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1189, allocations: 58.85 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC): time 0.001885/0.1209, allocations: 1.376 MB / 444.3 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.1227, allocations: 1.162 MB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.568e-05/0.1229, allocations: 3.938 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.1231, allocations: 27.83 kB / 445.5 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002596/0.1234, allocations: 59.78 kB / 445.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006558/0.1241, allocations: 151.4 kB / 445.7 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002831/0.1244, allocations: 203.3 kB / 445.9 MB, free: 9.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.55e-05/0.1244, allocations: 21.64 kB / 445.9 MB, free: 9.926 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.1246, allocations: 59.73 kB / 446 MB, free: 9.867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.1247, allocations: 75.72 kB / 446 MB, free: 9.793 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.1247, allocations: 4 kB / 446 MB, free: 9.789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003701/0.1251, allocations: 159.7 kB / 446.2 MB, free: 9.633 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.377e-05/0.1252, allocations: 47.81 kB / 446.2 MB, free: 9.586 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.73e-05/0.1253, allocations: 49.64 kB / 446.3 MB, free: 9.531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.1255, allocations: 163.5 kB / 446.4 MB, free: 9.371 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1255, allocations: 0 / 446.4 MB, free: 9.371 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1255, allocations: 0 / 446.4 MB, free: 9.371 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1255, allocations: 0 / 446.4 MB, free: 9.371 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0005954/0.1261, allocations: 458.7 kB / 446.9 MB, free: 8.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1262, allocations: 16.02 kB / 446.9 MB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.551e-05/0.1262, allocations: 46.55 kB / 446.9 MB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/0.1278, allocations: 191.5 kB / 447.1 MB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.1281, allocations: 234.2 kB / 447.4 MB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.1281, allocations: 11.98 kB / 447.4 MB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.1281, allocations: 12 kB / 447.4 MB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005535/0.1287, allocations: 367.6 kB / 447.7 MB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1287, allocations: 0 / 447.7 MB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.1287, allocations: 4 kB / 447.8 MB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.859e-05/0.1288, allocations: 15.98 kB / 447.8 MB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006269/0.1294, allocations: 387.5 kB / 448.1 MB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.1308, allocations: 0.7775 MB / 448.9 MB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005881/0.1314, allocations: 358.2 kB / 449.3 MB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.1316, allocations: 124.7 kB / 449.4 MB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.1316, allocations: 7.938 kB / 449.4 MB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.1317, allocations: 38.55 kB / 449.4 MB, free: 6.188 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.1317, allocations: 4 kB / 449.4 MB, free: 6.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008716/0.1326, allocations: 441 kB / 449.9 MB, free: 5.746 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.1326, allocations: 55.41 kB / 449.9 MB, free: 5.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.1328, allocations: 222.3 kB / 450.1 MB, free: 5.453 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.1328, allocations: 29.69 kB / 450.2 MB, free: 5.418 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.026e-05/0.1329, allocations: 127.9 kB / 450.3 MB, free: 5.289 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.484e-05/0.133, allocations: 51.23 kB / 450.4 MB, free: 5.238 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.987e-05/0.133, allocations: 4 kB / 450.4 MB, free: 5.234 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1331, allocations: 322.8 kB / 450.7 MB, free: 4.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/0.1334, allocations: 131.8 kB / 450.8 MB, free: 4.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.1336, allocations: 155.2 kB / 450.9 MB, free: 4.617 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.1339, allocations: 147.8 kB / 451.1 MB, free: 4.473 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.1339, allocations: 4 kB / 451.1 MB, free: 4.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006431/0.1346, allocations: 353.2 kB / 451.4 MB, free: 4.117 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.1346, allocations: 12 kB / 451.5 MB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1346, allocations: 0 / 451.5 MB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1346, allocations: 3.953 kB / 451.5 MB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02007/0.1547, allocations: 1.385 MB / 452.8 MB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2054/0.3601, allocations: 11.31 MB / 464.2 MB, free: 39.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002937/0.3605, allocations: 24.72 kB / 464.2 MB, free: 39.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/0.3605, allocations: 22.8 kB / 464.2 MB, free: 39.83 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 initialization (16): * Single equations (assignments): 10 * 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.0001094/0.3606, allocations: 138.6 kB / 464.3 MB, free: 39.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/0.3607, allocations: 22.14 kB / 464.4 MB, free: 39.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.022e-05/0.3607, allocations: 31.67 kB / 464.4 MB, free: 39.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3608, allocations: 0.5625 kB / 464.4 MB, free: 39.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.3608, allocations: 3.375 kB / 464.4 MB, free: 39.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.3608, allocations: 0 / 464.4 MB, free: 39.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/0.361, allocations: 289.2 kB / 464.7 MB, free: 39.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.361, allocations: 0.5 kB / 464.7 MB, free: 39.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01959/0.3806, allocations: 1.379 MB / 466.1 MB, free: 39.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.784e-06/0.3807, allocations: 0 / 466.1 MB, free: 39.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.672e-05/0.3807, allocations: 18.22 kB / 466.1 MB, free: 39.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02859/0.4093, allocations: 11.32 MB / 477.4 MB, free: 31.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4094, allocations: 0 / 477.4 MB, free: 31.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005552/0.4099, allocations: 431.3 kB / 477.8 MB, free: 31.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.811e-05/0.41, allocations: 96.09 kB / 477.9 MB, free: 31.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.631e-05/0.41, allocations: 0 / 477.9 MB, free: 31.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.4103, allocations: 16.7 kB / 477.9 MB, free: 31.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.4104, allocations: 58.5 kB / 478 MB, free: 31.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.4105, allocations: 12.78 kB / 478 MB, free: 31.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001073/0.4106, allocations: 173.6 kB / 478.2 MB, free: 31.06 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4106, allocations: 0 / 478.2 MB, free: 31.06 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005884/0.4112, allocations: 123.1 kB / 478.3 MB, free: 31.05 MB / 382.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 (13): * Single equations (assignments): 7 * 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.0007049/0.4119, allocations: 0.9864 MB / 479.3 MB, free: 30.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01669/0.4286, allocations: 1.343 MB / 480.6 MB, free: 30.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.4286, allocations: 0 / 480.6 MB, free: 30.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01614/0.4448, allocations: 1.206 MB / 481.8 MB, free: 30.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.4452, allocations: 30.73 kB / 481.9 MB, free: 30.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.4473, allocations: 1.491 MB / 483.3 MB, free: 29.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001719/0.4475, allocations: 0.744 MB / 484.1 MB, free: 29.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001276/0.4477, allocations: 48.27 kB / 484.1 MB, free: 29.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.861e-05/0.4477, allocations: 49.31 kB / 484.2 MB, free: 29.11 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4478, allocations: 4 kB / 484.2 MB, free: 29.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03091/0.4787, allocations: 7.847 MB / 492 MB, free: 28.48 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001228/0.4788, allocations: 260.6 kB / 492.3 MB, free: 28.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.963/2.442, allocations: 0 / 492.3 MB, free: 28.14 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat