Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.00117/0.00117, allocations: 99.73 kB / 16.99 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001479/0.001479, allocations: 198.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2384/0.2384, allocations: 45.92 MB / 344 MB, free: 12.11 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002696/0.0002697, allocations: 12 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1263, allocations: 63.46 MB / 481.5 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC): time 0.001755/0.1281, allocations: 1.369 MB / 482.9 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.1296, allocations: 1.084 MB / 484 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.622e-05/0.1297, allocations: 0 / 484 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002027/0.1299, allocations: 35.81 kB / 484 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002168/0.1301, allocations: 43.86 kB / 484.1 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003549/0.1305, allocations: 151.6 kB / 484.2 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000161/0.1306, allocations: 91.78 kB / 484.3 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.109e-05/0.1307, allocations: 17.39 kB / 484.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.808e-05/0.1308, allocations: 39.84 kB / 484.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.1309, allocations: 55.77 kB / 484.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.1309, allocations: 4 kB / 484.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003022/0.1312, allocations: 171.7 kB / 484.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.801e-05/0.1313, allocations: 43.88 kB / 484.6 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.852e-05/0.1313, allocations: 41.64 kB / 484.7 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.1316, allocations: 147.9 kB / 484.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.1316, allocations: 0 / 484.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1316, allocations: 4 kB / 484.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1316, allocations: 0 / 484.8 MB, free: 1.941 MB / 350.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.0006477/0.1323, allocations: 450.8 kB / 485.3 MB, free: 1.453 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.1323, allocations: 12.03 kB / 485.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.8e-05/0.1324, allocations: 54.42 kB / 485.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/0.134, allocations: 195.4 kB / 485.5 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.1343, allocations: 232.9 kB / 485.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.1344, allocations: 4 kB / 485.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.104e-05/0.1344, allocations: 15.94 kB / 485.8 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000653/0.1351, allocations: 355.6 kB / 486.1 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1351, allocations: 4 kB / 486.1 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/0.1351, allocations: 7.984 kB / 486.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-05/0.1352, allocations: 19.98 kB / 486.1 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007/0.1359, allocations: 384.1 kB / 486.5 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/0.1375, allocations: 0.789 MB / 487.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006145/0.1381, allocations: 354.1 kB / 487.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.069e-05/0.1382, allocations: 8 kB / 487.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.1382, allocations: 38.5 kB / 487.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.1382, allocations: 0 / 487.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009639/0.1392, allocations: 445.3 kB / 488.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.1392, allocations: 51.41 kB / 488.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.1395, allocations: 226.2 kB / 488.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.1395, allocations: 29.69 kB / 488.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.009e-05/0.1396, allocations: 120.2 kB / 488.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.033e-05/0.1397, allocations: 47.34 kB / 488.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.072e-05/0.1397, allocations: 4 kB / 488.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.1399, allocations: 322.8 kB / 488.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/0.1401, allocations: 135.8 kB / 489.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.1404, allocations: 155.2 kB / 489.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.1407, allocations: 147.5 kB / 489.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.1407, allocations: 112 / 489.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006516/0.1413, allocations: 369 kB / 489.7 MB, free: 12.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.1414, allocations: 8 kB / 489.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1414, allocations: 0 / 489.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1414, allocations: 0 / 489.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02389/0.1653, allocations: 1.381 MB / 491.1 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03789/0.2033, allocations: 11.64 MB / 0.491 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003827/0.2037, allocations: 35.73 kB / 0.491 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-05/0.2037, allocations: 16.03 kB / 0.491 GB, free: 14.93 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.0001828/0.2039, allocations: 140.4 kB / 0.4911 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.272e-05/0.204, allocations: 23.77 kB / 0.4912 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.069e-05/0.2041, allocations: 29.72 kB / 0.4912 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.2041, allocations: 7.984 kB / 0.4912 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.2041, allocations: 0 / 0.4912 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2041, allocations: 0 / 0.4912 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003515/0.2045, allocations: 281.4 kB / 0.4915 GB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.2045, allocations: 0 / 0.4915 GB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02372/0.2282, allocations: 1.377 MB / 0.4928 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/0.2282, allocations: 0 / 0.4928 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.189e-05/0.2283, allocations: 15.92 kB / 0.4928 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03737/0.2657, allocations: 11.63 MB / 0.5042 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.2657, allocations: 4.438 kB / 0.5042 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007019/0.2665, allocations: 426.9 kB / 0.5046 GB, free: 132 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.622e-05/0.2665, allocations: 100.8 kB / 0.5047 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/0.2666, allocations: 0 / 0.5047 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2726/0.5392, allocations: 13.38 kB / 0.5047 GB, free: 40.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003604/0.5396, allocations: 55.5 kB / 0.5048 GB, free: 40.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.391e-05/0.5397, allocations: 15.92 kB / 0.5048 GB, free: 40.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002413/0.54, allocations: 167 kB / 0.5049 GB, free: 40.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.54, allocations: 3.656 kB / 0.5049 GB, free: 40.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000863/0.5408, allocations: 120 kB / 0.505 GB, free: 40.78 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.001187/0.542, allocations: 0.9819 MB / 0.506 GB, free: 40.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.02052/0.5626, allocations: 1.343 MB / 0.5073 GB, free: 40.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.5626, allocations: 2.734 kB / 0.5073 GB, free: 40.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01977/0.5824, allocations: 1.205 MB / 0.5085 GB, free: 40.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.5828, allocations: 28.61 kB / 0.5085 GB, free: 40.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/0.5865, allocations: 1.919 MB / 0.5104 GB, free: 39.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.587, allocations: 0.7479 MB / 0.5111 GB, free: 38.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002206/0.5872, allocations: 50.83 kB / 0.5112 GB, free: 38.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.5873, allocations: 48.64 kB / 0.5112 GB, free: 38.5 MB / 382.1 MB Notification: Performance of SimCode: time 1.754e-06/0.5873, allocations: 0 / 0.5112 GB, free: 38.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.6116, allocations: 7.835 MB / 0.5189 GB, free: 36.77 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/0.6118, allocations: 250.8 kB / 0.5191 GB, free: 36.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.924/2.536, allocations: 0 / 0.5191 GB, free: 36.48 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat